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.

Logo now redirects to home page - #78 #80

Merged
merged 6 commits into from
Nov 6, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Logo now redirects to home page - #78
  • Loading branch information
hur committed Nov 6, 2017
commit 4b522a61018d14b6d02a4449e778f228e556ba2d
4 changes: 3 additions & 1 deletion components/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ export default props => {
<div className="header__container">
<nav>
<div className="nav__logo">
<img src="/static/favicons/android-chrome-192x192.png" alt="" />
<a href="/">
Copy link
Contributor

@vinaypuppal vinaypuppal Nov 6, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use nextjs Link component for this instead of regular anchor tag.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay, will work on that.

<img src="/static/favicons/android-chrome-192x192.png" alt="" />
</a>
</div>
<input id="menu" type="checkbox" />
<label htmlFor="menu" className="mobile__menu">
Expand Down