blog.z0x.ca/src/layouts/Layout.astro
z0x 36870785bc
All checks were successful
build dist / build-dist (push) Successful in 32s
refactor: biome lint
2025-04-24 22:12:22 -04:00

31 lines
642 B
Text

---
import Footer from "@/components/Footer.astro";
import Head from "@/components/Head.astro";
import Header from "@/components/Header.astro";
import { SITE } from "@/consts";
type Props = {
title: string;
description: string;
};
const { title, description } = Astro.props;
---
<!doctype html>
<html lang="en">
<head>
<Head title={`${title} | ${SITE.title}`} description={description} />
</head>
<body>
<div
class="box-border flex h-fit min-h-screen flex-col gap-y-6 font-sans antialiased"
>
<Header />
<main class="grow">
<slot />
</main>
<Footer />
</div>
</body>
</html>