diff options
| author | Wes Bos <wesbos@gmail.com> | 2018-01-30 12:41:01 -0500 |
|---|---|---|
| committer | Wes Bos <wesbos@gmail.com> | 2018-01-30 12:41:01 -0500 |
| commit | cd0b07b3adb36fb5ec098f9e511ab45d774fee7b (patch) | |
| tree | a203e5010219ccea1acc6bbd2c0a4bcfa0a78615 /components/Nav.js | |
| parent | 0a1648bf47490b312169c531aeb51ef4725e8d2e (diff) | |
Move to Prisma Backend
Diffstat (limited to 'components/Nav.js')
| -rw-r--r-- | components/Nav.js | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/components/Nav.js b/components/Nav.js deleted file mode 100644 index d1f341d..0000000 --- a/components/Nav.js +++ /dev/null @@ -1,46 +0,0 @@ -import Link from 'next/link'; -import styled from 'styled-components'; - -const StyledUl = styled.ul` - margin: 0; - padding: 0; - display: flex; - li { - display: flex; - flex: 1; - } - a { - padding: 10px; - flex: 1; - text-decoration: none; - text-align: center; - background: rgba(0, 0, 0, 0.2); - color: white; - margin-right: 20px; - &:hover { - background: rgba(0, 0, 0, 0.3); - } - } -`; - -const Nav = () => ( - <StyledUl> - <Link prefetch href="/"> - <a>Home</a> - </Link> - <Link prefetch href="/signup"> - <a>Sign Up</a> - </Link> - <Link prefetch href="/add"> - <a>Add an Item</a> - </Link> - <Link prefetch href="/orders"> - <a>Orders</a> - </Link> - <Link prefetch href="/cart"> - <a>My Cart</a> - </Link> - </StyledUl> -); - -export default Nav; |
