2026-03-10 08:17:45 -04:00
|
|
|
import { Suspense } from "react";
|
|
|
|
|
import { DashboardContent } from "@/components/cards/dashboard-content";
|
2026-03-11 12:05:38 -04:00
|
|
|
import { DashboardHero } from "@/components/cards/dashboard-hero";
|
|
|
|
|
import { StatCards } from "@/components/cards/stat-cards";
|
|
|
|
|
import { QuickActions } from "@/components/cards/quick-actions";
|
2026-03-10 08:17:45 -04:00
|
|
|
import { Skeleton } from "@/components/ui/skeleton";
|
2026-03-09 16:31:21 -04:00
|
|
|
|
2026-03-10 08:17:45 -04:00
|
|
|
export default function DashboardPage() {
|
2026-03-09 16:31:21 -04:00
|
|
|
return (
|
2026-03-11 12:05:38 -04:00
|
|
|
<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>
|
|
|
|
|
);
|
|
|
|
|
}
|