refactor(loading): update LoadingOverlay to display dynamic title instead of static text

This commit is contained in:
Usman Baig
2026-01-22 16:06:32 +01:00
parent bf9b359cd6
commit a2f266b186

View File

@@ -30,8 +30,8 @@ export default function LoadingOverlay({
alt={typeof title === 'string' ? title : "Pulse"}
className="h-12 w-auto object-contain"
/>
<span className="text-3xl tracking-tight text-neutral-900 dark:text-white">
<span className="font-bold">Ciphera</span><span className="font-light">Pulse</span>
<span className="text-3xl font-bold tracking-tight text-neutral-900 dark:text-white">
{title}
</span>
</div>
<div className="h-8 w-8 animate-spin rounded-full border-4 border-neutral-200 border-t-brand-orange dark:border-neutral-800 dark:border-t-brand-orange" />