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,
|
(module) => module.CombatPageComponent,
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
path: 'inventory',
|
||||||
|
loadComponent: () =>
|
||||||
|
import('./features/inventory/inventory-page.component').then(
|
||||||
|
(module) => module.InventoryPageComponent,
|
||||||
|
),
|
||||||
|
},
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
{ path: '**', redirectTo: 'world' },
|
{ path: '**', redirectTo: 'world' },
|
||||||
|
|||||||
@@ -39,9 +39,12 @@
|
|||||||
<button
|
<button
|
||||||
class="side-navigation__item"
|
class="side-navigation__item"
|
||||||
type="button"
|
type="button"
|
||||||
|
routerLink="/inventory"
|
||||||
|
routerLinkActive="side-navigation__item--active"
|
||||||
|
[routerLinkActiveOptions]="{ exact: true }"
|
||||||
|
ariaCurrentWhenActive="page"
|
||||||
data-navigation="inventory"
|
data-navigation="inventory"
|
||||||
disabled
|
aria-label="Inventar"
|
||||||
aria-label="Inventar ist noch nicht verfügbar"
|
|
||||||
>
|
>
|
||||||
<img src="/images/hud/runtime/InventoryIcon-128.png" alt="" />
|
<img src="/images/hud/runtime/InventoryIcon-128.png" alt="" />
|
||||||
<span>Inventar</span>
|
<span>Inventar</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user