Browse Source

Merge pull request #2 from YerinAlexey/master

Fix header link not working without JS
restructure
Garrit Franke 3 years ago committed by GitHub
parent
commit
975074f9d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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