yap #1
3 changed files with 29 additions and 27 deletions
|
@ -24,7 +24,7 @@
|
|||
}
|
||||
</script>
|
||||
|
||||
<div in:blur={{ amount: 1 }} class="flex justify-center items-center h-screen">
|
||||
<div in:blur={{ amount: 1 }} class="flex justify-center items-center h-full">
|
||||
<div class="flex flex-col space-y-2">
|
||||
<div class="transition-colors fill-black dark:fill-white">
|
||||
<Logo />
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
}
|
||||
</script>
|
||||
|
||||
<div in:blur={{ amount: 1 }} class="flex justify-center items-center h-screen">
|
||||
<div in:blur={{ amount: 1 }} class="flex justify-center items-center h-full">
|
||||
<div class="flex flex-col space-y-2">
|
||||
<div class="transition-colors fill-black dark:fill-white">
|
||||
<Logo />
|
||||
|
|
|
@ -24,8 +24,9 @@
|
|||
});
|
||||
</script>
|
||||
|
||||
{#if $state === '/landing'}
|
||||
<div in:blur={{ amount: 1 }} class="flex justify-center items-center h-screen">
|
||||
<div class="h-[85vh] md:h-screen">
|
||||
{#if $state === '/landing'}
|
||||
<div in:blur={{ amount: 1 }} class="flex justify-center items-center h-full">
|
||||
<div class="flex flex-col space-y-1.5">
|
||||
<div>
|
||||
<div class="transition-colors fill-black dark:fill-white">
|
||||
|
@ -50,8 +51,9 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{:else if $state === '/login'}
|
||||
{:else if $state === '/login'}
|
||||
<LoginForm callback={() => ($state = '/landing')} />
|
||||
{:else if $state === '/register'}
|
||||
{:else if $state === '/register'}
|
||||
<RegisterForm callback={() => ($state = '/landing')} />
|
||||
{/if}
|
||||
{/if}
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue