Create download page layout

This commit is contained in:
Dilson's Pickles
2023-02-14 15:29:20 +00:00
parent 8678e6a01b
commit 08a1e00b75

View File

@@ -0,0 +1,20 @@
---
import PaginationButton from "../components/PaginationButton.astro";
import Layout from "./Layout.astro";
export interface Props {
title: string;
}
const { title } = Astro.props;
---
<Layout title={title}>
<main>
<div class="max-w-sm sm:max-w-xl mx-auto px-4 mt-20 sm:mt-24 mb-24 lg:mb-40">
<h1 class="text-xl sm:text-2xl mb-6 sm:mb-8 font-bold text-gray-800">
{title}
</h1>
<slot />
</div>
</main>
</Layout>