Spaces:
Sleeping
Sleeping
feat: add web/app/dashboard-pages/settings/loading.tsx
Browse files
web/app/dashboard-pages/settings/loading.tsx
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
import { Settings } from "lucide-react";
|
| 2 |
+
|
| 3 |
+
export default function SettingsLoading() {
|
| 4 |
+
return (
|
| 5 |
+
<div className="min-h-screen bg-zinc-50/30">
|
| 6 |
+
<div className="max-w-3xl mx-auto px-4 sm:px-6 py-8 sm:py-12">
|
| 7 |
+
<div className="flex items-center gap-3 mb-8">
|
| 8 |
+
<Settings className="w-6 h-6 text-zinc-400 animate-pulse" />
|
| 9 |
+
<div className="h-7 w-28 bg-zinc-200 rounded-lg animate-pulse" />
|
| 10 |
+
</div>
|
| 11 |
+
{[...Array(3)].map((_, i) => (
|
| 12 |
+
<div key={i} className="bg-white rounded-xl p-6 border border-zinc-200 mb-4">
|
| 13 |
+
<div className="h-5 w-32 bg-zinc-200 rounded animate-pulse mb-4" />
|
| 14 |
+
<div className="space-y-3">
|
| 15 |
+
<div className="h-10 bg-zinc-50 rounded-lg animate-pulse" />
|
| 16 |
+
<div className="h-10 bg-zinc-50 rounded-lg animate-pulse" />
|
| 17 |
+
</div>
|
| 18 |
+
</div>
|
| 19 |
+
))}
|
| 20 |
+
</div>
|
| 21 |
+
</div>
|
| 22 |
+
);
|
| 23 |
+
}
|