diff --git a/src/app/components/PageLayout.tsx b/src/app/components/PageLayout.tsx index e2f25b5..a7e071d 100644 --- a/src/app/components/PageLayout.tsx +++ b/src/app/components/PageLayout.tsx @@ -25,7 +25,7 @@ export default function PageLayout({ const isMobile = isMobileDevice(); return ( -
+
{showHeader && (
@@ -33,13 +33,13 @@ export default function PageLayout({
)} - {/* Main content scrolls naturally with page */} -
+ {/* Main content */} +
{children}
{showFooter && ( -
+
)} diff --git a/src/app/components/animation/pageTransitionEffect.tsx b/src/app/components/animation/pageTransitionEffect.tsx index 3d0ebe8..dab72c2 100644 --- a/src/app/components/animation/pageTransitionEffect.tsx +++ b/src/app/components/animation/pageTransitionEffect.tsx @@ -25,7 +25,7 @@ const PageTransitionEffect = ({ children }: { children: React.ReactNode }) => { animate="enter" exit="exit" transition={{ type: 'tween', duration: 0.3 }} - className="flex-1 w-full flex flex-col" + className="w-full" > {children} diff --git a/src/app/globals.css b/src/app/globals.css index 00cff9c..726a36e 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -20,6 +20,10 @@ } } +html { + overflow-x: hidden; +} + html, body { margin: 0; padding: 0; @@ -27,6 +31,7 @@ html, body { background: var(--background); color: var(--foreground); font-family: Arial, Helvetica, sans-serif; + overflow-x: hidden; } #__next { diff --git a/src/app/page.tsx b/src/app/page.tsx index c23cfc9..4607d8e 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -6,7 +6,7 @@ export default function HomePage() { {/* Hero Section */}
{/* ...existing code (pattern SVG + blurred polygon) ... */} - {/* removed h-full so it sizes to content */}