From b4de0aa27c00ab03996525646f6e30f727fe0ea0 Mon Sep 17 00:00:00 2001 From: rene Date: Wed, 29 Apr 2026 16:53:17 +0200 Subject: [PATCH] =?UTF-8?q?UX:=20Login=20=E2=86=92=20Welcome=20statt=20Dia?= =?UTF-8?q?ry;=20Landing-Features=20flacher=20(kein=20Box-Icon,=20einheitl?= =?UTF-8?q?icher=20Hintergrund)=20=E2=80=94=20SW=20by-v504,=20APP=5FVER=20?= =?UTF-8?q?481?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- backend/static/js/app.js | 2 +- backend/static/js/pages/settings.js | 4 ++-- backend/static/js/pages/welcome.js | 15 ++++++--------- backend/static/sw.js | 2 +- 4 files changed, 10 insertions(+), 13 deletions(-) diff --git a/backend/static/js/app.js b/backend/static/js/app.js index b089240..1d17ac9 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 = '480'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen +const APP_VER = '481'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen const App = (() => { diff --git a/backend/static/js/pages/settings.js b/backend/static/js/pages/settings.js index 63cede8..183aadd 100644 --- a/backend/static/js/pages/settings.js +++ b/backend/static/js/pages/settings.js @@ -1337,9 +1337,9 @@ window.Page_settings = (() => { _offerPushNotifications(); } - // Nach Login: Tagebuch oder Profil anlegen + // Nach Login: Welcome-Seite oder Profil anlegen if (_appState.activeDog) { - App.navigate('diary'); + App.navigate('welcome'); } else { App.navigate('dog-profile'); } diff --git a/backend/static/js/pages/welcome.js b/backend/static/js/pages/welcome.js index ded2178..e917eca 100644 --- a/backend/static/js/pages/welcome.js +++ b/backend/static/js/pages/welcome.js @@ -656,21 +656,18 @@ window.Page_welcome = (() => { /* Feature Cards */ .wc-feature { display: flex; align-items: flex-start; gap: var(--space-4); - padding: var(--space-6) var(--space-5); + padding: var(--space-5) var(--space-5); border-bottom: 1px solid var(--c-border-light); + background: var(--c-bg); } - .wc-feature--a { background: var(--c-bg); } - .wc-feature--b { background: var(--c-surface); } - .wc-feature--c { background: var(--c-bg); } - .wc-feature--d { background: var(--c-surface); } + .wc-feature--a, .wc-feature--b, .wc-feature--c, .wc-feature--d { background: var(--c-bg); } .wc-feature-icon { - width: 52px; height: 52px; border-radius: var(--radius-lg); flex-shrink: 0; - background: var(--c-primary-subtle); + width: 36px; height: 36px; flex-shrink: 0; margin-top: 2px; display: flex; align-items: center; justify-content: center; } - .wc-feature-icon .ph-icon { width: 26px; height: 26px; color: var(--c-primary); } + .wc-feature-icon .ph-icon { width: 24px; height: 24px; color: var(--c-primary); opacity: 0.8; } .wc-feature-text h2 { - font-size: var(--text-base); font-weight: var(--weight-bold); + font-size: var(--text-sm); font-weight: var(--weight-semibold); color: var(--c-text); margin: 0 0 var(--space-1); } .wc-feature-text p { diff --git a/backend/static/sw.js b/backend/static/sw.js index bc49fd5..5dd6300 100644 --- a/backend/static/sw.js +++ b/backend/static/sw.js @@ -3,7 +3,7 @@ Offline-Cache + Push Notifications + Tile-Cache ============================================================ */ -const CACHE_VERSION = 'by-v503'; +const CACHE_VERSION = 'by-v504'; const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten