|
|
@ -17,34 +17,44 @@ const Logo: React.FC<LogoProps> = ({ |
|
|
|
imgLight = logoLightImg, |
|
|
|
className = "w-24", |
|
|
|
}) => { |
|
|
|
|
|
|
|
return ( |
|
|
|
<Link |
|
|
|
href="/" |
|
|
|
className={`ttnc-logo inline-block text-primary-6000 focus:outline-none focus:ring-0 ${className}`} |
|
|
|
className={`ttnc-logo flex text-primary-6000 focus:outline-none focus:ring-0 ${className}`} |
|
|
|
> |
|
|
|
{/* <LogoSvgLight /> */} |
|
|
|
{/* THIS USE FOR MY CLIENT */} |
|
|
|
{/* PLEASE UN COMMENT BELLOW CODE AND USE IT */} |
|
|
|
|
|
|
|
{img ? ( |
|
|
|
<div className={`w-96 flex flex-row max-h-12 ${imgLight ? "dark:hidden" : ""}`}> |
|
|
|
|
|
|
|
<Image |
|
|
|
width={40} |
|
|
|
height={40} |
|
|
|
width={40} |
|
|
|
height={40} |
|
|
|
className={`block max-h-12 ${imgLight ? "dark:hidden" : ""}`} |
|
|
|
src={img} |
|
|
|
alt="Logo" |
|
|
|
/> |
|
|
|
<h3 className="hidden font-bold ml-2 lg:flex items-center text-black">AQILA</h3> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
) : ( |
|
|
|
"Logo Here" |
|
|
|
)} |
|
|
|
{imgLight && ( |
|
|
|
<Image |
|
|
|
width={40} |
|
|
|
height={40} |
|
|
|
className="hidden max-h-12 dark:block" |
|
|
|
src={imgLight} |
|
|
|
alt="Logo-Light" |
|
|
|
/> |
|
|
|
<div className="w-96 flex flex-row"> |
|
|
|
{" "} |
|
|
|
<Image |
|
|
|
width={40} |
|
|
|
height={40} |
|
|
|
className="hidden max-h-12 dark:block" |
|
|
|
src={imgLight} |
|
|
|
alt="Logo-Light" |
|
|
|
/> |
|
|
|
<h3 className="hidden font-bold ml-2 lg:dark:flex items-center text-bronze-secondary">AQILA</h3> |
|
|
|
</div> |
|
|
|
)} |
|
|
|
</Link> |
|
|
|
); |
|
|
|