From 4c7321f560b104f1a2137a1e30a5ff9e2a98714d Mon Sep 17 00:00:00 2001 From: Archben Date: Mon, 9 Mar 2026 16:57:12 +0000 Subject: [PATCH] Updates --- src/hooks/use-app-init.ts | 5 ----- src/styles/globals.css | 14 +++++++++++++- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/hooks/use-app-init.ts b/src/hooks/use-app-init.ts index 8518186..fb13a89 100644 --- a/src/hooks/use-app-init.ts +++ b/src/hooks/use-app-init.ts @@ -22,11 +22,6 @@ export default function useAppInit(pageProps: PagePropsType) { const ws = { socket, sendData }; - useEffect(() => { - console.log("wsURL", wsURL); - console.log("socket", socket); - }, [socket]); - return { socket, sendData, diff --git a/src/styles/globals.css b/src/styles/globals.css index 56d8f34..48cdbd0 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -30,7 +30,19 @@ } .nested-grid-frame { - @apply bg-foreground-light/10 dark:bg-foreground-dark/10 grid p-0! h-full; + @apply bg-background-light dark:bg-background-dark; + /* @apply bg-foreground-light/10 dark:bg-foreground-dark/10; */ + @apply grid p-0! h-full relative; +} + +.nested-grid-frame::after { + content: ""; + @apply bg-foreground-light/10 dark:bg-foreground-dark/10; + @apply absolute top-0 left-0 w-full h-full z-1; +} + +.nested-grid-frame .grid-cell { + @apply relative z-2; } .grid-frame.nested-grid-frame .grid-cell {