From 4d92a4cbe53ce77959f4b8dffc8c7bac35747c61 Mon Sep 17 00:00:00 2001
From: Fuwn <contact@fuwn.me>
Date: Wed, 24 Jan 2024 21:52:34 -0800
Subject: feat(updates): skeleton loading

---
 src/routes/updates/+page.svelte | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'src/routes/updates/+page.svelte')

diff --git a/src/routes/updates/+page.svelte b/src/routes/updates/+page.svelte
index 652b3901..45ff6409 100644
--- a/src/routes/updates/+page.svelte
+++ b/src/routes/updates/+page.svelte
@@ -3,6 +3,7 @@
 
 	import { browser } from '$app/environment';
 	import HeadTitle from '$lib/Home/HeadTitle.svelte';
+	import Skeleton from '$lib/Skeleton.svelte';
 	import { createHeightObserver } from '$lib/Utility/html';
 	import root from '$lib/Utility/root';
 	import { onMount } from 'svelte';
@@ -84,7 +85,9 @@
 					</li>
 				{/each}
 			{:else}
-				<li>Loading feed ... 50%</li>
+				<p />
+
+				<Skeleton card={false} count={5} height="1rem" />
 			{/if}
 		</ul>
 	</details>
@@ -117,7 +120,9 @@
 					</li>
 				{/each}
 			{:else}
-				<li>Loading feed ... 50%</li>
+				<p />
+
+				<Skeleton card={false} count={5} height="1rem" />
 			{/if}
 		</ul>
 	</details>
-- 
cgit v1.2.3

