From 049c4ea01a08a89cfab9d2aa6eb48706afa8eee1 Mon Sep 17 00:00:00 2001 From: shiva raj badu Date: Mon, 12 May 2025 18:39:44 +0545 Subject: [PATCH] initial slide footer not visible --- .../components/slide_layouts/SlideFooter.tsx | 184 +++++++++--------- servers/nextjs/app/setting/SettingPage.tsx | 2 +- servers/nextjs/components/Home.tsx | 4 +- 3 files changed, 99 insertions(+), 91 deletions(-) diff --git a/servers/nextjs/app/(presentation-generator)/components/slide_layouts/SlideFooter.tsx b/servers/nextjs/app/(presentation-generator)/components/slide_layouts/SlideFooter.tsx index 906f6ee9..f4f574a3 100644 --- a/servers/nextjs/app/(presentation-generator)/components/slide_layouts/SlideFooter.tsx +++ b/servers/nextjs/app/(presentation-generator)/components/slide_layouts/SlideFooter.tsx @@ -248,95 +248,103 @@ const SlideFooter: React.FC = () => { id="footer" className="absolute hidden lg:grid z-10 cursor-pointer px-6 grid-cols-3 items-end left-1/2 -translate-x-1/2 justify-between bottom-5 w-full" > -
- {footerProperties.logoProperties.showLogo && - (footerProperties.logoProperties.logoPosition === "left" ? ( - getLogoImageSrc() !== "" ? ( - - ) : ( -
-
- + {(!footerProperties.logoProperties.showLogo && !footerProperties.footerMessage.showMessage) ? ( +
+ Click to add footer +
+ ) : ( + <> +
+ {footerProperties.logoProperties.showLogo && + (footerProperties.logoProperties.logoPosition === "left" ? ( + getLogoImageSrc() !== "" ? ( + + ) : ( +
+
+ +
+

Insert Your Logo

+
+ ) + ) : ( +
+ ))} +
+ +
+ +
+ +
+ {footerProperties.logoProperties.showLogo && + footerProperties.logoProperties.logoPosition === "right" ? ( + getLogoImageSrc() !== "" ? ( +
+
-

Insert Your Logo

-
- ) - ) : ( -
- ))} -
- -
- -
- -
- {footerProperties.logoProperties.showLogo && - footerProperties.logoProperties.logoPosition === "right" ? ( - getLogoImageSrc() !== "" ? ( -
- -
- ) : ( -
-
- -
-

Insert Your Logo

-
- ) - ) : ( -
- )} -
+ ) : ( +
+
+ +
+

Insert Your Logo

+
+ ) + ) : ( +
+ )} +
+ + )}
diff --git a/servers/nextjs/app/setting/SettingPage.tsx b/servers/nextjs/app/setting/SettingPage.tsx index fe235ec8..681a82ec 100644 --- a/servers/nextjs/app/setting/SettingPage.tsx +++ b/servers/nextjs/app/setting/SettingPage.tsx @@ -97,7 +97,7 @@ const SettingsPage = () => { } return ( -
+
diff --git a/servers/nextjs/components/Home.tsx b/servers/nextjs/components/Home.tsx index 994eeaa9..78a25be0 100644 --- a/servers/nextjs/components/Home.tsx +++ b/servers/nextjs/components/Home.tsx @@ -127,7 +127,7 @@ export default function Home() { if (isLoading) { return ( -
+

Loading configuration...

@@ -188,7 +188,7 @@ export default function Home() { }; return ( -
+
{/* Branding Header */}