'/', 'name' => 'Cockpit', 'icon' => '⌂'], ['pfad' => '/konten', 'name' => 'Kontenübersicht', 'icon' => '▤'], ['pfad' => '/banking', 'name' => 'Online-Banking', 'icon' => '⇊'], ['pfad' => '/zahlungsverkehr', 'name' => 'Zahlungsverkehr', 'icon' => '⇄'], ['pfad' => '/auswertungen', 'name' => 'Auswertungen', 'icon' => '◱'], ['pfad' => '/planung', 'name' => 'Planung', 'icon' => '◷'], ['pfad' => '/termine', 'name' => 'Termine', 'icon' => '⏱'], ['pfad' => '/vertraege', 'name' => 'Verträge', 'icon' => '§'], ['pfad' => '/wertpapiere', 'name' => 'Wertpapiere', 'icon' => '↗'], ['pfad' => '/verwaltung', 'name' => 'Verwaltung', 'icon' => '⚙'], ]; $istAktiv = static function (string $pfad) use ($aktuellerPfad): bool { if ($pfad === '/') { return $aktuellerPfad === '/' || $aktuellerPfad === ''; } return is_string($aktuellerPfad) && str_starts_with($aktuellerPfad, $pfad); }; ?> >