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:
parent
ea2a8007ab
commit
2d0307a338
14
components/about-header/index.js
Normal file
14
components/about-header/index.js
Normal 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
components/about-header/style.scss
Normal file
35
components/about-header/style.scss
Normal 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;
|
||||
}
|
||||
}
|
@ -16,7 +16,7 @@ const Footer = () => (
|
||||
</div>
|
||||
<p className='meta-links'>
|
||||
© roadmap.sh ·
|
||||
<a href="#">FAQ</a> ·
|
||||
<a href="/about">FAQ</a> ·
|
||||
<a href="/terms">Terms</a> ·
|
||||
<a href="/privacy">Privacy</a>
|
||||
</p>
|
||||
|
17
pages/about/index.js
Normal file
17
pages/about/index.js
Normal 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
0
pages/about/style.scss
Normal 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
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 |
Loading…
x
Reference in New Issue
Block a user