Feature: /konto-loeschen Seite für Play Store Datenschutz-Pflicht
This commit is contained in:
parent
e4b170d45b
commit
f73a2bdeab
1 changed files with 50 additions and 0 deletions
|
|
@ -1544,6 +1544,56 @@ async def presse():
|
|||
return FileResponse(f"{STATIC_DIR}/presse.html", headers={"Cache-Control": "max-age=3600"})
|
||||
|
||||
|
||||
@app.get("/konto-loeschen")
|
||||
async def konto_loeschen():
|
||||
html = """<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Konto löschen — Ban Yaro</title>
|
||||
<link rel="stylesheet" href="/css/design-system.css">
|
||||
<style>
|
||||
body { font-family: var(--font-sans); background: var(--c-bg); color: var(--c-text);
|
||||
max-width: 600px; margin: 0 auto; padding: 2rem 1.5rem; }
|
||||
h1 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.5rem; }
|
||||
p { color: var(--c-text-secondary); line-height: 1.6; margin-bottom: 1rem; }
|
||||
ol { color: var(--c-text-secondary); line-height: 2; padding-left: 1.5rem; }
|
||||
.btn { display: inline-flex; align-items: center; gap: 0.5rem;
|
||||
background: var(--c-primary); color: #fff; border: none;
|
||||
border-radius: 100px; padding: 0.75rem 1.5rem;
|
||||
font-size: 1rem; font-weight: 600; text-decoration: none;
|
||||
margin-top: 1.5rem; cursor: pointer; }
|
||||
.warn { background: var(--c-danger-subtle); border: 1px solid var(--c-danger-border);
|
||||
border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1.5rem;
|
||||
color: var(--c-danger); font-size: 0.9rem; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p style="margin-bottom:2rem"><a href="/" style="color:var(--c-primary);text-decoration:none">← Zurück zu Ban Yaro</a></p>
|
||||
<h1>Konto löschen</h1>
|
||||
<p>Du kannst dein Ban Yaro-Konto und alle zugehörigen Daten dauerhaft löschen.</p>
|
||||
<div class="warn">
|
||||
⚠️ Diese Aktion ist unwiderruflich. Alle Daten (Tagebuch, Gesundheit, Training, Fotos) werden dauerhaft gelöscht.
|
||||
</div>
|
||||
<p><strong>So löschst du dein Konto:</strong></p>
|
||||
<ol>
|
||||
<li>Öffne <a href="/" style="color:var(--c-primary)">banyaro.app</a> und melde dich an</li>
|
||||
<li>Tippe auf das Menü-Symbol oben rechts</li>
|
||||
<li>Gehe zu <strong>Einstellungen</strong></li>
|
||||
<li>Scrolle nach unten zu <strong>„Konto löschen"</strong></li>
|
||||
<li>Bestätige die Löschung</li>
|
||||
</ol>
|
||||
<a href="/" class="btn">Ban Yaro öffnen</a>
|
||||
<p style="margin-top:2rem;font-size:0.85rem">
|
||||
Alternativ kannst du die Löschung per E-Mail an
|
||||
<a href="mailto:support@banyaro.app" style="color:var(--c-primary)">support@banyaro.app</a> beantragen.
|
||||
</p>
|
||||
</body>
|
||||
</html>"""
|
||||
return HTMLResponse(content=html, headers={"Cache-Control": "max-age=3600"})
|
||||
|
||||
|
||||
# /partner — Influencer-Landingpage
|
||||
# ------------------------------------------------------------------
|
||||
@app.get("/partner")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue