burgermenu
E. Almqvist 2 years ago
parent 5b92f7adba
commit 05023bbcb5
  1. 1
      components/burgermenu.tsx
  2. 6
      components/nav.tsx

@ -18,6 +18,7 @@ const BurgerContainer = styled.div<{open: boolean}>`
height: 1.8rem; height: 1.8rem;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
margin-left: auto;
div { div {
transition: .2s; transition: .2s;

@ -15,6 +15,12 @@ const NavCont = styled.nav`
a:hover { a:hover {
opacity: .4; opacity: .4;
} }
@media screen and (max-width: 960px) {
display: none;
position: absolute;
top: 0;
}
` `
const Nav = () => { const Nav = () => {

Loading…
Cancel
Save