From 101620ce921290f8392498c8d2b07862cdc7fddf Mon Sep 17 00:00:00 2001 From: sina_sajjadi Date: Sat, 7 Sep 2024 17:24:49 +0330 Subject: [PATCH] Logo Fixed --- .../(client-components)/(Header)/MainNav1.tsx | 2 +- src/shared/Logo.tsx | 32 ++++++++++++------- 2 files changed, 22 insertions(+), 12 deletions(-) diff --git a/src/app/(client-components)/(Header)/MainNav1.tsx b/src/app/(client-components)/(Header)/MainNav1.tsx index 0b9b15e..dbfaad3 100644 --- a/src/app/(client-components)/(Header)/MainNav1.tsx +++ b/src/app/(client-components)/(Header)/MainNav1.tsx @@ -24,7 +24,7 @@ const MainNav1: FC = ({ className = "" }) => {
- +
diff --git a/src/shared/Logo.tsx b/src/shared/Logo.tsx index 971743d..b6eff33 100644 --- a/src/shared/Logo.tsx +++ b/src/shared/Logo.tsx @@ -17,34 +17,44 @@ const Logo: React.FC = ({ imgLight = logoLightImg, className = "w-24", }) => { - return ( {/* */} {/* THIS USE FOR MY CLIENT */} {/* PLEASE UN COMMENT BELLOW CODE AND USE IT */} + {img ? ( +
+ Logo +

AQILA

+ +
+ ) : ( "Logo Here" )} {imgLight && ( - Logo-Light +
+ {" "} + Logo-Light +

AQILA

+
)} );