SPB Git forge

spb/websensor

Public
33commits 1branches 0releases
3.4 MBsize
maindefault branch
10 days agolast push
TypeScript 55.4% Python 43.2% SQL 1.2%
985 B · 31 lines tsx
Raw Blame History
1import { Skeleton, SkeletonRows } from "@/components/ui";23export default function Loading() {4  return (5    <>6      <div className="mb-4 flex flex-col gap-2">7        <Skeleton className="h-3 w-40" />8        <Skeleton className="h-7 w-56" />9        <div className="flex flex-wrap gap-1">10          {Array.from({ length: 6 }, (_, i) => (11            <Skeleton key={i} className="h-5 w-20" />12          ))}13        </div>14      </div>15      <div className="panel overflow-hidden">16        <div className="flex items-center gap-3 border-b border-line px-3 py-2">17          <Skeleton className="h-3 w-24" />18          <Skeleton className="h-3 w-12" />19          <Skeleton className="ml-auto h-6 w-28" />20        </div>21        <div className="flex gap-1 border-b border-line px-2 py-1.5">22          {Array.from({ length: 8 }, (_, i) => (23            <Skeleton key={i} className="h-5 w-16" />24          ))}25        </div>26        <SkeletonRows rows={14} />27      </div>28    </>29  );30}31