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:
commit
ab95b0dfd5
2 changed files with 13 additions and 1 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue