parent
ea2a8007ab
commit
2d0307a338
8 changed files with 71 additions and 1 deletions
@ -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; |
||||
} |
||||
} |
@ -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; |
After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 8.1 KiB |
Loading…
Reference in new issue