Skip to content

Commit

Permalink
Remove element
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh-mn-yral committed Aug 31, 2023
1 parent fc58ed8 commit c20cae3
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions packages/web-client/src/components/layout/SplashScreen.svelte
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}

0 comments on commit c20cae3

Please sign in to comment.