Add sponsors page

This commit is contained in:
Kamran Ahmed
2020-01-20 10:58:39 +04:00
parent a26945288b
commit 880475f6de
5 changed files with 81 additions and 3 deletions

View File

@@ -0,0 +1,13 @@
import { HeaderWrap, Subtitle, Title, Logo } from './style';
const PageLogoHeader = ({ title, subtitle, children, }) => (
<HeaderWrap>
<Logo src='/brand.png' alt='' />
<Title>{ title }</Title>
<Subtitle dangerouslySetInnerHTML={{ __html: subtitle }} />
{ children }
</HeaderWrap>
);
export default PageLogoHeader;

View File

@@ -0,0 +1,30 @@
import styled from 'styled-components';
export const HeaderWrap = styled.div`
text-align: center;
padding: 45px 30px;
`;
export const Title = styled.h1`
font-size: 40px;
font-weight: 700;
margin-bottom: 12px;
`;
export const Subtitle = styled.p`
font-size: 16px;
color: #444;
margin-bottom: 0;
a {
color: inherit;
font-weight: 700;
}
`;
export const Logo = styled.img`
width: 75px;
height: 75px;
margin-bottom: 26px;
`;

View File

@@ -11,7 +11,7 @@ const SiteNav = () => (
<div className='nav-links'>
<a href='/roadmaps'>Roadmaps</a>
<a href='/guides'>Guides</a>
<a href='/jobs'>Jobs</a>
<a href='/sponsors'>Sponsors</a>
<a href='/about' className='d-none d-md-inline-block'>FAQ</a>
<a href='/signup' className='signup'>Subscribe</a>
</div>