forked from git.gladyson/openmonetis
- Replace ESLint with Biome for linting and formatting - Configure Biome with tabs, double quotes, and organized imports - Move all SQL/Drizzle queries from page.tsx files to data.ts files - Create new data.ts files for: ajustes, dashboard, relatorios/categorias - Update existing data.ts files: extrato, fatura (add lancamentos queries) - Remove all drizzle-orm imports from page.tsx files - Update README.md with new tooling info Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
34 lines
1015 B
TypeScript
34 lines
1015 B
TypeScript
import { Card } from "@/components/ui/card";
|
|
import { Skeleton } from "@/components/ui/skeleton";
|
|
|
|
export default function Loading() {
|
|
return (
|
|
<main className="flex flex-col items-start gap-6">
|
|
<div className="flex w-full flex-col gap-6">
|
|
<div className="flex justify-between">
|
|
<Skeleton className="h-10 w-48" />
|
|
<Skeleton className="h-10 w-32" />
|
|
</div>
|
|
<div className="grid gap-4 md:grid-cols-2 lg:grid-cols-3">
|
|
{Array.from({ length: 6 }).map((_, i) => (
|
|
<Card key={i} className="p-4">
|
|
<div className="space-y-3">
|
|
<div className="flex justify-between">
|
|
<Skeleton className="h-5 w-24" />
|
|
<Skeleton className="h-5 w-16" />
|
|
</div>
|
|
<Skeleton className="h-4 w-full" />
|
|
<Skeleton className="h-4 w-3/4" />
|
|
<div className="flex gap-2 pt-2">
|
|
<Skeleton className="h-8 w-20" />
|
|
<Skeleton className="h-8 w-20" />
|
|
</div>
|
|
</div>
|
|
</Card>
|
|
))}
|
|
</div>
|
|
</div>
|
|
</main>
|
|
);
|
|
}
|