1
0
mirror of https://github.com/kamranahmedse/developer-roadmap.git synced 2025-01-17 14:18:17 +01:00

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

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;

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

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>

17
pages/about/index.js Normal file
View File

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

0
pages/about/style.scss Normal file
View File

View File

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

BIN
static/kamran.jpeg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.1 KiB