From 965b14429dca7350e394371ca5669c807310aa57 Mon Sep 17 00:00:00 2001 From: Julien Froidefond Date: Tue, 4 Mar 2025 20:42:03 +0100 Subject: [PATCH] fix: dynamic island test 1 --- src/app/layout.tsx | 6 ++++-- src/components/layout/ClientLayout.tsx | 4 ++-- src/components/layout/Header.tsx | 2 +- src/styles/globals.css | 22 +++++++++++++++++++++- 4 files changed, 28 insertions(+), 6 deletions(-) diff --git a/src/app/layout.tsx b/src/app/layout.tsx index f87242e..c323d9e 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -63,7 +63,7 @@ export default async function RootLayout({ children }: { children: React.ReactNo const locale = cookieStore.get("NEXT_LOCALE")?.value || "fr"; return ( - + - + {children} diff --git a/src/components/layout/ClientLayout.tsx b/src/components/layout/ClientLayout.tsx index 715d3c0..924c968 100644 --- a/src/components/layout/ClientLayout.tsx +++ b/src/components/layout/ClientLayout.tsx @@ -64,11 +64,11 @@ export default function ClientLayout({ children }: { children: React.ReactNode } return ( -
+
{!isPublicRoute &&
} {!isPublicRoute && } -
{children}
+
{children}
diff --git a/src/components/layout/Header.tsx b/src/components/layout/Header.tsx index 1c74b42..2b66003 100644 --- a/src/components/layout/Header.tsx +++ b/src/components/layout/Header.tsx @@ -16,7 +16,7 @@ export function Header({ onToggleSidebar }: HeaderProps) { }; return ( -
+