Unverified Commit 4208d15f authored by Pavel Ševčík's avatar Pavel Ševčík
Browse files

Pass href from every Link component

parent 2072cb60
......@@ -6,7 +6,7 @@ export const Layout: FC = ({ children }) => {
<Fragment>
<nav id="home" className="grey darken-4" role="navigation">
<div className="nav-wrapper container">
<Link href="/">
<Link href="/" passHref>
<a>
<img
id="logo-container"
......@@ -18,12 +18,12 @@ export const Layout: FC = ({ children }) => {
</Link>
<ul className="right hide-on-med-and-down">
<li>
<Link href="/">
<Link href="/" passHref>
<a>Home</a>
</Link>
</li>
<li>
<Link href="/project">
<Link href="/project" passHref>
<a>Project</a>
</Link>
</li>
......@@ -44,12 +44,12 @@ export const Layout: FC = ({ children }) => {
</ul>
<ul id="nav-mobile" className="sidenav grey darken-3">
<li>
<Link href="/">
<Link href="/" passHref>
<a className="white-text">Home</a>
</Link>
</li>
<li>
<Link href="/project">
<Link href="/project" passHref>
<a className="white-text">
Project
</a>
......@@ -104,12 +104,12 @@ export const Layout: FC = ({ children }) => {
</a>
</li>
<li>
<Link href="/pgp">
<Link href="/pgp" passHref>
<a className="red-text text-darken-2">PGP Keys</a>
</Link>
</li>
<li>
<Link href="/project">
<Link href="/project" passHref>
<a className="red-text text-darken-2">
Project
</a>
......@@ -173,7 +173,7 @@ export const Layout: FC = ({ children }) => {
<div className="footer-copyright grey darken-4">
<div className="container">
Founded 2019 @ The Local Talent Bar, America - © {new Date().getFullYear()} Ronin Dev Group -{" "}
<Link href="/canary">
<Link href="/canary" passHref>
<a className="red-text text-darken-2">Warrant Canary</a>
</Link>
</div>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment