<!-- Transition.svelte -->
<script>
  import { router } from "tinro";
  import { fade } from "svelte/transition";
</script>

{#key $router.path}
  <div in:fade={{ duration: 75 }}>
    <slot />
  </div>
{/key}
