Hunde-Profil + Login/Register + Auth-Redirect

dog-profile.js: Profil anlegen, anzeigen, bearbeiten, Foto-Upload,
  Alter-Berechnung, Löschen (mit Confirm).
settings.js: Login/Register-Tabs, Logout, Push-Subscription,
  nach Login → Tagebuch oder Profil anlegen.
app.js: _onLoggedOut() leitet direkt zur Settings-Seite weiter.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
rene 2026-04-12 17:57:51 +02:00
parent cc36ead720
commit 472e0dd63f
3 changed files with 702 additions and 2 deletions

View file

@ -214,8 +214,7 @@ const App = (() => {
function _onLoggedOut() {
state.user = null;
// Zeige Login wenn nötig
// Für MVP: direkte Weiterleitung zu Einstellungen/Login
navigate('settings', false);
}
async function _loadDogs() {