diff options
| author | Fuwn <[email protected]> | 2024-01-13 18:56:25 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-01-13 18:56:25 -0800 |
| commit | 6a1933178985e23825d8453449ca99bb0e5cfcb6 (patch) | |
| tree | 1c2b7919e9b57bb908a34593be10302542d45c60 /src/lib/Root.svelte | |
| parent | refactor(data): move json to data (diff) | |
| download | due.moe-6a1933178985e23825d8453449ca99bb0e5cfcb6.tar.xz due.moe-6a1933178985e23825d8453449ca99bb0e5cfcb6.zip | |
refactor(home): move layout to home
Diffstat (limited to 'src/lib/Root.svelte')
| -rw-r--r-- | src/lib/Root.svelte | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/lib/Root.svelte b/src/lib/Root.svelte deleted file mode 100644 index d65a9832..00000000 --- a/src/lib/Root.svelte +++ /dev/null @@ -1,26 +0,0 @@ -<script lang="ts"> - import settings from '$stores/settings'; - import { fly } from 'svelte/transition'; - - export let data: any; - export let way: number; - - const animationDelay = 100; -</script> - -{#if $settings.displayDisableAnimations} - <slot /> -{:else} - {#key data.url} - <div - in:fly={{ - x: way, - duration: animationDelay, - delay: animationDelay - }} - out:fly={{ x: -way, duration: animationDelay }} - > - <slot /> - </div> - {/key} -{/if} |