This commit is contained in:
20
src/layouts/website/SignupLayout.astro
Normal file
20
src/layouts/website/SignupLayout.astro
Normal file
@ -0,0 +1,20 @@
|
||||
---
|
||||
import WebsiteLayout from './WebsiteLayout.astro';
|
||||
|
||||
interface Props {
|
||||
signupEnabled: boolean;
|
||||
}
|
||||
|
||||
const { signupEnabled } = Astro.props;
|
||||
---
|
||||
|
||||
<WebsiteLayout title="Anmeldung">
|
||||
<div
|
||||
class="flex justify-center w-full min-h-screen bg-base-200"
|
||||
class:list={[!signupEnabled ? 'max-h-screen overflow-hidden' : undefined]}
|
||||
>
|
||||
<div class="relative grid card w-11/12 xl:w-2/3 2xl:w-1/2 p-6 my-12 bg-base-100 shadow-lg h-min">
|
||||
<slot />
|
||||
</div>
|
||||
</div>
|
||||
</WebsiteLayout>
|
Reference in New Issue
Block a user