- Migrate LiveView, GearView, PurchasesView, SocialView, AnalyticsView into features - Create features: admin, developer, seller; add QueuePage, WishlistPage - Migrate pages/marketplace to features/marketplace - Remove components/views/ and pages/ legacy directories - Update lazyExports, docs (ARCHITECTURE) - Mark audit 2.1, 2.6 as done Refs: AUDIT_TECHNIQUE_INTEGRAL_2026_02_15.md items 2.1, 2.6
47 lines
1.8 KiB
TypeScript
47 lines
1.8 KiB
TypeScript
import { Skeleton } from '@/components/ui/skeleton';
|
|
|
|
export function LiveViewSkeleton() {
|
|
return (
|
|
<div className="grid grid-cols-1 lg:grid-cols-12 gap-8 min-h-layout-main animate-fadeIn">
|
|
<div className="lg:col-span-9 flex flex-col gap-4">
|
|
<Skeleton className="aspect-video w-full rounded-xl" />
|
|
<div className="flex justify-between items-start gap-4">
|
|
<div className="flex gap-4">
|
|
<Skeleton className="w-12 h-12 rounded-full shrink-0" />
|
|
<div className="space-y-2 min-w-0">
|
|
<Skeleton className="h-8 w-3/4" />
|
|
<Skeleton className="h-4 w-32" />
|
|
<div className="flex gap-2">
|
|
<Skeleton className="h-5 w-16" />
|
|
<Skeleton className="h-5 w-20" />
|
|
<Skeleton className="h-5 w-14" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div className="flex gap-2 shrink-0">
|
|
<Skeleton className="h-10 w-24" />
|
|
<Skeleton className="h-10 w-24" />
|
|
<Skeleton className="h-10 w-20" />
|
|
</div>
|
|
</div>
|
|
<div className="mt-4">
|
|
<Skeleton className="h-4 w-48 mb-4" />
|
|
<div className="grid grid-cols-1 md:grid-cols-3 gap-4">
|
|
{[1, 2, 3].map((i) => (
|
|
<Skeleton key={i} className="aspect-video w-full rounded-xl" />
|
|
))}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div className="lg:col-span-3 flex flex-col min-h-0">
|
|
<Skeleton className="h-12 rounded-t-xl mb-4" />
|
|
<div className="flex-1 space-y-4">
|
|
{[1, 2, 3, 4, 5].map((i) => (
|
|
<Skeleton key={i} className="h-8 w-full" />
|
|
))}
|
|
</div>
|
|
<Skeleton className="h-24 rounded-b-xl mt-4" />
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|