mirror of
https://github.com/audacity/audacity.github.io.git
synced 2026-06-08 21:06:17 -05:00
Create download page layout
This commit is contained in:
20
src/layouts/DownloadPageLayout.astro
Normal file
20
src/layouts/DownloadPageLayout.astro
Normal 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>
|
||||
Reference in New Issue
Block a user