Update wip website

This commit is contained in:
MoyuScript
2017-12-10 22:28:34 +08:00
parent d9ced213ca
commit f2daca5ebb
13 changed files with 584 additions and 145 deletions

View File

@@ -0,0 +1,20 @@
import React from 'react';
export default () =>
<footer
css={{
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>;

View File

@@ -28,7 +28,7 @@ const navStyle = {
};
const links = [
{href: '/about', text: 'About'},
{href: '/documentation', text: 'About'},
{href: '/getting-started', text: 'Getting started'},
{href: '/configuration', text: 'Configuration'},
{href: '/features', text: 'Features'},
@@ -38,9 +38,9 @@ const links = [
export default () =>
<div css={navStyle}>
<div css={{background: '#558b2f'}}>
<img src={logo} css={{margin: 0, padding: '24px 30px 24px'}} />
</div>
<Link to="/" css={{background: '#558b2f', display: 'block', padding: '24px 30px 24px'}}>
<img src={logo} css={{margin: 0}} />
</Link>
<ul
style={{
listStyle: 'none',