---
import "../styles/base.css";
import BaseHead from "./BaseHead.astro";
import Header from "../components/layout/Header.astro";
import Footer from "../components/layout/Footer.astro";
import ThemeToggle from "../islands/ThemeToggle.jsx";


const { seo } = Astro.props;
---

<html lang="pl" class="scroll-smooth">
  <BaseHead seo={seo} />

  <body class="min-h-screen flex flex-col">
    <Header />

    <main class="flex-1">
      <slot />
    </main>

    <Footer />

     <div class="fixed right-4 bottom-4 z-50">
      <ThemeToggle client:load />
    </div>
  </body>
</html>
