Swim lane updates

This commit is contained in:
Kamran Ahmed
2019-09-07 16:24:48 +04:00
parent 0e95e2239b
commit 0f5201b8bc
4 changed files with 77 additions and 74 deletions

View File

@ -1,7 +1,8 @@
import './style.scss'; import './style.scss';
const SwimLane = (props) => ( const SwimLane = (props) => (
<> <div className="lane-wrap bg-light">
<div className="container">
<div className="lane-head"> <div className="lane-head">
<h3>Featured Roadmaps</h3> <h3>Featured Roadmaps</h3>
<p>List of roadmaps mostly visited by the community. There are <a href="#">more roadmaps also</a>.</p> <p>List of roadmaps mostly visited by the community. There are <a href="#">more roadmaps also</a>.</p>
@ -20,7 +21,8 @@ const SwimLane = (props) => (
<p>Step by step guide to become an SRE or for any operations role</p> <p>Step by step guide to become an SRE or for any operations role</p>
</a> </a>
</div> </div>
</> </div>
</div>
); );
SwimLane.defaultProps = { SwimLane.defaultProps = {

View File

@ -1,3 +1,8 @@
.lane-wrap {
padding: 50px 0;
border-top: 1px solid #eaeaea;
border-bottom: 1px solid #eaeaea;
.lane-head { .lane-head {
text-align: left; text-align: left;
margin: 0 0 40px 0; margin: 0 0 40px 0;
@ -56,3 +61,4 @@
} }
} }
} }
}

View File

@ -7,12 +7,10 @@ export const Home = (props) => (
<div className='home-container'> <div className='home-container'>
<Header /> <Header />
<HeroSection /> <HeroSection />
<div className="swim-lanes bg-light"> <div className="swim-lanes">
<div className="container">
<SwimLane /> <SwimLane />
</div> </div>
</div> </div>
</div>
); );
export default Home; export default Home;

View File

@ -1,6 +1,3 @@
.swim-lanes { .swim-lanes {
border-top: 1px solid #eaeaea;
border-bottom: 1px solid #eaeaea;
padding: 50px 0;
margin-top: 25px; margin-top: 25px;
} }