Sticky footer
All checks were successful
Build and Deploy / build-and-deploy (push) Successful in 9s

This commit is contained in:
2026-03-31 14:05:52 +02:00
parent df6a0fa504
commit 23b6490532
3 changed files with 9 additions and 5 deletions

View File

@@ -2,7 +2,7 @@
// src/layouts/MainLayout.astro
import Header from "../components/Header.astro";
import Footer from "../components/Footer.astro";
import '../styles/global.css';
import "../styles/global.css";
interface Props {
title?: string;
@@ -26,8 +26,8 @@ const {
<body class="flex flex-col min-h-screen">
<Header />
<main class="flex-grow container mx-auto px-6 py-12">
<slot />
<main class="flex-grow w-full pb-6">
<div class="container mx-auto px-6 py-6"><slot /></div>
</main>
<Footer />