Red Mode: Nacht-Navigator-Logo mit 'RED RALF MODE'-Bogen
Build & Deploy / deploy (push) Successful in 19s

- Logo generiert: unterer Textbogen ersetzt, Goldringe rekonstruiert
- Logo in Karten-Seite + Spielraum-Lobby eingebunden
- Favicon-Swap bei aktivem Red Mode
- ?tab= URL-Param fuer Tab-Auswahl (Screenshots/Deep-Links)
This commit is contained in:
Kimi Work
2026-10-10 18:35:58 +02:00
parent 1094cf6948
commit 8cf4986b48
7 changed files with 179 additions and 3 deletions
+6 -1
View File
@@ -6,8 +6,13 @@ import Cards from './pages/Cards'
import Game from './pages/Game'
import Contact from './pages/Contact'
const TABS: TabId[] = ['start', 'regeln', 'karten', 'spiel', 'kontakt']
export default function App() {
const [tab, setTab] = useState<TabId>('start')
const [tab, setTab] = useState<TabId>(() => {
const p = new URLSearchParams(window.location.search).get('tab')
return TABS.includes(p as TabId) ? (p as TabId) : 'start'
})
return (
<div className="mx-auto min-h-dvh max-w-md pb-24">