Add version number to download page

This commit is contained in:
Dilson's Pickles
2023-02-28 10:06:01 +00:00
parent bd8fe1d34c
commit ebeca949a7
2 changed files with 12 additions and 8 deletions

View File

@@ -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>

View File

@@ -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">