feat(web): improve login screen (#1754)

This commit is contained in:
Michel Heusschen
2023-02-15 18:56:54 +01:00
committed by GitHub
parent e1c520b9e7
commit d31b35873f
3 changed files with 95 additions and 74 deletions

View File

@@ -5,11 +5,12 @@
import LoginForm from '$lib/components/forms/login-form.svelte';
</script>
<section class="h-screen w-screen flex place-items-center place-content-center">
<div in:fade={{ duration: 100 }} out:fade={{ duration: 100 }}>
<LoginForm
on:success={() => goto('/photos')}
on:first-login={() => goto('/auth/change-password')}
/>
</div>
<section
class="min-h-screen w-screen flex place-items-center place-content-center p-4"
transition:fade={{ duration: 100 }}
>
<LoginForm
on:success={() => goto('/photos')}
on:first-login={() => goto('/auth/change-password')}
/>
</section>