Update wip website

This commit is contained in:
Niklas von Hertzen
2017-12-10 22:28:34 +08:00
parent d3c640088c
commit 2237e8e230
13 changed files with 584 additions and 145 deletions

View File

@ -16,6 +16,17 @@ h4 {
margin: 1.14rem 0 .912rem 0;
}
h5 {
font-size: 1.28rem;
line-height: 110%;
margin: 1.14rem 0 .912rem 0;
}
h6 {
line-height: 110%;
margin: 1.14rem 0 .912rem 0;
}
a {
color: #7cb342;
text-decoration: none;

View File

@ -1,33 +1,13 @@
import React from 'react';
import PropTypes from 'prop-types';
import Helmet from 'react-helmet';
import Navigation from '../components/navigation';
require('prismjs/themes/prism-solarizedlight.css');
import './index.css';
const TemplateWrapper = ({children}) =>
<div>
<Helmet title="html2canvas" />
<Navigation />
<Helmet title="html2canvas - Screenshots with JavaScript" />
{children()}
<footer
css={{
marginLeft: '300px',
backgroundColor: '#558b2f',
color: 'rgba(255,255,255,0.8)',
fontWeight: 300,
minHeight: '50px',
lineHeight: '50px',
padding: '10px 0px'
}}
>
<div css={{margin: '0 auto', width: '85%'}}>
Created by{' '}
<a href="https://hertzen.com" css={{color: '#fff', fontWeight: 'bold'}}>
Niklas von Hertzen
</a>. Licensed under the MIT License.
</div>
</footer>
</div>;
TemplateWrapper.propTypes = {