From 6a1933178985e23825d8453449ca99bb0e5cfcb6 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Sat, 13 Jan 2024 18:56:25 -0800
Subject: refactor(home): move layout to home

---
 src/lib/Root.svelte | 26 --------------------------
 1 file changed, 26 deletions(-)
 delete mode 100644 src/lib/Root.svelte

(limited to 'src/lib/Root.svelte')

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}
-- 
cgit v1.2.3

