De drie zware split-pane routes hadden al loading.tsx; dashboard, settings en todos kregen elk een passende animate-pulse skeleton. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
12 lines
344 B
TypeScript
12 lines
344 B
TypeScript
export default function Loading() {
|
|
return (
|
|
<div className="p-6 max-w-4xl mx-auto w-full animate-pulse">
|
|
<div className="h-6 w-32 bg-border rounded mb-6" />
|
|
<div className="grid gap-3">
|
|
{[1, 2, 3].map(i => (
|
|
<div key={i} className="h-20 bg-border/50 rounded-xl" />
|
|
))}
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|