fix: esconde texto OCCTO ENG quando logo está presente
- Header: mostra apenas logo (150x50) - Footer: mostra apenas logo - Admin: mostra apenas logo
This commit is contained in:
@@ -265,20 +265,22 @@ export default function AdminLayout({
|
||||
{logo ? (
|
||||
<Image
|
||||
src={logo}
|
||||
alt="Logo"
|
||||
width={32}
|
||||
height={32}
|
||||
className="object-contain"
|
||||
alt="OCCTO Engenharia"
|
||||
width={isSidebarOpen ? 120 : 32}
|
||||
height={40}
|
||||
className="object-contain h-10 w-auto"
|
||||
unoptimized
|
||||
/>
|
||||
) : (
|
||||
<i className="ri-building-2-fill text-3xl text-primary"></i>
|
||||
)}
|
||||
{isSidebarOpen && (
|
||||
<div className="flex items-center gap-2 animate-in fade-in duration-300">
|
||||
<span className="text-xl font-bold text-secondary dark:text-white font-headline leading-none">OCCTO</span>
|
||||
<span className="text-[10px] font-bold text-primary bg-primary/10 px-2 py-1 rounded-md uppercase tracking-wider">ENG.</span>
|
||||
</div>
|
||||
<>
|
||||
<i className="ri-building-2-fill text-3xl text-primary"></i>
|
||||
{isSidebarOpen && (
|
||||
<div className="flex items-center gap-2 animate-in fade-in duration-300">
|
||||
<span className="text-xl font-bold text-secondary dark:text-white font-headline leading-none">OCCTO</span>
|
||||
<span className="text-[10px] font-bold text-primary bg-primary/10 px-2 py-1 rounded-md uppercase tracking-wider">ENG.</span>
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
)}
|
||||
</Link>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user