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';
const SwimLane = (props) => (
<>
<div className="lane-wrap bg-light">
<div className="container">
<div className="lane-head">
<h3>Featured Roadmaps</h3>
<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>
</a>
</div>
</>
</div>
</div>
);
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 {
text-align: left;
margin: 0 0 40px 0;
@ -56,3 +61,4 @@
}
}
}
}

View File

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

View File

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