feat(web): route and enable the Inventar nav entry

This commit is contained in:
Bastian Wagner
2026-08-20 17:58:32 +02:00
parent fdd8ae4e41
commit 724443de1e
2 changed files with 12 additions and 2 deletions

View File

@@ -28,6 +28,13 @@ export const routes: Routes = [
(module) => module.CombatPageComponent,
),
},
{
path: 'inventory',
loadComponent: () =>
import('./features/inventory/inventory-page.component').then(
(module) => module.InventoryPageComponent,
),
},
],
},
{ path: '**', redirectTo: 'world' },

View File

@@ -39,9 +39,12 @@
<button
class="side-navigation__item"
type="button"
routerLink="/inventory"
routerLinkActive="side-navigation__item--active"
[routerLinkActiveOptions]="{ exact: true }"
ariaCurrentWhenActive="page"
data-navigation="inventory"
disabled
aria-label="Inventar ist noch nicht verfügbar"
aria-label="Inventar"
>
<img src="/images/hud/runtime/InventoryIcon-128.png" alt="" />
<span>Inventar</span>