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