2023-11-05 23:02:42 +00:00
|
|
|
<script>
|
|
|
|
import '../app.scss';
|
|
|
|
import Navbar from './Navbar.svelte';
|
|
|
|
|
|
|
|
import { fly } from 'svelte/transition';
|
|
|
|
export let data;
|
|
|
|
</script>
|
|
|
|
|
|
|
|
{#key data.pathname}
|
2023-11-15 19:02:58 +00:00
|
|
|
<main in:fly={{ x: -10, duration: 250, delay: 250 }} out:fly={{ x: 5, duration: 250 }}>
|
2023-11-05 23:02:42 +00:00
|
|
|
<slot />
|
|
|
|
</main>
|
|
|
|
{/key}
|