feat: add loading components for announcements and general loading states

This commit is contained in:
2026-03-29 05:04:42 +00:00
parent e98ccc8c58
commit 47876ad3d0
2 changed files with 20 additions and 0 deletions

10
app/loading.tsx Normal file
View File

@@ -0,0 +1,10 @@
export default function Loading() {
return (
<div className="mx-auto flex w-full max-w-6xl flex-1 items-center justify-center px-4 py-16 sm:px-8">
<div className="flex items-center gap-3 rounded-xl border bg-card px-5 py-3 text-sm text-muted-foreground shadow-sm">
<span className="inline-block size-2.5 animate-pulse rounded-full bg-primary" />
Loading...
</div>
</div>
);
}