UX: Welcome-Seite — Feature-Sektion und Privacy-Block entfernt, nur Hero+Install+CTA (SW by-v756)

This commit is contained in:
rene 2026-05-07 17:18:26 +02:00
parent e5e95efaed
commit 65193c3030
5 changed files with 4 additions and 55 deletions

View file

@ -327,7 +327,7 @@ MEDIA_DIR = os.getenv("MEDIA_DIR", "/data/media")
os.makedirs(MEDIA_DIR, exist_ok=True)
app.mount("/media", StaticFiles(directory=MEDIA_DIR), name="media")
APP_VER = "755" # muss mit APP_VER in app.js übereinstimmen
APP_VER = "756" # muss mit APP_VER in app.js übereinstimmen
@app.get("/api/version")
async def app_version():

View file

@ -578,7 +578,7 @@
<script src="/js/api.js?v=94"></script>
<script src="/js/ui.js?v=94"></script>
<script src="/js/app.js?v=94"></script>
<script src="/js/worlds.js?v=755"></script>
<script src="/js/worlds.js?v=756"></script>
<!-- Feature-Seiten werden lazy geladen -->

View file

@ -3,7 +3,7 @@
Router, State-Management, Navigation, Initialisierung.
============================================================ */
const APP_VER = '755'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VER = '756'; // ← bei jedem Deploy mit Frontend-Änderungen erhöhen
const APP_VERSION = '1.5.0'; // ← semantische Version, wird bei make release gesetzt
const IS_STAGING = location.hostname === 'staging.banyaro.app';

View file

@ -163,57 +163,6 @@ window.Page_welcome = (() => {
</div>
` : ''}
<!-- Features -->
<div class="wc-feature wc-feature--a">
<div class="wc-feature-icon">
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#book-open"></use></svg>
</div>
<div class="wc-feature-text">
<h2>Tagebuch & Erinnerungen</h2>
<p>Halte jeden gemeinsamen Moment fest Fotos, Einträge, Stimmungen. Nur für dich, privat und sicher.</p>
</div>
</div>
<div class="wc-feature wc-feature--b">
<div class="wc-feature-icon">
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#first-aid"></use></svg>
</div>
<div class="wc-feature-text">
<h2>Gesundheit im Blick</h2>
<p>Impfungen, Gewicht, Tierarzttermine alles an einem Ort. Du siehst immer, wann was ansteht.</p>
</div>
</div>
<div class="wc-feature wc-feature--c">
<div class="wc-feature-icon">
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#map-trifold"></use></svg>
</div>
<div class="wc-feature-text">
<h2>Community vor Ort</h2>
<p>Giftköder-Warnungen, Forum, Events was in deiner Gegend gerade passiert.</p>
</div>
</div>
<div class="wc-feature wc-feature--d">
<div class="wc-feature-icon">
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#target"></use></svg>
</div>
<div class="wc-feature-text">
<h2>Training & Übungen</h2>
<p>Über 100 Übungen mit Schritt-für-Schritt-Anleitungen. Fortschritt tracken, Streaks aufbauen.</p>
</div>
</div>
<!-- Privacy Block -->
<div class="wc-privacy">
<div class="wc-privacy-icon">
<svg class="ph-icon" aria-hidden="true"><use href="/icons/phosphor.svg#shield-check"></use></svg>
</div>
<h2 class="wc-privacy-title">Deine Daten gehören dir.</h2>
<p class="wc-privacy-sub">
Kein Facebook. Kein Google. Keine Werbung.<br>
Ban Yaro läuft auf einem eigenen Server in Deutschland
dein Tagebuch, deine Routen, deine Gesundheitsdaten bleiben privat.
</p>
</div>
<!-- Bottom CTA -->
<div class="wc-bottom-cta">
<button class="btn wc-btn-hero" id="welcome-register-btn2">

View file

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