Skip to content

Commit

Permalink
Add Github Link
Browse files Browse the repository at this point in the history
  • Loading branch information
gfmio committed Jun 12, 2018
1 parent addf760 commit 8c626f8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
4 changes: 2 additions & 2 deletions docs/assets/js/main.js

Large diffs are not rendered by default.

9 changes: 7 additions & 2 deletions src/app/components/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ export const Layout: React.StatelessComponent<ILayoutProps & React.HTMLAttribute
</Flex.Child>
<Flex.Child as="li">
<Flex.Container align="stretch">
<Flex.Child><Link to="/non-existent">Non existent</Link></Flex.Child>
<Flex.Child><Link to="/non-existent">Purposefully broken link</Link></Flex.Child>
</Flex.Container>
</Flex.Child>
<Flex.Child as="li">
<Flex.Container align="stretch">
<Flex.Child><a href="https://github.com/gfmio/github-pages-boilerplate" target="_blank">Github</a></Flex.Child>
</Flex.Container>
</Flex.Child>
</Flex.Container>
Expand All @@ -54,7 +59,7 @@ export const Layout: React.StatelessComponent<ILayoutProps & React.HTMLAttribute
<Flex.Child>
<Flex.Container align="start" justify="space-between">
<Flex.Child>
<Link to="/privacy-policy">Privacy Policy</Link> &middot; <Link to="/terms-of-use">Terms of Use</Link>
<a href="https://github.com/gfmio/github-pages-boilerplate" target="_blank">Github</a> &middot; <Link to="/privacy-policy">Privacy Policy</Link> &middot; <Link to="/terms-of-use">Terms of Use</Link>
</Flex.Child>
</Flex.Container>
</Flex.Child>
Expand Down
3 changes: 3 additions & 0 deletions src/app/pages/home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ export class HomePage extends React.Component {
return (
<Layout>
<h1>Home</h1>
<p>
Code is on <a href="https://github.com/gfmio/github-pages-boilerplate" target="_blank">Github</a>.
</p>
</Layout>
);
}
Expand Down

0 comments on commit 8c626f8

Please sign in to comment.