echos-ocr/src/app/page.tsx

33 lines
971 B
TypeScript
Raw Normal View History

import { Suspense } from "react";
import { DashboardContent } from "@/components/cards/dashboard-content";
import { DashboardHero } from "@/components/cards/dashboard-hero";
import { StatCards } from "@/components/cards/stat-cards";
import { QuickActions } from "@/components/cards/quick-actions";
import { Skeleton } from "@/components/ui/skeleton";
2026-03-09 16:31:21 -04:00
export default function DashboardPage() {
2026-03-09 16:31:21 -04:00
return (
<div className="space-y-6 sm:space-y-8">
<DashboardHero />
<StatCards />
<QuickActions />
<div>
<h2 className="mb-4 text-lg font-semibold tracking-tight">
All Response Cards
</h2>
<Suspense
fallback={
<div className="space-y-4">
<Skeleton className="h-10 w-full rounded-xl" />
<Skeleton className="h-[400px] w-full rounded-xl" />
</div>
}
>
<DashboardContent />
</Suspense>
</div>
2026-03-09 16:31:21 -04:00
</div>
);
}