File tree Expand file tree Collapse file tree 1 file changed +20
-4
lines changed
src/routes/package/[...package] Expand file tree Collapse file tree 1 file changed +20
-4
lines changed Original file line number Diff line number Diff line change 44 import ReleaseCard from " ./ReleaseCard.svelte" ;
55 import SidePanel from " ./SidePanel.svelte" ;
66 import * as Accordion from " $lib/components/ui/accordion" ;
7+ import { Skeleton } from " $lib/components/ui/skeleton" ;
78
89 let { data } = $props ();
910 </script >
1011
1112{#snippet loading ()}
12- <span class =" inline-flex items-center justify-center" >
13- <LoaderCircle class =" mr-2 size-4 animate-spin" />
14- Loading...
15- </span >
13+ <div class =" my-8 space-y-2" >
14+ <Skeleton class =" h-16 w-64" />
15+ <Skeleton class =" h-8 w-32" />
16+ </div >
17+ <div class =" flex gap-8" >
18+ <div class =" relative w-full space-y-2" >
19+ <p
20+ class =" absolute top-[4.5rem] left-1/2 z-10 inline-flex -translate-x-1/2 -translate-y-1/2 items-center justify-center text-xl"
21+ >
22+ <LoaderCircle class =" mr-2 size-4 animate-spin" />
23+ Loading...
24+ </p >
25+ <Skeleton class =" h-36 w-full" />
26+ <Skeleton class =" h-44 w-full" />
27+ <Skeleton class =" h-16 w-full" />
28+ <Skeleton class =" h-80 w-full" />
29+ </div >
30+ <Skeleton class =" h-96 w-1/3" />
31+ </div >
1632{/ snippet }
1733
1834{#if navigating .to }
You can’t perform that action at this time.
0 commit comments