From d69677db7ea7dafc3bc20a1af6c9b0938848200c Mon Sep 17 00:00:00 2001 From: Stephen Gordon Date: Sun, 31 Mar 2024 18:49:37 +0100 Subject: [PATCH] trying to fix layout --- src/app/@auth/layout.tsx | 2 +- src/app/components/ui/VaulDrawer.tsx | 3 ++- src/app/components/ui/hover-border-gradient.tsx | 2 +- src/app/home/page.tsx | 2 +- src/app/layout.tsx | 7 +++++-- 5 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/app/@auth/layout.tsx b/src/app/@auth/layout.tsx index 125b457..cfb70ad 100644 --- a/src/app/@auth/layout.tsx +++ b/src/app/@auth/layout.tsx @@ -14,7 +14,7 @@ export default function ComponentsLayout({ <> {/* {children} */} - +
{children}
diff --git a/src/app/components/ui/VaulDrawer.tsx b/src/app/components/ui/VaulDrawer.tsx index a571dbb..03cc17f 100644 --- a/src/app/components/ui/VaulDrawer.tsx +++ b/src/app/components/ui/VaulDrawer.tsx @@ -12,6 +12,7 @@ export function VaulDrawer({children}) { return ( { dispatch(setSheet(false)); window.history.pushState({}, '', '/home'); @@ -21,7 +22,7 @@ export function VaulDrawer({children}) { > - + {children} diff --git a/src/app/components/ui/hover-border-gradient.tsx b/src/app/components/ui/hover-border-gradient.tsx index aab2d9b..6d4cfc1 100644 --- a/src/app/components/ui/hover-border-gradient.tsx +++ b/src/app/components/ui/hover-border-gradient.tsx @@ -64,7 +64,7 @@ export function HoverBorderGradient({ }} */ /* onMouseLeave={() => setHovered(false)} */ className={cn( - `relative flex h-min w-full flex-col flex-nowrap content-center items-center justify-center gap-10 overflow-visible rounded-xl border bg-black/${ + `relative flex h-min w-full flex-col flex-nowrap content-center items-center justify-center gap-10 overflow-visible rounded-xl border bg-black/${ hovered ? 10 : 0 } decoration-clone p-px transition duration-500 dark:bg-white/20`, containerClassName diff --git a/src/app/home/page.tsx b/src/app/home/page.tsx index dc28333..2c2aba6 100644 --- a/src/app/home/page.tsx +++ b/src/app/home/page.tsx @@ -117,7 +117,7 @@ export default function Page() { console.log('usdcBalance', usdcBalance); return ( -
+
{/*
diff --git a/src/app/layout.tsx b/src/app/layout.tsx index f51b21d..f8006cd 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -181,13 +181,16 @@ export default function RootLayout({ -
+
{auth} {drawer} {children} -
+