website: add back download buttons

This commit is contained in:
Kingkor Roy Tirtho 2025-09-12 00:19:00 +06:00
parent c36e819ba3
commit 97370712bc
3 changed files with 87 additions and 109 deletions

View File

@ -51,16 +51,21 @@ export const extendedDownloadLinks: Record<
"exe",
],
macOS: [`${releasesUrl}/Spotube-macos-universal.dmg`, [FaApple], "dmg"],
"Ubuntu, Debian": [
"Ubuntu, Debian (x64)": [
`${releasesUrl}/Spotube-linux-x86_64.deb`,
[FaUbuntu, FaDebian],
"deb",
],
"Fedora, Redhat, Opensuse": [
`${releasesUrl}/Spotube-linux-x86_64.rpm`,
[FaFedora, FaRedhat, FaOpensuse],
"rpm",
"Ubuntu, Debian (arm64)": [
`${releasesUrl}/Spotube-linux-aarch64.deb`,
[FaUbuntu, FaDebian],
"deb",
],
// "Fedora, Redhat, Opensuse": [
// `${releasesUrl}/Spotube-linux-x86_64.rpm`,
// [FaFedora, FaRedhat, FaOpensuse],
// "rpm",
// ],
iPhone: [`${releasesUrl}/Spotube-iOS.ipa`, [FaApple], "ipa"],
};

View File

@ -22,34 +22,7 @@ const otherDownloads: [string, string, IconType][] = [
<br /><br />
<h5 class="h5">Spotube is available for every platform</h5>
<br />
<!-- WARNING! -->
<h3 class="h3 text-red-500" data-svelte-h="svelte-1l4b696">
Versions of Spotube (&lt;=v4.0.2) are ceased to work with Spotify™ API.
<br />
So users can no longer use/download those versions.
<br />
Please wait for the next version that will remedy this issue by not using such
APIs.
</h3>
<p class="text-surface-500 mt-5" data-svelte-h="svelte-1nkw9cu">
Spotube has no affiliation with Spotify™ or any of its subsidiaries.
</p>
<br />
<br />
<!-- <DownloadItems links={extendedDownloadLinks} /> -->
<h6 class="h6 mb-5" data-svelte-h="svelte-1ws2638">
The new Spotube v5 is still under beta. Please use the Nightly version
until stable release.
</h6>
<!-- WARNING! -->
<div class="flex">
<a href="/downloads/nightly" class="flex gap-2 btn btn-lg preset-filled">
<LuDownload />
Download Nightly
</a>
</div>
<br />
<DownloadItems links={extendedDownloadLinks} />
<br />
<Ads adSlot={ADS_SLOTS.downloadPageDisplay} adFormat="auto" />
<br />

View File

@ -53,11 +53,11 @@ import { ADS_SLOTS } from "~/collections/app";
</div>
<div class="flex justify-center">
<a
href="/downloads/nightly"
href="/downloads"
class="flex gap-2 btn btn-lg preset-filled"
>
<LuDownload />
Download Nightly
Download
</a>
</div>
</div>