● Zion Boggan
repos/Docket/app/spending/loading.tsx
zionboggan.com ↗
22 lines · tsx
History for this file →
1
export default function Loading() {
2
  return (
3
    <div className="mx-auto w-full max-w-register px-4 py-10 sm:px-6">
4
      <div className="mb-2 h-3 w-28 animate-pulse rounded-sm bg-graphite" />
5
      <div className="mt-2 h-7 w-64 animate-pulse rounded-sm bg-graphite" />
6
      <div className="mt-3 h-4 w-full max-w-2xl animate-pulse rounded-sm bg-graphite" />
7
      {}
8
      <div className="mt-8 grid gap-4 sm:grid-cols-3">
9
        {Array.from({ length: 3 }).map((_, i) => (
10
          <div key={i} className="h-24 animate-pulse rounded-sm bg-graphite" />
11
        ))}
12
      </div>
13
      <div className="mt-8 h-14 w-full animate-pulse rounded-sm bg-graphite" />
14
      <div className="mt-8 mb-4 h-4 w-40 animate-pulse rounded-sm bg-graphite" />
15
      <div className="space-y-1">
16
        {Array.from({ length: 12 }).map((_, i) => (
17
          <div key={i} className="h-12 w-full animate-pulse rounded-sm bg-graphite" />
18
        ))}
19
      </div>
20
    </div>
21
  );
22
}