Add about page

This commit is contained in:
Kamran Ahmed
2019-09-15 23:45:25 +04:00
parent ea2a8007ab
commit 2d0307a338
8 changed files with 71 additions and 1 deletions
+14
View File
@@ -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;
+35
View File
@@ -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;
}
}
+1 -1
View File
@@ -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>