Add about page

pull/1331/head
Kamran Ahmed 5 years ago
parent ea2a8007ab
commit 2d0307a338
  1. 14
      components/about-header/index.js
  2. 35
      components/about-header/style.scss
  3. 2
      components/footer/index.js
  4. 17
      pages/about/index.js
  5. 0
      pages/about/style.scss
  6. 4
      pages/global.scss
  7. BIN
      static/kamran.jpeg
  8. BIN
      static/stars.webp

@ -0,0 +1,14 @@
import './style.scss';
const AboutHeader = () => (
<div className='about-header'>
<div className="container">
<h2>Hello, I'm Kamran Ahmed.</h2>
<p>I created <span className='flow-black'>roadmap.sh</span> to help people grow their careers.</p>
<img className='author-img' src="/static/kamran.jpeg" alt="" />
</div>
</div>
);
export default AboutHeader;

@ -0,0 +1,35 @@
.about-header {
text-align: center;
padding: 70px 20px;
margin: 0 auto;
.container {
max-width: 800px;
}
h2 {
font-weight: 700;
}
p {
font-size: 20px;
color: #333;
font-weight: 400;
margin-bottom: 0;
line-height: 35px;
}
a {
font-weight: 700;
color: #000;
}
.author-img {
height: 145px;
border-radius: 100%;
margin-top: 25px;
margin-bottom: -125px;
border: 10px solid white;
box-shadow: 0 1px 0 0 #dee2e6;
}
}

@ -16,7 +16,7 @@ const Footer = () => (
</div>
<p className='meta-links'>
&copy; roadmap.sh &middot;
&nbsp; <a href="#">FAQ</a> &middot;
&nbsp; <a href="/about">FAQ</a> &middot;
&nbsp; <a href="/terms">Terms</a> &middot;
&nbsp; <a href="/privacy">Privacy</a>
</p>

@ -0,0 +1,17 @@
import AboutHeader from '../../components/about-header';
import Footer from '../../components/footer';
import Header from '../../components/header';
import './style.scss';
const About = () => (
<div className='home-container'>
<Header />
<AboutHeader />
<div className="p-5 border-top border-bottom bg-light">
</div>
<Footer />
</div>
);
export default About;

@ -6,6 +6,10 @@
border-bottom: 1px solid #eaeaea;
}
.bg-light {
background-color: #fafafa !important;
}
.dark-link {
font-weight: 500;
color: #000000;

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB

Loading…
Cancel
Save