From c8b65c6cf0414b27775a293b943ee2416cb2f252 Mon Sep 17 00:00:00 2001 From: priyanshuvish Date: Thu, 16 Oct 2025 13:55:31 +0530 Subject: [PATCH] faqpage added and logo change --- src/AppRouter.tsx | 6 + src/Layout.tsx | 16 +- src/assets/cityLogo.png | Bin 0 -> 36136 bytes src/components/FooterBrand.tsx | 4 +- src/components/Navbar.tsx | 4 +- src/pages/FAQPage.tsx | 672 +++++++++++++++++++++++++++++++++ 6 files changed, 688 insertions(+), 14 deletions(-) create mode 100644 src/assets/cityLogo.png create mode 100644 src/pages/FAQPage.tsx diff --git a/src/AppRouter.tsx b/src/AppRouter.tsx index e4cd05d..878eea2 100644 --- a/src/AppRouter.tsx +++ b/src/AppRouter.tsx @@ -247,6 +247,12 @@ export function AppRouter({ } /> + + + + } /> + diff --git a/src/Layout.tsx b/src/Layout.tsx index 9048fdb..8416e05 100644 --- a/src/Layout.tsx +++ b/src/Layout.tsx @@ -12,7 +12,7 @@ interface LayoutProps { children: ReactNode; activeCity?: string; showCitySubmenu?: boolean; - onSignInClick: () => void; + onSignInClick?: () => void; // ✅ optional onSignOutClick?: () => void; user?: User | null; } @@ -30,25 +30,21 @@ export function Layout({ {/* Navbar */} { - // Handle city change if needed - }} - onSignInClick={onSignInClick} + onCityChange={() => {}} + onSignInClick={() => onSignInClick?.()} // ✅ safe optional call onSignOutClick={onSignOutClick} isUserSignedIn={!!user} user={user} /> - {/* City Submenu - Conditionally rendered */} + {/* City Submenu */} {showCitySubmenu && {}} />} {/* Main Content */} -
- {children} -
+
{children}
{/* Footer */}