+ {domSwitch === 0 ? (
+ <>
+ {[...Array(4)].map((_, i) => (
+
+ ))}
+ >
+ ) : (
+ <>
+ {[...Array(2)].map((_, i) => (
+
+ ))}
+ >
+ )}
+
+ >
+ );
+}
diff --git a/app/layout.tsx b/app/layout.tsx
index a978d9a5..a2374f8a 100644
--- a/app/layout.tsx
+++ b/app/layout.tsx
@@ -19,15 +19,7 @@ export default function RootLayout({
}) {
return (
-
- {children}
-
+ {children}
);
}
diff --git a/app/page.tsx b/app/page.tsx
index f669298a..19a49f13 100644
--- a/app/page.tsx
+++ b/app/page.tsx
@@ -1,9 +1,14 @@
+"use client";
+
import { ShaderFx } from "./ShaderFx";
+import { Home } from "./_home";
-export default function Home() {
+export default function Page() {
return (