Swim lane updates

pull/1331/head
Kamran Ahmed 5 years ago
parent 0e95e2239b
commit 0f5201b8bc
  1. 6
      components/swim-lane/index.js
  2. 12
      components/swim-lane/style.scss
  3. 4
      pages/home/index.js
  4. 3
      pages/home/style.scss

@ -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 = {

@ -1,4 +1,9 @@
.lane-head { .lane-wrap {
padding: 50px 0;
border-top: 1px solid #eaeaea;
border-bottom: 1px solid #eaeaea;
.lane-head {
text-align: left; text-align: left;
margin: 0 0 40px 0; margin: 0 0 40px 0;
display: block; display: block;
@ -14,9 +19,9 @@
font-size: 18px; font-size: 18px;
margin-bottom: 0; margin-bottom: 0;
} }
} }
.swim-lane { .swim-lane {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
@ -55,4 +60,5 @@
margin-bottom: 0; margin-bottom: 0;
} }
} }
}
} }

@ -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;

@ -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;
} }
Loading…
Cancel
Save