From c1a6656b59d5c57540d659fda9c1988c95df0ea9 Mon Sep 17 00:00:00 2001 From: Alma Date: Tue, 8 Apr 2025 18:31:38 +0200 Subject: [PATCH] Nav Bar correct and iframe2 --- components/layout/layout-wrapper.tsx | 26 +++----------------------- 1 file changed, 3 insertions(+), 23 deletions(-) diff --git a/components/layout/layout-wrapper.tsx b/components/layout/layout-wrapper.tsx index c7d9b733..15b7462d 100644 --- a/components/layout/layout-wrapper.tsx +++ b/components/layout/layout-wrapper.tsx @@ -1,10 +1,8 @@ "use client"; import { MainNav } from "@/components/main-nav"; -import { Footer } from "@/components/footer"; import { AuthCheck } from "@/components/auth/auth-check"; import { Toaster } from "@/components/ui/toaster"; -import { useBackgroundImage } from "@/components/background-switcher"; interface LayoutWrapperProps { children: React.ReactNode; @@ -17,8 +15,6 @@ export function LayoutWrapper({ isSignInPage, isAuthenticated, }: LayoutWrapperProps) { - const { currentBackground, changeBackground } = useBackgroundImage(); - if (isSignInPage) { return <>{children}; } @@ -26,29 +22,13 @@ export function LayoutWrapper({ return (
-
- {!isSignInPage && isAuthenticated &&