From 897f5f80a0b40cc9ef09260825ce811358eb0756 Mon Sep 17 00:00:00 2001 From: Hermes AI Bot Date: Sat, 27 Jun 2026 09:03:35 +0000 Subject: [PATCH] Feature 18: Trinkspiel-Seite + Theme-Toggle finalisiert MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Neu: - trinkspiel.html: 5 Spiele-Modi (Kings, Ride the Bus, Ring of Fire, Ich hab noch nie, Wahrheit/Pflicht) mit 3D-Karten-Flip-Animation, Spieler-Tracker, König-Becher-Meter, Regel-Tracker, Statistik, History. localStorage-Persistenz (jga-players-v2, jga-rules-v2). - countdown.html: Live-Countdown auf 25.07.2026 (Feature 24). Update: - index.html: Countdown-Card in Planungs-Tools Sektion. - sw.js: trinkspiel.html + countdown.html gecacht, Cache v1->v2. - packliste.html + tourenplan.html + tourenplan-mit-tram.html: Theme-Toggle Finalisierung + Favicon-Fixes. Nicht verlinkt auf index.html — User-Review vor Freigabe. --- countdown.html | 383 +++++++++++++ index.html | 10 + packliste.html | 108 +++- sw.js | 4 +- tourenplan-mit-tram.html | 106 +++- tourenplan.html | 114 +++- trinkspiel.html | 1159 ++++++++++++++++++++++++++++++++++++++ 7 files changed, 1843 insertions(+), 41 deletions(-) create mode 100644 countdown.html create mode 100644 trinkspiel.html diff --git a/countdown.html b/countdown.html new file mode 100644 index 0000000..75a3f6f --- /dev/null +++ b/countdown.html @@ -0,0 +1,383 @@ + + + + + +JGA Prag 2026 — Countdown + + + + + + + + + + + + + +
+ ← Zurück zur Übersicht + +
🥳
+

JGA Prag 2026

+

Countdown bis zum Junggesellenabschied

+ +
+
+
--
+
Tage
+
+
+
--
+
Stunden
+
+
+
--
+
Minuten
+
+
+
--
+
Sekunden
+
+
+ +
Noch so lange bis zur wildesten Party des Jahres!
+ +
+
Vorbereitung: 0%
+ +
+
+
📅 Datum
+
25.–26. Juli 2026
+
+
+
👥 Gruppe
+
8 Personen
+
+
+
🏨 Hotel
+
Hotel Uno Prague
+
+
+
🎯 Aktivitäten
+
11 Locations
+
+
+ + +
+ + + + \ No newline at end of file diff --git a/index.html b/index.html index befb734..44d2469 100644 --- a/index.html +++ b/index.html @@ -335,6 +335,16 @@ Packliste öffnen → +
+
⏱️
+

JGA-Countdown

+

+ Großer Live-Countdown bis zum 25. Juli 2026 mit Tagen/Stunden/Minuten/Sekunden. + Vorbereitungsfortschritt + Teilen-Button für Social Media. +

+ Countdown öffnen → +
+ diff --git a/packliste.html b/packliste.html index af623b0..3f57e88 100644 --- a/packliste.html +++ b/packliste.html @@ -4,43 +4,95 @@ JGA Prag Packliste - -🧭"> + + + +
← Zurück zur Übersicht @@ -280,6 +334,22 @@ updateProgress(); }); + // Theme-Toggle + const themeBtn = document.getElementById('theme-toggle'); + function updateThemeIcon() { + const cur = document.documentElement.getAttribute('data-theme') || 'dark'; + themeBtn.textContent = cur === 'dark' ? '☀️' : '🌙'; + themeBtn.title = cur === 'dark' ? 'Light Mode aktivieren' : 'Dark Mode aktivieren'; + } + updateThemeIcon(); + themeBtn.addEventListener('click', () => { + const cur = document.documentElement.getAttribute('data-theme') || 'dark'; + const next = cur === 'dark' ? 'light' : 'dark'; + document.documentElement.setAttribute('data-theme', next); + localStorage.setItem('jga-theme', next); + updateThemeIcon(); + }); + updateProgress(); + JGA Prag – Tourenplan mit Tram & Metro @@ -15,11 +21,58 @@ integrity="sha256-p4NxAoJBhIIN+hmNHrzRCf9tD/miZyoHS5obTRR9BMY=" crossorigin=""/> + + + + + +
+ ← Zurück zur Übersicht +

🃏 JGA-Trinkspiel

+

Klassische Trinkspiele für unterwegs — fair, ohne Spielkarten, ohne Sucheritis

+ +
+ + + + + +
+
+

👑 Kings

+

Ziehe Karten, führe Aktionen aus. Wer alle 4 Könige zieht, trinkt den König-Becher leer.

+
+ +
+
+
+
+ +
+
+
+
A
+
Trinke 1 Schluck
+
+
+
+
+ + + + +
+ + +
+
Karten im Deck: 52
+ + +
+

📜 Gezogene Karten

+
+
Noch keine Karten gezogen
+
+
+
+ + + + +
+ + +
+ + + + + + + + \ No newline at end of file