UX: Login → Welcome statt Diary; Landing-Features flacher (kein Box-Icon, einheitlicher Hintergrund) — SW by-v504, APP_VER 481

This commit is contained in:
rene 2026-04-29 16:53:17 +02:00
parent 414b7131e8
commit b4de0aa27c
4 changed files with 10 additions and 13 deletions

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung. 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 = (() => { const App = (() => {

View file

@ -1337,9 +1337,9 @@ window.Page_settings = (() => {
_offerPushNotifications(); _offerPushNotifications();
} }
// Nach Login: Tagebuch oder Profil anlegen // Nach Login: Welcome-Seite oder Profil anlegen
if (_appState.activeDog) { if (_appState.activeDog) {
App.navigate('diary'); App.navigate('welcome');
} else { } else {
App.navigate('dog-profile'); App.navigate('dog-profile');
} }

View file

@ -656,21 +656,18 @@ window.Page_welcome = (() => {
/* Feature Cards */ /* Feature Cards */
.wc-feature { .wc-feature {
display: flex; align-items: flex-start; gap: var(--space-4); 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); border-bottom: 1px solid var(--c-border-light);
background: var(--c-bg);
} }
.wc-feature--a { background: var(--c-bg); } .wc-feature--a, .wc-feature--b, .wc-feature--c, .wc-feature--d { 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-icon { .wc-feature-icon {
width: 52px; height: 52px; border-radius: var(--radius-lg); flex-shrink: 0; width: 36px; height: 36px; flex-shrink: 0; margin-top: 2px;
background: var(--c-primary-subtle);
display: flex; align-items: center; justify-content: center; 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 { .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); color: var(--c-text); margin: 0 0 var(--space-1);
} }
.wc-feature-text p { .wc-feature-text p {

View file

@ -3,7 +3,7 @@
Offline-Cache + Push Notifications + Tile-Cache Offline-Cache + Push Notifications + Tile-Cache
============================================================ */ ============================================================ */
const CACHE_VERSION = 'by-v503'; const CACHE_VERSION = 'by-v504';
const CACHE_STATIC = `${CACHE_VERSION}-static`; const CACHE_STATIC = `${CACHE_VERSION}-static`;
const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten const CACHE_TILES = 'ban-yaro-tiles-v1'; // bleibt über SW-Updates erhalten