Move footer to only landing page

Reviewed By: danielbuechele

Differential Revision: D6968277

fbshipit-source-id: ec01d6e0de6a76ab9235378a1c1a29dcf7903ae3
This commit is contained in:
Emil Sjölander
2018-02-13 03:50:35 -08:00
committed by Facebook Github Bot
parent af45863f8e
commit c3de8016c0
5 changed files with 28 additions and 42 deletions

View File

@@ -20,6 +20,7 @@ import './index.css';
import ReactNativeLogo from './logos/reactnative.png';
import LithoLogo from './logos/litho.png';
import ComponentKitLogo from './logos/componentkit.png';
import Link from 'gatsby-link';
const HeroSection = () => (
<Padded>
@@ -126,6 +127,14 @@ const AboutSectionTwo = () => (
</Padded>
);
const Footer = () => (
<footer className="Footer">
<Link to="/docs">Docs</Link>
<Link to="/playground">Playground</Link>
<a href="https://github.com/facebook/yoga">GitHub</a>
</footer>
);
export default () => (
<Page className="landing-page">
<HeroSection/>
@@ -133,5 +142,6 @@ export default () => (
<AboutSectionOne/>
<hr/>
<AboutSectionTwo/>
<Footer/>
</Page>
);