feat: add hunt page, combat placeholder, and Jagd navigation

Wires up Slice 0.2 end-to-end: HuntPageComponent renders the
hunting-unavailable/ready/loading/encounters-found states off
HuntingStore and WorldStore, Angreifen hands the HuntEncounter id to a
new inert CombatPlaceholderPageComponent via /combat/new, the Jagd nav
entry is enabled with router-driven active state (matching Karte's),
and the context panel now lists possible encounters for hunting-enabled
locations.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Bastian Wagner
2026-08-19 14:06:57 +02:00
parent 784bd3ce3a
commit 4e684dc45e
11 changed files with 664 additions and 24 deletions

View File

@@ -1,10 +1,12 @@
<nav class="side-navigation" aria-label="Spielnavigation">
<button
class="side-navigation__item side-navigation__item--active"
class="side-navigation__item"
type="button"
routerLink="/world"
routerLinkActive="side-navigation__item--active"
[routerLinkActiveOptions]="{ exact: true }"
ariaCurrentWhenActive="page"
data-navigation="world"
aria-current="page"
aria-label="Karte"
>
<img src="/images/hud/runtime/MapsIcon-128.png" alt="" />
@@ -14,9 +16,12 @@
<button
class="side-navigation__item"
type="button"
routerLink="/hunt"
routerLinkActive="side-navigation__item--active"
[routerLinkActiveOptions]="{ exact: true }"
ariaCurrentWhenActive="page"
data-navigation="hunt"
disabled
aria-label="Jagd ist noch nicht verfügbar"
aria-label="Jagd"
>
<img src="/images/hud/runtime/HuntIcon-128.png" alt="" />
<span>Jagd</span>

View File

@@ -1,9 +1,9 @@
import { Component } from '@angular/core';
import { RouterLink } from '@angular/router';
import { RouterLink, RouterLinkActive } from '@angular/router';
@Component({
selector: 'app-side-navigation',
imports: [RouterLink],
imports: [RouterLink, RouterLinkActive],
templateUrl: './side-navigation.component.html',
styleUrl: './side-navigation.component.scss',
})