From c661ed2b79b95ec3a964204420934c877ce1f421 Mon Sep 17 00:00:00 2001 From: Enzo prados Date: Wed, 25 Jun 2025 07:21:30 +0000 Subject: [PATCH 1/6] je crois toujour pas, met l'iframe au dessus du truc transparent qui nos --- src/app/(app)/layout.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/app/(app)/layout.tsx b/src/app/(app)/layout.tsx index 82bfed7..1e251b0 100644 --- a/src/app/(app)/layout.tsx +++ b/src/app/(app)/layout.tsx @@ -16,16 +16,18 @@ export default function AppLayout({ children }: { children: ReactNode }) { - {/* The main content area needs to allow scrolling, but the padded container inside should not block mouse events in its empty space. */} -
- {/* This div handles padding but lets the mouse pass through to the background. */} -
- {/* This div re-enables mouse events for the actual content rendered by children. */} + + {/* The main content area inherits pointer-events-none, letting mouse events pass through. */} +
+ {/* The padding container also inherits pointer-events-none. */} +
+ {/* This div re-enables pointer events ONLY for the content itself and its children. */}
{children}
+
From f7b7afc1181c31edfb9d348beb6075a12496d813 Mon Sep 17 00:00:00 2001 From: Enzo prados Date: Wed, 25 Jun 2025 07:23:55 +0000 Subject: [PATCH 2/6] =?UTF-8?q?marche=20tj=20pas=20xD=20(es-ce-qu'il=20ne?= =?UTF-8?q?=20prendrais=20pas=20le=20fond=20comme=20=C3=A9l=C3=A8ment=20pa?= =?UTF-8?q?r?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(app)/layout.tsx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/app/(app)/layout.tsx b/src/app/(app)/layout.tsx index 1e251b0..40de28d 100644 --- a/src/app/(app)/layout.tsx +++ b/src/app/(app)/layout.tsx @@ -14,20 +14,19 @@ export default function AppLayout({ children }: { children: ReactNode }) {
- + + {/* Header is clickable */} - {/* The main content area inherits pointer-events-none, letting mouse events pass through. */} -
- {/* The padding container also inherits pointer-events-none. */} -
- {/* This div re-enables pointer events ONLY for the content itself and its children. */} -
- {children} -
+ {/* Main area lets mouse events pass through */} +
+ {/* The content wrapper (with padding) re-enables mouse events for itself and children */} +
+ {children}
+ {/* Chatbot is clickable */}
From 1d5532c2db78465bedf77eb1306993d2cbd89574 Mon Sep 17 00:00:00 2001 From: Enzo prados Date: Wed, 25 Jun 2025 07:27:29 +0000 Subject: [PATCH 3/6] tj pas, mais sinon, on peut pas supr cette vitre ? --- src/app/(app)/layout.tsx | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/app/(app)/layout.tsx b/src/app/(app)/layout.tsx index 40de28d..9e3011a 100644 --- a/src/app/(app)/layout.tsx +++ b/src/app/(app)/layout.tsx @@ -1,4 +1,3 @@ - 'use client'; import { type ReactNode } from 'react'; @@ -14,19 +13,15 @@ export default function AppLayout({ children }: { children: ReactNode }) {
- - {/* Header is clickable */} + - {/* Main area lets mouse events pass through */} -
- {/* The content wrapper (with padding) re-enables mouse events for itself and children */} +
{children}
- {/* Chatbot is clickable */}
From 92a7ec89f6626d9927cee9cddcb2a14484a8b823 Mon Sep 17 00:00:00 2001 From: Enzo prados Date: Wed, 25 Jun 2025 07:29:14 +0000 Subject: [PATCH 4/6] tj pas xD --- src/app/(app)/layout.tsx | 14 ++++++-------- src/components/layout/AppSidebar.tsx | 7 +++---- 2 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/app/(app)/layout.tsx b/src/app/(app)/layout.tsx index 9e3011a..31e00c5 100644 --- a/src/app/(app)/layout.tsx +++ b/src/app/(app)/layout.tsx @@ -11,20 +11,18 @@ export default function AppLayout({ children }: { children: ReactNode }) { return ( -
- - - +
+ + +
-
+
{children}
-
- -
+
diff --git a/src/components/layout/AppSidebar.tsx b/src/components/layout/AppSidebar.tsx index 0ee6293..a47ecea 100644 --- a/src/components/layout/AppSidebar.tsx +++ b/src/components/layout/AppSidebar.tsx @@ -1,4 +1,3 @@ - 'use client'; import Link from 'next/link'; @@ -39,13 +38,13 @@ const bottomNavItems = [ { href: '/settings', label: 'Settings', icon: Settings }, ]; -export function AppSidebar() { +export function AppSidebar({ className }: { className?: string }) { const pathname = usePathname(); const { user, isLoading } = useAuth(); if (isLoading) { return ( - +
@@ -84,7 +83,7 @@ export function AppSidebar() { } return ( - + From 4ddf8b3dbbd78ec97345ee91bb431b3a255a5107 Mon Sep 17 00:00:00 2001 From: Enzo prados Date: Wed, 25 Jun 2025 07:39:48 +0000 Subject: [PATCH 5/6] toujour pas mdrrrr --- src/app/(app)/layout.tsx | 10 +++++----- src/components/layout/Chatbot.tsx | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/app/(app)/layout.tsx b/src/app/(app)/layout.tsx index 31e00c5..f2d17cc 100644 --- a/src/app/(app)/layout.tsx +++ b/src/app/(app)/layout.tsx @@ -11,12 +11,12 @@ export default function AppLayout({ children }: { children: ReactNode }) { return ( -
- - - +
+ + + -
+
{children}
diff --git a/src/components/layout/Chatbot.tsx b/src/components/layout/Chatbot.tsx index b86b742..d6669b5 100644 --- a/src/components/layout/Chatbot.tsx +++ b/src/components/layout/Chatbot.tsx @@ -74,7 +74,7 @@ export function Chatbot() { return ( <> - + Flowy Assistant @@ -134,7 +134,7 @@ export function Chatbot() {