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

No need to use passHref in Layout

parent 29919976
......@@ -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="/" passHref>
<Link href="/">
<a>
<img
id="logo-container"
......@@ -18,23 +18,29 @@ export const Layout: FC = ({ children }) => {
</Link>
<ul className="right hide-on-med-and-down">
<li>
<Link href="/" passHref>
<Link href="/">
<a>Home</a>
</Link>
</li>
<li>
<Link href="/project" passHref>
<Link href="/project">
<a>Project</a>
</Link>
</li>
<li>
<a href="#features">Features</a>
<Link href="/#features">
<a>Features</a>
</Link>
</li>
<li>
<a href="#products">Products</a>
<Link href="/#products">
<a>Products</a>
</Link>
</li>
<li>
<a href="#resources">Resources</a>
<Link href="/#resources">
<a>Resources</a>
</Link>
</li>
<li>
<a target="_blank" rel="noreferrer" href="https://wiki.ronindojo.io">
......@@ -44,31 +50,37 @@ export const Layout: FC = ({ children }) => {
</ul>
<ul id="nav-mobile" className="sidenav grey darken-3">
<li>
<Link href="/" passHref>
<Link href="/">
<a className="white-text">Home</a>
</Link>
</li>
<li>
<Link href="/project" passHref>
<Link href="/project">
<a className="white-text">
Project
</a>
</Link>
</li>
<li>
<a className="white-text" href="#features">
Features
</a>
<Link href="/#features">
<a className="white-text">
Features
</a>
</Link>
</li>
<li>
<a className="white-text" href="#products">
Products
</a>
<Link href="/#products">
<a className="white-text">
Products
</a>
</Link>
</li>
<li>
<a className="white-text" href="#resources">
Resources
</a>
<Link href="/#resources">
<a className="white-text">
Resources
</a>
</Link>
</li>
<li>
<a className="white-text" target="_blank" rel="noreferrer" href="https://wiki.ronindojo.io">
......@@ -104,12 +116,12 @@ export const Layout: FC = ({ children }) => {
</a>
</li>
<li>
<Link href="/pgp" passHref>
<Link href="/pgp">
<a className="red-text text-darken-2">PGP Keys</a>
</Link>
</li>
<li>
<Link href="/project" passHref>
<Link href="/project">
<a className="red-text text-darken-2">
Project
</a>
......@@ -172,8 +184,8 @@ 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" passHref>
Founded 2019 @ The Local Talent Bar, America - &copy; {new Date().getFullYear()} Ronin Dev Group -{" "}
<Link href="/canary">
<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