|
|
@ -17,16 +17,18 @@ 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} |
|
|
@ -34,10 +36,16 @@ const Logo: React.FC<LogoProps> = ({ |
|
|
|
src={img} |
|
|
|
alt="Logo" |
|
|
|
/> |
|
|
|
<h3 className="hidden font-bold ml-2 lg:flex items-center text-black">AQILA</h3> |
|
|
|
|
|
|
|
</div> |
|
|
|
|
|
|
|
) : ( |
|
|
|
"Logo Here" |
|
|
|
)} |
|
|
|
{imgLight && ( |
|
|
|
<div className="w-96 flex flex-row"> |
|
|
|
{" "} |
|
|
|
<Image |
|
|
|
width={40} |
|
|
|
height={40} |
|
|
@ -45,6 +53,8 @@ const Logo: React.FC<LogoProps> = ({ |
|
|
|
src={imgLight} |
|
|
|
alt="Logo-Light" |
|
|
|
/> |
|
|
|
<h3 className="hidden font-bold ml-2 lg:dark:flex items-center text-bronze-secondary">AQILA</h3> |
|
|
|
</div> |
|
|
|
)} |
|
|
|
</Link> |
|
|
|
); |
|
|
|