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,21 +265,23 @@ export default function AdminLayout({
|
|||||||
{logo ? (
|
{logo ? (
|
||||||
<Image
|
<Image
|
||||||
src={logo}
|
src={logo}
|
||||||
alt="Logo"
|
alt="OCCTO Engenharia"
|
||||||
width={32}
|
width={isSidebarOpen ? 120 : 32}
|
||||||
height={32}
|
height={40}
|
||||||
className="object-contain"
|
className="object-contain h-10 w-auto"
|
||||||
unoptimized
|
unoptimized
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
|
<>
|
||||||
<i className="ri-building-2-fill text-3xl text-primary"></i>
|
<i className="ri-building-2-fill text-3xl text-primary"></i>
|
||||||
)}
|
|
||||||
{isSidebarOpen && (
|
{isSidebarOpen && (
|
||||||
<div className="flex items-center gap-2 animate-in fade-in duration-300">
|
<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-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>
|
<span className="text-[10px] font-bold text-primary bg-primary/10 px-2 py-1 rounded-md uppercase tracking-wider">ENG.</span>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
@@ -64,19 +64,21 @@ export default function Footer() {
|
|||||||
{contact.logo ? (
|
{contact.logo ? (
|
||||||
<Image
|
<Image
|
||||||
src={contact.logo}
|
src={contact.logo}
|
||||||
alt="Logo"
|
alt="OCCTO Engenharia"
|
||||||
width={40}
|
width={150}
|
||||||
height={40}
|
height={50}
|
||||||
className="object-contain"
|
className="object-contain h-12 w-auto"
|
||||||
unoptimized
|
unoptimized
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
|
<>
|
||||||
<i className="ri-building-2-fill text-4xl text-primary"></i>
|
<i className="ri-building-2-fill text-4xl text-primary"></i>
|
||||||
)}
|
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<span className="text-2xl font-bold font-headline">OCCTO</span>
|
<span className="text-2xl font-bold font-headline">OCCTO</span>
|
||||||
<span className="text-[10px] font-bold text-primary bg-white/10 px-2 py-1 rounded-md uppercase tracking-wider">ENG.</span>
|
<span className="text-[10px] font-bold text-primary bg-white/10 px-2 py-1 rounded-md uppercase tracking-wider">ENG.</span>
|
||||||
</div>
|
</div>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<p className="text-gray-400 mb-6">
|
<p className="text-gray-400 mb-6">
|
||||||
{t('footer.description')}
|
{t('footer.description')}
|
||||||
|
|||||||
@@ -114,19 +114,21 @@ export default function Header() {
|
|||||||
{logo ? (
|
{logo ? (
|
||||||
<Image
|
<Image
|
||||||
src={logo}
|
src={logo}
|
||||||
alt="Logo"
|
alt="OCCTO Engenharia"
|
||||||
width={40}
|
width={150}
|
||||||
height={40}
|
height={50}
|
||||||
className="object-contain group-hover:scale-105 transition-transform"
|
className="object-contain group-hover:scale-105 transition-transform h-12 w-auto"
|
||||||
unoptimized
|
unoptimized
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
|
<>
|
||||||
<i className="ri-building-2-fill text-4xl text-primary group-hover:scale-105 transition-transform"></i>
|
<i className="ri-building-2-fill text-4xl text-primary group-hover:scale-105 transition-transform"></i>
|
||||||
)}
|
|
||||||
<div className="flex items-center gap-2">
|
<div className="flex items-center gap-2">
|
||||||
<span className="text-3xl font-bold text-secondary dark:text-white font-headline leading-none">OCCTO</span>
|
<span className="text-3xl 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>
|
<span className="text-[10px] font-bold text-primary bg-primary/10 px-2 py-1 rounded-md uppercase tracking-wider">ENG.</span>
|
||||||
</div>
|
</div>
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</Link>
|
</Link>
|
||||||
|
|
||||||
<div className="hidden md:flex items-center gap-4">
|
<div className="hidden md:flex items-center gap-4">
|
||||||
|
|||||||
Reference in New Issue
Block a user