Files
michaelrausch-24/src/layouts/PageLayout.astro
T
Michael 896243fcee boop
2024-11-27 11:27:26 +00:00

28 lines
538 B
Plaintext

---
import Head from "@components/Head.astro";
import Header from "@components/Header.astro";
import Footer from "@components/Footer.astro";
import { SITE } from "@consts";
type Props = {
title: string;
description: string;
redirect?: string;
};
const { title, description, redirect } = Astro.props;
---
<!doctype html>
<html lang="en">
<head>
<Head title={`${title} | ${SITE.NAME}`} description={description} redirect={redirect}/>
</head>
<body>
<main>
<slot />
</main>
<Footer />
</body>
</html>