diff --git a/app/(pages)/layout.tsx b/app/(pages)/layout.tsx index c014929..ed97bbf 100644 --- a/app/(pages)/layout.tsx +++ b/app/(pages)/layout.tsx @@ -18,13 +18,13 @@ export default async function PagesLayout({ return ( -
+
- {/* Ambient glow */} -
+ {/* Ambient glow — hidden on mobile where it overwhelms the viewport */} +
{children}
diff --git a/app/globals.css b/app/globals.css index f2399b0..5f92670 100644 --- a/app/globals.css +++ b/app/globals.css @@ -102,7 +102,7 @@ content: ""; position: fixed; inset: 0; - z-index: 9999; + z-index: 1; pointer-events: none; opacity: 0.015; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E"); diff --git a/app/layout.tsx b/app/layout.tsx index ee4af8c..41c9f79 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,5 +1,5 @@ import { MotionConfig } from "motion/react"; -import type { Metadata } from "next"; +import type { Metadata, Viewport } from "next"; import { DM_Sans, DM_Serif_Display, Geist_Mono } from "next/font/google"; import { TooltipProvider } from "@/components/ui/tooltip"; @@ -28,6 +28,14 @@ export const metadata: Metadata = { themeColor: "#090706", }; +export const viewport: Viewport = { + width: "device-width", + initialScale: 1, + maximumScale: 1, + userScalable: false, + viewportFit: "cover", +}; + export default function RootLayout({ children, }: Readonly<{ diff --git a/components/mobile-tab-bar.tsx b/components/mobile-tab-bar.tsx index 09013a1..4dffeac 100644 --- a/components/mobile-tab-bar.tsx +++ b/components/mobile-tab-bar.tsx @@ -19,7 +19,7 @@ export function MobileTabBar() { if (!session?.user) return null; return ( -