2026-03-10 08:17:45 -04:00
|
|
|
import { Suspense } from "react";
|
|
|
|
|
import { Header } from "@/components/layout/header";
|
|
|
|
|
import { DashboardContent } from "@/components/cards/dashboard-content";
|
|
|
|
|
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-10 08:17:45 -04:00
|
|
|
<div className="space-y-6">
|
|
|
|
|
<Header
|
|
|
|
|
title="Response Cards"
|
|
|
|
|
description="Manage scanned response cards from Echo Life Church"
|
|
|
|
|
/>
|
|
|
|
|
<Suspense
|
|
|
|
|
fallback={
|
|
|
|
|
<div className="space-y-4">
|
|
|
|
|
<Skeleton className="h-10 w-full" />
|
|
|
|
|
<Skeleton className="h-[400px] w-full" />
|
|
|
|
|
</div>
|
|
|
|
|
}
|
|
|
|
|
>
|
|
|
|
|
<DashboardContent />
|
|
|
|
|
</Suspense>
|
2026-03-09 16:31:21 -04:00
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|