Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Mar 9, 2021. It is now read-only.

Commit 09732eb

Browse files
committed
Using NextJS link
1 parent 4b522a6 commit 09732eb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

components/header.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ export default props => {
7373
<div className="header__container">
7474
<nav>
7575
<div className="nav__logo">
76-
<a href="/">
76+
<Link href="/">
7777
<img src="/static/favicons/android-chrome-192x192.png" alt="" />
78-
</a>
78+
</Link>
7979
</div>
8080
<input id="menu" type="checkbox" />
8181
<label htmlFor="menu" className="mobile__menu">
@@ -141,6 +141,7 @@ export default props => {
141141
width: 50px;
142142
height: 50px;
143143
margin-right: 5px;
144+
cursor: pointer;
144145
}
145146
.nav__links {
146147
margin: 0;

0 commit comments

Comments
 (0)