Scrum4Me/app/(app)/todos/loading.tsx
Madhura68 02096196ab feat(ST-601): add loading skeletons for dashboard, settings and todos
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>
2026-04-25 20:09:48 +02:00

19 lines
714 B
TypeScript

export default function Loading() {
return (
<div className="p-6 max-w-2xl mx-auto w-full animate-pulse">
<div className="h-6 w-20 bg-border rounded mb-6" />
<div className="flex gap-3 mb-4">
<div className="h-8 w-32 bg-border/50 rounded-lg" />
<div className="flex-1" />
<div className="h-8 w-8 bg-border/50 rounded-lg" />
</div>
<div className="rounded-xl border border-border overflow-hidden">
<div className="h-10 bg-border/30" />
{[1, 2, 3, 4, 5].map(i => (
<div key={i} className="h-12 border-t border-border bg-border/20" />
))}
</div>
<div className="mt-4 h-24 bg-border/30 rounded-xl" />
</div>
)
}