-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathsidebar-skeleton.tsx
32 lines (27 loc) · 1.29 KB
/
sidebar-skeleton.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { Skeleton } from '@/components/ui/skeleton';
export default function SidebarSkeleton() {
return (
<div className="flex flex-col w-full gap-2 ">
<div className="flex h-14 w-full bg-primary/5 justify-between rounded-xl items-center p-2">
<Skeleton className="h-6 w-2/3 rounded-sm" />
<Skeleton className="h-6 w-6 rounded-full" />
</div>
<div className="flex h-14 w-full bg-primary/5 opacity-80 justify-between rounded-xl items-center p-2">
<Skeleton className="h-6 w-2/3 rounded-sm" />
<Skeleton className="h-6 w-6 rounded-full" />
</div>
<div className="flex h-14 w-full bg-primary/5 opacity-60 justify-between rounded-xl items-center p-2">
<Skeleton className="h-6 w-2/3 rounded-sm" />
<Skeleton className="h-6 w-6 rounded-full" />
</div>
<div className="flex h-14 w-full bg-primary/5 opacity-40 justify-between rounded-xl items-center p-2">
<Skeleton className="h-6 w-2/3 rounded-sm" />
<Skeleton className="h-6 w-6 rounded-full" />
</div>
<div className="flex h-14 w-full bg-primary/5 opacity-20 justify-between rounded-xl items-center p-2">
<Skeleton className="h-6 w-2/3 rounded-sm" />
<Skeleton className="h-6 w-6 rounded-full" />
</div>
</div>
);
}