Browse Source

fix: header link works without JS

restructure
Alexey Yerin 3 years ago
parent
commit
0956da1598
  1. 4
      components/Header.js

4
components/Header.js

@ -22,7 +22,9 @@ export default function Header(props) {
<header className="header">
<nav className="nav" role="navigation" aria-label="main navigation">
<Link href="/">
<h1>{props.siteTitle}</h1>
<a>
<h1>{props.siteTitle}</h1>
</a>
</Link>
{windowWidth >= 768 && <Profile></Profile>}
</nav>

Loading…
Cancel
Save