From 078ae8970853303da45663b86d8d522a8b4217bd Mon Sep 17 00:00:00 2001 From: bytedream Date: Sun, 18 May 2025 16:00:01 +0200 Subject: [PATCH] do not show footer on signup page --- src/layouts/website/SignupLayout.astro | 20 --- src/layouts/website/WebsiteLayout.astro | 6 +- src/pages/signup.astro | 201 ++++++++++++------------ 3 files changed, 108 insertions(+), 119 deletions(-) delete mode 100644 src/layouts/website/SignupLayout.astro diff --git a/src/layouts/website/SignupLayout.astro b/src/layouts/website/SignupLayout.astro deleted file mode 100644 index 289622b..0000000 --- a/src/layouts/website/SignupLayout.astro +++ /dev/null @@ -1,20 +0,0 @@ ---- -import WebsiteLayout from './WebsiteLayout.astro'; - -interface Props { - signupEnabled: boolean; -} - -const { signupEnabled } = Astro.props; ---- - - -
-
- -
-
-
diff --git a/src/layouts/website/WebsiteLayout.astro b/src/layouts/website/WebsiteLayout.astro index 92af86d..872c123 100644 --- a/src/layouts/website/WebsiteLayout.astro +++ b/src/layouts/website/WebsiteLayout.astro @@ -7,9 +7,11 @@ import Menu from '@components/website/layout/Menu.svelte'; interface Props { title: string; description?: string; + + footer?: boolean; } -const { title, description } = Astro.props; +const { title, description, footer = true } = Astro.props; --- @@ -19,7 +21,7 @@ const { title, description } = Astro.props; -