Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save treyhuffine/8c11c8b0507116ed9edcd703a97b3f7e to your computer and use it in GitHub Desktop.
Save treyhuffine/8c11c8b0507116ed9edcd703a97b3f7e to your computer and use it in GitHub Desktop.
import styled from 'styled-components';
import { Link } from 'react-router-dom';
import Button from 'carbon-components-react/lib/components/Button';
export const Container = styled.div`
display: none;
@media (max-width: 640px) {
display: block;
}
`;
export const Spacer = styled.div`
height: 48px;
`;
export const NavWrapper = styled.div`
display: flex;
justify-content: center;
position: fixed;
width: 100vw;
top: 0;
left: 0;
z-index: 1;
`;
export const NavLink = styled(Link)`
width: 25%;
`;
export const NavButton = styled(Button)`
width: 100%;
justify-content: center;
`;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment