-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fc58ed8
commit c20cae3
Showing
1 changed file
with
1 addition
and
12 deletions.
There are no files selected for viewing
13 changes: 1 addition & 12 deletions
13
packages/web-client/src/components/layout/SplashScreen.svelte
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,8 @@ | ||
<script lang="ts"> | ||
import { fade } from 'svelte/transition' | ||
import { hideSplashScreen, splashScreenPopup } from '$stores/popups' | ||
import { hideSplashScreen } from '$stores/popups' | ||
import { onMount } from 'svelte' | ||
import Icon from '$components/icon/Icon.svelte' | ||
onMount(() => { | ||
hideSplashScreen(5000) | ||
}) | ||
</script> | ||
|
||
{#if $splashScreenPopup.show} | ||
<splash-screen | ||
out:fade|local={{ duration: 500 }} | ||
class="spacy-y-8 absolute z-[15] flex h-full w-full flex-col items-center justify-center space-y-10 bg-black"> | ||
<Icon name="hot-or-not-logo" class="h-56 w-56" /> | ||
<Icon name="loading" class="h-5 w-5 animate-spin-slow opacity-50" /> | ||
</splash-screen> | ||
{/if} |