---
import BaseHead from '@/components/BaseHead.astro';
import Footer from '@/components/sections/footer';
import Navbar from '@/components/sections/navbar';

const { title, description } = Astro.props;
---

<html lang="en">
    <head>		
        <BaseHead title={title} description={description}  />
    </head>
    <body class={`h-screen antialiased flex flex-col`}
    >
        <Navbar currentPage={Astro.url.pathname} client:only='react' />
        <main class="flex-1"><slot /></main>
        <Footer />
    </body>
</html>
