feat: implement dashboard page and add loading skeletons for all dashboard modules

This commit is contained in:
Michael committed 2026-04-03 07:12:15 +02:00
1 parent b39e010903
commit a4debe992b
8 files changed
+158 -2

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
export default function SnapshotsLoading() {
return (
<div className="flex flex-col gap-6 animate-pulse">
{/* Header */}
<div className="flex items-center justify-between">
<div className="h-7 w-36 rounded-lg bg-[var(--bg-elevated)]" />
<div className="h-9 w-36 rounded-lg bg-[var(--bg-elevated)]" />
</div>
{/* Cards grid */}
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
{Array.from({ length: 6 }).map((_, i) => (
<div key={i} className="h-36 rounded-2xl bg-[var(--bg-elevated)] border border-[var(--border)]" />
))}
</div>
</div>
);
}