Files
portfolio/src/layouts/MainLayout.astro
Nathan Cummins a37051afce
Some checks are pending
Build and Deploy to Web Server / deploy (push) Has started running
Pad content to footer, better handle carousel
2025-08-21 16:19:18 +09:30

38 lines
736 B
Plaintext

---
interface Props {
title?: string;
subtitle?: string;
description?: string;
navbarDisplay?: "normal" | "transparent";
image?: SiteImage;
}
const {
title,
subtitle,
description,
navbarDisplay = "normal",
image
} = Astro.props;
import "@/styles/global.css";
import Footer from "@components/Footer.astro";
import Navbar from "@components/Navbar.astro";
import Player from "@components/Player.astro";
import MainHead from "@layouts/MainHead.astro";
---
<!doctype html>
<html lang="en">
<MainHead {title} {subtitle} {description} {image} />
<body class="flex min-h-svh flex-col">
<Navbar {navbarDisplay} />
<main class="grow">
<slot />
</main>
<Footer />
<Player />
</body>
</html>