From 996ee9c97efc48b43dec2f7839556638e2316480 Mon Sep 17 00:00:00 2001 From: rene Date: Thu, 14 May 2026 18:34:02 +0200 Subject: [PATCH] =?UTF-8?q?Fix:=20Landing=20Dark-Mode,=20OS-Icons=E2=86=92?= =?UTF-8?q?Phosphor,=20force-update-Loop=20(SW=20by-v953)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - main.py APP_VER 951→953 behebt Update-Loop auf Desktop - Dark-Mode: vollständige @media (prefers-color-scheme: dark) Regeln für alle Sections - Emojis im Verbindung-Block (🏡🔍🐶) durch Phosphor SVG ersetzt - 🐾 in Testimonials und Footer durch paw-print SVG ersetzt --- backend/main.py | 2 +- backend/static/js/app.js | 2 +- backend/static/landing.html | 55 ++++++++++++++++++++++++++++++++----- backend/static/sw.js | 2 +- 4 files changed, 51 insertions(+), 10 deletions(-) diff --git a/backend/main.py b/backend/main.py index 1f8dd9c..894ed56 100644 --- a/backend/main.py +++ b/backend/main.py @@ -406,7 +406,7 @@ async def serve_media(path: str, request: _Request): raise _HE(404, "Nicht gefunden.") return _media_response(filepath) -APP_VER = "951" # muss mit APP_VER in app.js übereinstimmen +APP_VER = "953" # muss mit APP_VER in app.js übereinstimmen @app.get("/.well-known/assetlinks.json") async def assetlinks(): diff --git a/backend/static/js/app.js b/backend/static/js/app.js index 0f3f6ce..87f5fce 100644 --- a/backend/static/js/app.js +++ b/backend/static/js/app.js @@ -3,7 +3,7 @@ Router, State-Management, Navigation, Initialisierung. ============================================================ */ -const APP_VER = '952'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '953'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const APP_VERSION = '1.5.1'; // ← semantische Version, wird bei make release gesetzt const IS_STAGING = location.hostname === 'staging.banyaro.app'; // Cache-Bust-Parameter nach Update-Reload sofort entfernen diff --git a/backend/static/landing.html b/backend/static/landing.html index 28b4d44..a6d6ac4 100644 --- a/backend/static/landing.html +++ b/backend/static/landing.html @@ -594,6 +594,41 @@ transition: opacity 0.55s ease, transform 0.55s ease; } .fade-up.visible { opacity: 1; transform: none; } + + /* Dark Mode */ + @media (prefers-color-scheme: dark) { + :root { + --bg: #141210; + --surface: #1e1a16; + --text: #ede8e2; + --text-secondary:#a89880; + --text-muted: #6b5e50; + --border: #2e2620; + --primary-light: #3a2510; + } + body { background: var(--bg); color: var(--text); } + nav { background: #1a1612; border-color: var(--border); } + nav a { color: var(--text-secondary); } + section:nth-child(even) { background: #1a1612; } + #fuer-beide { background: #1a1612 !important; } + #welpen { background: #1a1612 !important; } + #stimmen { background: #141210 !important; } + #zuechter { background: #1a1208 !important; } + .outcome-card, .feature-card { background: var(--surface); border-color: var(--border); } + .testimonial-card { background: var(--surface); border-color: var(--border); } + .pricing-card { background: var(--surface); border-color: var(--border); } + .pricing-card.featured { border-color: var(--primary); } + section { background: var(--bg); } + #audience-owner > div { background: var(--surface) !important; border-color: var(--border) !important; } + .audience-card > div { background: var(--surface) !important; border-color: var(--border) !important; } + table { background: var(--surface); } + th { background: var(--primary); } + td { border-color: var(--border); } + tr:nth-child(even) td { background: var(--bg); } + footer { background: #0d0b09; } + .feature-group-label { background: var(--primary-light); color: var(--primary); } + h2, h3 { color: var(--text); } + } @@ -880,7 +915,7 @@

Hier könnte dein Zitat stehen — schreib uns an hallo@banyaro.app

Maria K.
-
🐾 Luna · Golden Retriever
+
Luna · Golden Retriever
@@ -889,7 +924,7 @@

Hier könnte dein Zitat stehen — schreib uns an hallo@banyaro.app

Thomas W.
-
🐾 Max · Labrador
+
Max · Labrador
@@ -898,7 +933,7 @@

Hier könnte dein Zitat stehen — schreib uns an hallo@banyaro.app

Sarah M.
-
🐾 Bella · Schäferhund
+
Bella · Schäferhund
@@ -949,7 +984,9 @@
-
🏡
+
+ +
Züchter
Legt Wurf an, dokumentiert Welpen, veröffentlicht in der Wurfbörse
@@ -957,7 +994,9 @@
-
🔍
+
+ +
Käufer
Findet Wurf in der Wurfbörse, kontaktiert Züchter direkt per Chat
@@ -965,7 +1004,9 @@
-
🐶
+
+ +
Übergabe
Welpen-Profil mit allem landet direkt in der App des neuen Besitzers
@@ -1316,7 +1357,7 @@