Skip to content

Commit

Permalink
Swap links between header & footer
Browse files Browse the repository at this point in the history
  • Loading branch information
gfmio committed Jul 9, 2018
1 parent 406b78c commit deb22aa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/app/components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const Footer: React.StatelessComponent<IAsComponentProps & React.HTMLAttr
<Flex.Child>
<SeparatorList separator=" &middot; ">
<Link to="https://github.com/gfmio/github-pages-boilerplate">Github</Link>
<Link to="/some-page">Some page</Link>
<Link to="/non-existent">Purposefully broken link</Link>
<Link to="/another-page">Another page</Link>
</SeparatorList>
</Flex.Child>
Expand Down
12 changes: 9 additions & 3 deletions src/app/components/header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,23 @@ export const Header: React.StatelessComponent<IAsComponentProps & React.HTMLAttr
<Flex.Container as="ul" align="stretch" justify="flex-end" style={{ listStyle: "none", height: "100%" }} className="separate-row-medium">
<Flex.Child as="li">
<Flex.Container align="stretch">
<Flex.Child><Link to="/">Home</Link></Flex.Child>
<Flex.Child>
<Link to="/">Home</Link>
</Flex.Child>
</Flex.Container>
</Flex.Child>
<Flex.Child as="li">
<Flex.Container align="stretch">
<Flex.Child><Link to="/non-existent">Purposefully broken link</Link></Flex.Child>
<Flex.Child>
<Link to="/some-page">Some page</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.Child>
<Link to="https://github.com/gfmio/github-pages-boilerplate">Github</Link>
</Flex.Child>
</Flex.Container>
</Flex.Child>
</Flex.Container>
Expand Down

0 comments on commit deb22aa

Please sign in to comment.