From 0491789777723f50a429469ff3011249273c4b39 Mon Sep 17 00:00:00 2001 From: Tony Tran Date: Wed, 20 May 2026 10:22:41 +0700 Subject: [PATCH] copy lai AppShell.tsx --- src/components/AppShell.tsx | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/components/AppShell.tsx diff --git a/src/components/AppShell.tsx b/src/components/AppShell.tsx new file mode 100644 index 0000000..2fdf70e --- /dev/null +++ b/src/components/AppShell.tsx @@ -0,0 +1,32 @@ +import { ReactNode } from "react"; +import TopNav from "@/components/TopNav"; +import { useTheme } from "@/hooks/useTheme"; + +export default function AppShell({ children }: { children: ReactNode }) { + const { isDark } = useTheme(); + + return ( +
+ +
+ {children} +
+ +
+ ); +} \ No newline at end of file