NavBar Fix

This commit is contained in:
MET18937 2023-02-20 17:32:07 +01:00 committed by FUH22860
parent 4d73dae8bb
commit a8d0225f92
2 changed files with 3 additions and 16 deletions

View File

@ -4,22 +4,7 @@
<NavMenu /> <NavMenu />
<main class="container"> <main class="container">
@* <div class="top-row px-4">
<a href="./Allergene" target="_blank" class="link-dark">Allergene</a>
<a href="./Speisekarte" target="_blank" class="link-dark">Speisekarte</a>
<a href="./YummyPunkte" target="_blank" class="link-dark">Yummy-Punkte</a>
<a href="./Warenkorb" target="_blank" class="link-dark">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-cart3" viewBox="0 0 16 16">
<path d="M0 1.5A.5.5 0 0 1 .5 1H2a.5.5 0 0 1 .485.379L2.89 3H14.5a.5.5 0 0 1 .49.598l-1 5a.5.5 0 0 1-.465.401l-9.397.472L4.415 11H13a.5.5 0 0 1 0 1H4a.5.5 0 0 1-.491-.408L2.01 3.607 1.61 2H.5a.5.5 0 0 1-.5-.5zM3.102 4l.84 4.479 9.144-.459L13.89 4H3.102zM5 12a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm7 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4zm-7 1a1 1 0 1 1 0 2 1 1 0 0 1 0-2zm7 0a1 1 0 1 1 0 2 1 1 0 0 1 0-2z" />
</svg>
</a>
<a href="./Profile" target="_blank" class="link-dark">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" fill="currentColor" class="bi bi-person" viewBox="0 0 16 16">
<path d="M8 8a3 3 0 1 0 0-6 3 3 0 0 0 0 6Zm2-3a2 2 0 1 1-4 0 2 2 0 0 1 4 0Zm4 8c0 1-1 1-1 1H3s-1 0-1-1 1-4 6-4 6 3 6 4Zm-1-.004c-.001-.246-.154-.986-.832-1.664C11.516 10.68 10.289 10 8 10c-2.29 0-3.516.68-4.168 1.332-.678.678-.83 1.418-.832 1.664h10Z" />
</svg>
</a>
</div>*@
<article class="content px-4"> <article class="content px-4">
@Body @Body
</article> </article>

View File

@ -12,7 +12,9 @@
<div class="collapse navbar-collapse justify-content-end @NavBarCssClass" id="navbarCollapse" @onclick="ToggleNavMenu"> <div class="collapse navbar-collapse justify-content-end @NavBarCssClass" id="navbarCollapse" @onclick="ToggleNavMenu">
<ul class="navbar-nav"> <ul class="navbar-nav">
<li class="nav-item"> <li class="nav-item">
<NavLink class="nav-link" href="allergene" Match="NavLinkMatch.All"> </li>
<li class="nav-item">
<NavLink class="nav-link" href="allergene">
Allergene Allergene
</NavLink> </NavLink>
</li> </li>