feat: Use blur transition

This commit is contained in:
Leni Aniva 2024-09-29 18:48:08 -07:00
parent bed7d508ff
commit 636a00f826
Signed by: aniva
GPG Key ID: 4D9B1C8D10EA4C50
1 changed files with 2 additions and 2 deletions

View File

@ -1,11 +1,11 @@
<script lang="ts">
import { fade } from 'svelte/transition'
import { blur } from 'svelte/transition'
export let url: string
</script>
{#key url}
<div class="transition" in:fade>
<div class="transition" in:blur>
<slot />
</div>
{/key}