This commit is contained in:
Tom Moor
2017-10-22 17:16:57 -07:00
parent aceaf261d2
commit 802ce10f14
10 changed files with 146 additions and 149 deletions

View File

@@ -1,6 +1,7 @@
// @flow
import React from 'react';
import { Helmet } from 'react-helmet';
import Navigation from './Navigation';
type Props = {
children?: React$Element<*>,
@@ -19,6 +20,7 @@ export default function Layout({ children }: Props) {
{'{{CSS}}'}
</head>
<body>
<Navigation />
{children}
</body>
</html>

View File

@@ -0,0 +1,14 @@
// @flow
import React from 'react';
export default function Navigation() {
return (
<nav>
<a href="/">Atlas</a>
<ul>
<li><a href="/about">About</a></li>
<li><a href="/pricing">Pricing</a></li>
</ul>
</nav>
);
}