mirror of
https://github.com/audacity/audacity.github.io.git
synced 2026-06-13 03:38:11 -05:00
Add version number to download page
This commit is contained in:
@@ -3,22 +3,26 @@ import BaseLayout from "./BaseLayout.astro";
|
||||
|
||||
export interface Props {
|
||||
title: string;
|
||||
subtitle: string;
|
||||
}
|
||||
const { title } = Astro.props;
|
||||
const { title, subtitle} = Astro.props;
|
||||
---
|
||||
|
||||
<BaseLayout title={title}>
|
||||
<div
|
||||
class="mx-auto max-w-lg sm:max-w-xl md:max-w-2xl lg:max-w-4xl xl:max-w-6xl mt-24 md:mt-40 lg:mt-48 px-3 sm:px-0 mb-24 xl:mb-40"
|
||||
>
|
||||
<section>
|
||||
<section class="mt-12 bg-gradient-to-b from-blue-600 to-indigo-600 ">
|
||||
<div class="max-w-6xl mx-auto pt-40 pb-12">
|
||||
<h1
|
||||
class="text-xl sm:text-2xl md:text-3xl lg:text-4xl font-bold text-gray-700"
|
||||
class="text-xl sm:text-2xl md:text-3xl lg:text-4xl font-bold text-white"
|
||||
>
|
||||
{title}
|
||||
</h1>
|
||||
</section>
|
||||
<p class="text-white">{subtitle}</p>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<div
|
||||
class="mx-auto max-w-lg sm:max-w-xl md:max-w-2xl lg:max-w-4xl xl:max-w-6xl px-3 sm:px-0 mb-24 xl:mb-40"
|
||||
>
|
||||
<slot />
|
||||
</div>
|
||||
</BaseLayout>
|
||||
|
||||
@@ -7,7 +7,7 @@ import PageLayout from "../../layouts/PageLayout.astro";
|
||||
const { win } = releaseData;
|
||||
---
|
||||
|
||||
<PageLayout title="Download for Windows">
|
||||
<PageLayout title="Download for Windows" subtitle="Latest version 3.2.3">
|
||||
<div class="lg:grid lg:grid-cols-12">
|
||||
<section class="col-span-6 mt-4 md:mt-8 lg:mt-12">
|
||||
<div class="flex flex-col gap-y-4">
|
||||
|
||||
Reference in New Issue
Block a user