From 53e3544effa012d36f3b0d732a922ca219b7692a Mon Sep 17 00:00:00 2001
From: memdmp <memdmp@estrogen.zone>
Date: Sat, 23 Aug 2025 19:34:47 +0200
Subject: feat: changes

---
 src/lib/Timetable.svelte | 28 ++++++++++++++++++++--------
 1 file changed, 20 insertions(+), 8 deletions(-)

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

diff --git a/src/lib/Timetable.svelte b/src/lib/Timetable.svelte
index 22f9139..c805d6d 100644
--- a/src/lib/Timetable.svelte
+++ b/src/lib/Timetable.svelte
@@ -271,7 +271,8 @@
             <LineGlyph
               currentColor="#fff"
               kind={routeShortName}
-              nightIsFilled={false}
+              negative={false}
+              dark
             />
           {:else}
             <span
@@ -372,8 +373,8 @@
   {/each}
 {:else}
   <div class="flex items-center justify-center">
-    <div class="results max-w-2xl">
-      {#if (placeName || placeId) && isResultsPage}
+    {#if (placeName || placeId) && isResultsPage}
+      <div class="results max-w-2xl relative">
         <h2 class="text-2xl opacity-90">{m.no_results_title()}</h2>
         <p>
           {#each m
@@ -382,9 +383,20 @@
                 >{part}</b
               >{/if}{/each}
         </p>
-      {:else if placeId}
-        TODO: add some loader here
-      {:else}
+      </div>
+    {:else if placeId}
+      <div
+        class="flex flex-col gap-2 justify-stretch w-full no-scroll-body"
+        style="--shimmer-w: 2000px"
+      >
+        {#each Array(30) as _}
+          <div class="h-[7.575rem] relative bg-[#28282C] rounded-xl">
+            <div class="w-full h-full skeleton-shimmer rounded-xl"></div>
+          </div>
+        {/each}
+      </div>
+    {:else}
+      <div class="results max-w-2xl relative">
         <h2 class="text-2xl opacity-90">{m.welcome_title()}</h2>
         <p class="pb-1">
           {m.welcome_body_1()}
@@ -463,7 +475,7 @@
             onclick={() => setSearch('Lindau-Reutin')}>Lindau-Reutin</button
           >
         </div>
-      {/if}
-    </div>
+      </div>
+    {/if}
   </div>
 {/if}
-- 
cgit v1.2.3

