From e823d76cbc8ce2f269177690160b5ddc1dc20436 Mon Sep 17 00:00:00 2001 From: Leni Aniva Date: Sat, 28 Sep 2024 00:27:15 -0700 Subject: [PATCH 01/10] feat: Page transitions --- src/routes/+layout.svelte | 18 +++++++++++++----- src/routes/+layout.ts | 6 ++++++ src/routes/PageTransition.svelte | 17 +++++++++++++++++ 3 files changed, 36 insertions(+), 5 deletions(-) create mode 100644 src/routes/PageTransition.svelte diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte index f152ced..45c2981 100644 --- a/src/routes/+layout.svelte +++ b/src/routes/+layout.svelte @@ -3,6 +3,9 @@ import { page } from '$app/stores'; import Footer from "./Footer.svelte"; import Navbar from "./Navbar.svelte"; + import PageTransition from "./PageTransition.svelte"; + + export let data : { url: string }; @@ -12,13 +15,18 @@ -
- +
+ + +
-
+ {:else} - + + + +