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();
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 && (
<div className="relative z-50 w-full">
<div className="relative z-50 w-full flex-shrink-0">
<Header />
</div>
)}
{/* 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}
</div>
{showFooter && (
<div className="mt-auto relative z-50">
<div className="relative z-50 flex-shrink-0">
<Footer />
</div>
)}

View File

@ -6,7 +6,7 @@ export default function HomePage() {
{/* Hero Section */}
<section
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) ... */}
<svg