mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 01:35:39 -04:00
Replace client-side data fetching with server-side queries and server actions, eliminating 3 API route files. Extract page into granular client components (account, integrations, server, webhook card) with optimistic updates. Rename sections: Media Servers → Integrations, Administration → Server. Add admin badge to account section. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
27 lines
720 B
TypeScript
27 lines
720 B
TypeScript
import { Skeleton } from "@/components/ui/skeleton";
|
|
|
|
export default function SettingsLoading() {
|
|
return (
|
|
<div className="mx-auto max-w-2xl space-y-8">
|
|
{/* Header */}
|
|
<div>
|
|
<Skeleton className="h-9 w-40" />
|
|
<Skeleton className="mt-2 h-4 w-64" />
|
|
</div>
|
|
|
|
{/* Account card */}
|
|
<div className="space-y-3">
|
|
<Skeleton className="h-4 w-20" />
|
|
<Skeleton className="h-28 w-full rounded-xl" />
|
|
</div>
|
|
|
|
{/* Media server cards */}
|
|
<div className="space-y-3">
|
|
<Skeleton className="h-4 w-28" />
|
|
<Skeleton className="h-16 w-full rounded-xl" />
|
|
<Skeleton className="h-16 w-full rounded-xl" />
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|