fix: footer stay on bottom now

This commit is contained in:
seaznCode 2025-10-03 21:17:40 +02:00
parent 2e26e4bea1
commit f2b0ee448d
2 changed files with 5 additions and 5 deletions

View File

@ -25,21 +25,21 @@ export default function PageLayout({
const isMobile = isMobileDevice(); const isMobile = isMobileDevice();
return ( return (
<div className="min-h-screen w-full flex flex-col relative bg-white dark:bg-gray-900 text-gray-900 dark:text-gray-100 transition-colors m-0 p-0"> <div className="h-screen w-full flex flex-col relative bg-white dark:bg-gray-900 text-gray-900 dark:text-gray-100 transition-colors m-0 p-0 overflow-hidden">
{showHeader && ( {showHeader && (
<div className="relative z-50 w-full"> <div className="relative z-50 w-full flex-shrink-0">
<Header /> <Header />
</div> </div>
)} )}
{/* Main content */} {/* Main content */}
<div className="flex-1 relative z-10 w-full flex flex-col"> <div className="flex-1 relative z-10 w-full flex flex-col overflow-auto">
{children} {children}
</div> </div>
{showFooter && ( {showFooter && (
<div className="mt-auto relative z-50"> <div className="relative z-50 flex-shrink-0">
<Footer /> <Footer />
</div> </div>
)} )}

View File

@ -6,7 +6,7 @@ export default function HomePage() {
{/* Hero Section */} {/* Hero Section */}
<section <section
id="hero" id="hero"
className="relative isolate flex flex-col min-h-screen" className="relative isolate flex flex-col h-screen"
> >
{/* ...existing code (pattern SVG + blurred polygon) ... */} {/* ...existing code (pattern SVG + blurred polygon) ... */}
<svg <svg