completed frontend v1

This commit is contained in:
2026-06-13 00:49:16 +03:00
parent 4a5357ee5f
commit 0d98a060e7
35 changed files with 1175 additions and 409 deletions
@@ -0,0 +1,18 @@
type LoadingStateProps = {
title?: string;
description?: string;
};
export function LoadingState({
title = "Loading",
description = "Fetching the latest data...",
}: LoadingStateProps) {
return (
<div className="rounded-xl border border-slate-200 bg-white p-8 text-center shadow-sm">
<div
className="mx-auto mb-4 h-8 w-8 animate-spin rounded-full border-4 border-slate-200 border-t-slate-900"/>
<h3 className="font-semibold text-slate-900">{title}</h3>
<p className="mt-1 text-sm text-slate-500">{description}</p>
</div>
);
}