Skip to content

Commit

Permalink
fix source links so they appear whether or not user is logged in
Browse files Browse the repository at this point in the history
  • Loading branch information
JHurdle91 committed Dec 17, 2021
1 parent e112c2a commit ddd8737
Showing 1 changed file with 18 additions and 17 deletions.
35 changes: 18 additions & 17 deletions src/components/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,30 +57,31 @@ const Navbar = () => {
Log In
</Link>
</li>

<li className="nav-item">
<Link to={"/register"} className="nav-link">
Sign Up
</Link>
</li>
<li className="nav-item">
<a
href="https://github.com/JHurdle91/blog-reader"
className="nav-link"
>
Frontend Source
</a>
</li>
<li className="nav-item">
<a
href="https://github.com/JHurdle91/blog-api"
className="nav-link"
>
Backend Source
</a>
</li>
</div>
)}
<div className="navbar-nav mr-auto">
<li className="nav-item">
<a
href="https://github.com/JHurdle91/blog-reader"
className="nav-link"
>
Frontend Source
</a>
</li>
<li className="nav-item">
<a
href="https://github.com/JHurdle91/blog-api"
className="nav-link"
>
Backend Source
</a>
</li>
</div>
</nav>

<div className="container mt-3"></div>
Expand Down

0 comments on commit ddd8737

Please sign in to comment.