forked from git.gladyson/openmonetis
- Corrigir layout truncado no card de parcelas (analise-parcelas) - Empilhar cards de top estabelecimentos e categorias no mobile - Ajustes gerais de responsividade em múltiplos componentes Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
22 lines
675 B
TypeScript
22 lines
675 B
TypeScript
import { DashboardGridSkeleton } from "@/components/skeletons";
|
|
import { Skeleton } from "@/components/ui/skeleton";
|
|
|
|
/**
|
|
* Loading state para a página do dashboard
|
|
* Estrutura: Welcome Banner → Month Picker → Section Cards → Widget Grid
|
|
*/
|
|
export default function DashboardLoading() {
|
|
return (
|
|
<main className="flex flex-col gap-4">
|
|
{/* Welcome Banner skeleton */}
|
|
<Skeleton className="h-[104px] w-full rounded-xl bg-foreground/10" />
|
|
|
|
{/* Month Picker skeleton */}
|
|
<Skeleton className="h-[56px] w-full rounded-xl bg-foreground/10" />
|
|
|
|
{/* Dashboard content skeleton (Section Cards + Widget Grid) */}
|
|
<DashboardGridSkeleton />
|
|
</main>
|
|
);
|
|
}
|