mirror of
https://github.com/audacity/audacity.github.io.git
synced 2026-06-04 21:17:25 -05:00
Create download for windows page
This commit is contained in:
25
src/components/OSDownloadCard.astro
Normal file
25
src/components/OSDownloadCard.astro
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
interface Props {
|
||||
title: string;
|
||||
checksum: string;
|
||||
downloadURL: string;
|
||||
}
|
||||
|
||||
const { title, checksum, downloadURL } = Astro.props as Props;
|
||||
---
|
||||
|
||||
<div class="flex flex-col border box-content border-gray-200 px-6 py-8 rounded-md mb-4">
|
||||
<h5 class="font-bold mb-2">{title}</h5>
|
||||
<div>
|
||||
<p class="mb-1">Check sum</p>
|
||||
<div class="bg-gray-100 border border-gray-200 rounded-sm p-2 mb-6">
|
||||
<span class="break-words">{checksum}</span>
|
||||
</div>
|
||||
</div>
|
||||
<a
|
||||
href={downloadURL}
|
||||
download={title}
|
||||
class="flex h-10 items-center justify-center w-fit px-3 text-base border border-blue-700 text-blue-700 rounded-sm"
|
||||
>Download</a
|
||||
>
|
||||
</div>
|
||||
43
src/pages/downloads/download-for-windows.astro
Normal file
43
src/pages/downloads/download-for-windows.astro
Normal file
@@ -0,0 +1,43 @@
|
||||
---
|
||||
import OSDownloadCard from "../../components/OSDownloadCard.astro";
|
||||
import Layout from "../../layouts/Layout.astro";
|
||||
---
|
||||
|
||||
<Layout title="Audacity | Home">
|
||||
<main class="container mx-auto mb-24">
|
||||
<div class="pt-32 mb-12 mx-24">
|
||||
<h2 class="text-4xl font-semibold">Download for Windows</h2>
|
||||
<p class="text-base">Version 3.3.1</p>
|
||||
</div>
|
||||
<div class="grid grid-cols-12 grid-flow-row auto-rows-max mx-24">
|
||||
<div class="col-span-8">
|
||||
<div class="mb-20">
|
||||
<h4 class="font-bold text-lg mb-4">64-bit</h4>
|
||||
<OSDownloadCard
|
||||
title="Audacity 3.2.4 64 bit installer"
|
||||
downloadURL="https://github.com/audacity/audacity/releases/download/Audacity-3.2.4/audacity-win-3.2.4-x64.exe"
|
||||
checksum="82762426cd3256d30d065b3f99d2f4e20e5ad1944cf25ed4c094ad2690c9b730"
|
||||
/>
|
||||
<OSDownloadCard
|
||||
title="Audacity 3.2.4 64 bit .zip installer"
|
||||
downloadURL="https://github.com/audacity/audacity/releases/download/Audacity-3.2.4/audacity-win-3.2.4-x64.exe"
|
||||
checksum="82762426cd3256d30d065b3f99d2f4e20e5ad1944cf25ed4c094ad2690c9b730"
|
||||
/>
|
||||
</div>
|
||||
<div class="mb-20">
|
||||
<h4 class="font-bold text-lg mb-4">32-bit</h4>
|
||||
<OSDownloadCard
|
||||
title="Audacity 3.2.4 32 bit installer"
|
||||
downloadURL="https://github.com/audacity/audacity/releases/download/Audacity-3.2.4/audacity-win-3.2.4-x64.exe"
|
||||
checksum="82762426cd3256d30d065b3f99d2f4e20e5ad1944cf25ed4c094ad2690c9b730"
|
||||
/>
|
||||
<OSDownloadCard
|
||||
title="Audacity 3.2.4 32 bit .zip installer"
|
||||
downloadURL="https://github.com/audacity/audacity/releases/download/Audacity-3.2.4/audacity-win-3.2.4-x64.exe"
|
||||
checksum="82762426cd3256d30d065b3f99d2f4e20e5ad1944cf25ed4c094ad2690c9b730"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</Layout>
|
||||
Reference in New Issue
Block a user