Merge pull request 'Add registration in the nav bar (fix #111)' (#112) from feature/register-option-navbar into main

Reviewed-on: #112
This commit is contained in:
cami 2021-07-06 00:42:21 +00:00
commit ab95b0dfd5
2 changed files with 13 additions and 1 deletions

View file

@ -31,7 +31,7 @@
.nav-menu {
display: grid;
grid-template-columns: repeat(4, auto);
grid-template-columns: repeat(5, auto);
grid-gap: 10px;
list-style: none;
text-align: center;

View file

@ -68,6 +68,7 @@ function Navbar() {
</Link>
</li>
) : (
<>
<li className="nav-item">
<Link
to="/login"
@ -77,6 +78,17 @@ function Navbar() {
Anmelden
</Link>
</li>
<li className="nav-item">
<Link
to="/register"
className="nav-links"
onClick={closeMobileMenu}
>
Registrieren
</Link>
</li>
</>
)}
<li>
<Link