* move loader to Feedback * fill out button props to match what is available on daisy * links * Alert component and InfoIcon * Loading component * Progress component * lol wtf * Tooltip component * Skeleton component * Divider component * fix errors * made this component early so i just fixed up some of the props
22 lines
457 B
Svelte
22 lines
457 B
Svelte
<script lang="ts">
|
|
import { goto } from '$app/navigation';
|
|
import { Loader } from '$lib/components/Feedback';
|
|
import { fade } from 'svelte/transition';
|
|
|
|
$effect(() => {
|
|
const id = setTimeout(() => goto('/app'), 1500);
|
|
return () => {
|
|
clearTimeout(id);
|
|
};
|
|
});
|
|
</script>
|
|
|
|
<div class="site-loader" transition:fade>
|
|
<Loader />
|
|
</div>
|
|
|
|
<style>
|
|
.site-loader {
|
|
@apply flex h-screen w-screen flex-col items-center justify-center gap-6;
|
|
}
|
|
</style>
|