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:
parent
cc36ead720
commit
472e0dd63f
3 changed files with 702 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue