feat(web): route and enable the Inventar nav entry
This commit is contained in:
@@ -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' },
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user