Files
shensheshou/app/workspace/moments-sync/loading.tsx
v0 2408d50cb0 refactor: overhaul UI for streamlined user experience
Redesign navigation, home overview, user portrait, and valuation pages
with improved functionality and responsive design.

Co-authored-by: null <4804959+fnvtk@users.noreply.github.com>
2025-07-18 13:47:12 +00:00

38 lines
1.2 KiB
TypeScript

import { Skeleton } from "@/components/ui/skeleton"
import { Card, CardContent, CardHeader } from "@/components/ui/card"
export default function MomentsSyncLoading() {
return (
<div className="container mx-auto py-6 space-y-6">
<div className="flex items-center justify-between">
<Skeleton className="h-10 w-[250px]" />
<Skeleton className="h-10 w-[120px]" />
</div>
<div className="grid gap-6 md:grid-cols-2 lg:grid-cols-3">
{Array(6)
.fill(0)
.map((_, i) => (
<Card key={i} className="overflow-hidden">
<CardHeader className="p-0">
<Skeleton className="h-48 w-full" />
</CardHeader>
<CardContent className="p-4 space-y-3">
<Skeleton className="h-5 w-4/5" />
<Skeleton className="h-4 w-3/5" />
<div className="flex justify-between items-center pt-2">
<Skeleton className="h-4 w-[100px]" />
<Skeleton className="h-8 w-[80px]" />
</div>
</CardContent>
</Card>
))}
</div>
<div className="flex justify-center">
<Skeleton className="h-10 w-[200px]" />
</div>
</div>
)
}