import { Skeleton } from '@/components/ui/skeleton' /** * Shared loading fallback for the dashboard segment. It is the Suspense * fallback for Hem (app/(dashboard)/page.tsx) and for every child route that * has no loading.tsx of its own, so it deliberately mirrors Hem's silhouette: * a greeting hero (H1 + date line) followed by a single "Att göra"-style pane * of list rows (see DashboardContent / AttGoraSection). * * A greeting + hairline-separated rows reads honestly on Hem and stays neutral * on the plain list pages that fall back here (a page title + rows), which is * why it is not shaped like any one page's specific grid. */ export default function DashboardLoading() { return (
{/* Greeting hero (title + date line) */}
{/* Single pane: header over a hairline, then list rows */}
{['w-44', 'w-52', 'w-40', 'w-48', 'w-44'].map((w, i) => (
))}
) }