This commit is contained in:
Dominik Klarkowski
2026-06-22 15:19:38 +02:00
parent 763321ec68
commit 4b3373869b
34 changed files with 268 additions and 143 deletions

View File

@@ -10,14 +10,14 @@ type EmptyStateProps = {
export function EmptyState({ title, description, action, icon }: EmptyStateProps) {
return (
<div className="flex flex-col items-center justify-center gap-2 rounded-lg border border-dashed border-muted/40 px-6 py-10 text-center">
<div className="flex flex-col items-center justify-center gap-2 rounded-2xl border border-dashed border-white/10 px-6 py-10 text-center">
{icon ? <div className="text-fg/40">{icon}</div> : null}
<div className="text-base font-semibold text-fg">{title}</div>
{description ? <p className="max-w-sm text-sm text-fg/60">{description}</p> : null}
{action ? (
<Link
href={action.href}
className="mt-2 rounded-md bg-accent px-4 py-2 text-sm font-semibold text-fg transition-opacity hover:opacity-90"
className="btn btn-primary mt-2"
>
{action.label}
</Link>