feat: enhance template visual

This commit is contained in:
2026-04-25 18:36:35 +02:00
parent 92305c1a12
commit 96954a4d7f
5 changed files with 19 additions and 15 deletions
+6 -8
View File
@@ -1,15 +1,13 @@
'use client'
'use client';
type SpinnerProps = {
text?: string
}
text?: string;
};
export default function Spinner({ text = '' }: SpinnerProps) {
return (
<div className="relative flex items-center justify-center min-h-screen bg-primary text-primary transition-theme">
<div className="absolute text-muted text-sm tracking-widest">
{text}
</div>
<div className="absolute text-muted text-sm tracking-widest">{text}</div>
{/* Spinner */}
<div className="relative h-14 w-14">
@@ -17,5 +15,5 @@ export default function Spinner({ text = '' }: SpinnerProps) {
<div className="absolute inset-0 rounded-full border-4 border-transparent border-t-[var(--accent)] animate-spin transition-theme" />
</div>
</div>
)
}
);
}