Skip to content

Commit ea28878

Browse files
committed
use side-by-side download buttons
1 parent a4372d9 commit ea28878

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

src/components/button/DownloadButton.jsx

+7-2
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,15 @@ function DownloadButton() {
3030
return (
3131
<a
3232
onClick={() => handleButtonClick(href)}
33-
className="text-white font-semibold hover:underline"
33+
className="text-white font-semibold hover:underline border-white border-2 py-3 px-4 rounded-md"
3434
href={href}
3535
>
36-
Download without Muse Hub
36+
<div className="flex items-center gap-4">
37+
<span className="icon icon-import"></span>
38+
<p className="text-white">
39+
<span>Download Audacity {audacityReleases.version}</span><br />
40+
<span className="font-light">Installs with no extras</span></p>
41+
</div>
3742
</a>
3843
);
3944
}

src/components/button/DownloadMuseHubButton.jsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ function DownloadMuseHubButton() {
4343
return (
4444
<a
4545
onClick={() => handleButtonClick(href)}
46-
className="flex py-3 px-4 gap-3 rounded-md justify-center bg-yellow-300 hover:bg-yellow-400 active:bg-yellow-500 w-fit"
46+
className="flex py-3 px-4 gap-3 rounded-md items-center bg-yellow-300 hover:bg-yellow-400 active:bg-yellow-500 w-fit"
4747
href={href}
4848
>
4949
<span className="icon icon-import"></span>
5050
<p>
5151
<span className="font-semibold">
52-
Download Audacity {audacityReleases.version}</span><br/>
53-
{false && <span className="font-light text-s">via MuseHub</span>}
52+
Audacity + free effects & samples</span><br/>
53+
<span className="font-light text-s">via MuseHub Installer</span>
5454
</p>
5555
</a>
5656
);

src/components/homepage/HeroBanner.astro

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import DownloadMuseHubButton from "../button/DownloadMuseHubButton";
1111
<div
1212
class="mx-auto"
1313
>
14-
<h1 class="leading-tight m-2 text-white text-balance">
14+
<h1 class="leading-tight m-2 text-white text-balance text-center p-8">
1515
Audacity is the world's most popular audio editing and recording app
1616
</h1>
1717

0 commit comments

Comments
 (0)