summaryrefslogtreecommitdiffstats
path: root/components/Nav.js
diff options
context:
space:
mode:
Diffstat (limited to 'components/Nav.js')
-rw-r--r--components/Nav.js46
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;