File tree Expand file tree Collapse file tree 4 files changed +23
-10
lines changed
Expand file tree Collapse file tree 4 files changed +23
-10
lines changed Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ const ContactFormContainer = styled.div`
99
1010const InputField = styled . input `
1111 background: none;
12+ outline: none;
1213 border: none;
1314 border-bottom: 2px solid ${ theme . colors . lightgray } ;
1415 margin-bottom: 1.5rem;
@@ -34,6 +35,7 @@ const SendButton = styled.button`
3435
3536const InputTextArea = styled . textarea `
3637 background: none;
38+ outline: none;
3739 border: none;
3840 border-bottom: 2px solid ${ theme . colors . white } ;
3941 color: white;
Original file line number Diff line number Diff line change 11/* eslint-disable jsx-a11y/anchor-is-valid, no-confusing-arrow */
22
33import React from 'react' ;
4+ import Link from 'next/link' ;
45import NavbarComponents from './NavbarComponents' ;
56
67const {
@@ -39,7 +40,11 @@ class Navbar extends React.Component {
3940 return (
4041 < NavbarContainer >
4142 < InnerNavbarContainer >
42- < MobileNavLogo src = "/static/img/logo-min.svg" />
43+ < Link prefetch href = "/" >
44+ < a >
45+ < MobileNavLogo src = "/static/img/logo-min.svg" />
46+ </ a >
47+ </ Link >
4348 < BlackOverlay
4449 menuIsOpen = { menuIsOpen }
4550 onClick = { this . closeMenu }
@@ -52,8 +57,14 @@ class Navbar extends React.Component {
5257 />
5358 </ MenuButton >
5459 < NavbarContent menuIsOpen = { menuIsOpen } >
55- { /* TODO: Link Logo to homepage */ }
56- < Logo src = "/static/img/logo.svg" alt = "Bytecode logo" />
60+ < Link prefetch href = "/" >
61+ < a >
62+ < Logo
63+ src = "/static/img/logo.svg"
64+ alt = "Bytecode logo"
65+ />
66+ </ a >
67+ </ Link >
5768 < NavbarItems >
5869 < CloseMenuButton href = "#" onClick = { this . closeMenu } >
5970 < img
Original file line number Diff line number Diff line change @@ -23,8 +23,11 @@ const NavbarContainer = styled.nav`
2323 right: 0;
2424 background: ${ transparentize ( 0.3 , theme . colors . black ) } ;
2525 }
26- @media (min-width: ${ theme . breakpointMobileMenu } ) {
27- margin: 0px 13.5rem;
26+ @media (min-width: ${ theme . breakpoints [ 2 ] } px) {
27+ margin: 0 2rem;
28+ }
29+ @media (min-width: ${ theme . breakpoints [ 3 ] } px) {
30+ margin: 0 8.5rem;
2831 }
2932` ;
3033
@@ -110,10 +113,7 @@ const NavbarItem = styled(NavbarItemBase)`
110113` ;
111114
112115const Logo = styled . img `
113- height: 55%;
114- margin-left: -4rem;
115- max-height: 6rem;
116- width: auto;
116+ width: 60%;
117117 @media (max-width: ${ theme . breakpointMobileMenu } ) {
118118 display: none;
119119 }
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ const HeaderImage = styled.img`
4545 right: -10rem;
4646 top: -75rem;
4747 overflow: hidden;
48- width: 100%
48+ width: 100%;
4949 height: 100%;
5050` ;
5151
You can’t perform that action at this time.
0 commit comments