From df2c518a5c49197859080de249b482259c4c063f Mon Sep 17 00:00:00 2001 From: Till-JS <101404291+Till-JS@users.noreply.github.com> Date: Sun, 1 Feb 2026 13:09:42 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(auth):=20add=20missing=20auth?= =?UTF-8?q?=20pages=20for=20zitare=20and=20planta?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add zitare login page with standard pattern - Add zitare forgot-password page - Add planta forgot-password page - Refactor planta register to use shared RegisterPage component All apps now have consistent login, register, and forgot-password pages using the shared auth-ui components and i18n translations. Co-Authored-By: Claude Opus 4.5 --- .../(auth)/forgot-password/+page.svelte | 32 +++++ .../src/routes/(auth)/register/+page.svelte | 132 ++++++------------ .../(auth)/forgot-password/+page.svelte | 37 +++++ .../web/src/routes/(auth)/login/+page.svelte | 70 ++++++++++ 4 files changed, 179 insertions(+), 92 deletions(-) create mode 100644 apps/planta/apps/web/src/routes/(auth)/forgot-password/+page.svelte create mode 100644 apps/zitare/apps/web/src/routes/(auth)/forgot-password/+page.svelte create mode 100644 apps/zitare/apps/web/src/routes/(auth)/login/+page.svelte diff --git a/apps/planta/apps/web/src/routes/(auth)/forgot-password/+page.svelte b/apps/planta/apps/web/src/routes/(auth)/forgot-password/+page.svelte new file mode 100644 index 000000000..a998d3ac6 --- /dev/null +++ b/apps/planta/apps/web/src/routes/(auth)/forgot-password/+page.svelte @@ -0,0 +1,32 @@ + + + + {translations.titleForm} | Planta + + + diff --git a/apps/planta/apps/web/src/routes/(auth)/register/+page.svelte b/apps/planta/apps/web/src/routes/(auth)/register/+page.svelte index b4365703c..01029a244 100644 --- a/apps/planta/apps/web/src/routes/(auth)/register/+page.svelte +++ b/apps/planta/apps/web/src/routes/(auth)/register/+page.svelte @@ -1,103 +1,51 @@ -
- {#if error} -
- {error} -
- {/if} + + {translations.title} | Planta + -
- - -
- -
- - -
- -
- - -
- - - -

- Bereits ein Konto? - Anmelden -

-
+ diff --git a/apps/zitare/apps/web/src/routes/(auth)/forgot-password/+page.svelte b/apps/zitare/apps/web/src/routes/(auth)/forgot-password/+page.svelte new file mode 100644 index 000000000..855c8994b --- /dev/null +++ b/apps/zitare/apps/web/src/routes/(auth)/forgot-password/+page.svelte @@ -0,0 +1,37 @@ + + + + {translations.titleForm} - Zitare + + + + {#snippet headerControls()} + + {/snippet} + diff --git a/apps/zitare/apps/web/src/routes/(auth)/login/+page.svelte b/apps/zitare/apps/web/src/routes/(auth)/login/+page.svelte new file mode 100644 index 000000000..4ae76d3a2 --- /dev/null +++ b/apps/zitare/apps/web/src/routes/(auth)/login/+page.svelte @@ -0,0 +1,70 @@ + + + + {translations.title} - Zitare + + + + {#snippet headerControls()} + + {/snippet} +