website: add AppImage link

This commit is contained in:
Kingkor Roy Tirtho 2025-11-14 15:07:51 +06:00
parent 77c32a27cf
commit 7ad2066684
2 changed files with 39 additions and 17 deletions

View File

@ -8,6 +8,7 @@ import {
FaUbuntu, FaUbuntu,
FaWindows, FaWindows,
FaRedhat, FaRedhat,
FaLinux,
} from "react-icons/fa6"; } from "react-icons/fa6";
import { LuHouse, LuNewspaper, LuDownload, LuBook } from "react-icons/lu"; import { LuHouse, LuNewspaper, LuDownload, LuBook } from "react-icons/lu";
@ -61,11 +62,21 @@ export const extendedDownloadLinks: Record<
[FaUbuntu, FaDebian], [FaUbuntu, FaDebian],
"deb", "deb",
], ],
// "Fedora, Redhat, Opensuse": [ "Fedora, Redhat, Opensuse": [
// `${releasesUrl}/Spotube-linux-x86_64.rpm`, `${releasesUrl}/Spotube-linux-x86_64.rpm`,
// [FaFedora, FaRedhat, FaOpensuse], [FaFedora, FaRedhat, FaOpensuse],
// "rpm", "rpm",
// ], ],
"Linux AppImage (x64)": [
`${releasesUrl}/Spotube-linux-x86_64.AppImage`,
[FaLinux],
"AppImage",
],
"Linux AppImage (arm64)": [
`${releasesUrl}/Spotube-linux-aarch64.AppImage`,
[FaLinux],
"AppImage",
],
iPhone: [`${releasesUrl}/Spotube-iOS.ipa`, [FaApple], "ipa"], iPhone: [`${releasesUrl}/Spotube-iOS.ipa`, [FaApple], "ipa"],
}; };
@ -76,28 +87,39 @@ export const extendedNightlyDownloadLinks: Record<
string, string,
[string, IconType[], string] [string, IconType[], string]
> = { > = {
Android: [ Android: [`${releasesUrl}/Spotube-android-all-arch.apk`, [FaAndroid], "apk"],
`${nightlyReleaseUrl}/Spotube-android-all-arch.apk`,
[FaAndroid],
"apk",
],
Windows: [ Windows: [
`${nightlyReleaseUrl}/Spotube-windows-x86_64-setup.exe`, `${releasesUrl}/Spotube-windows-x86_64-setup.exe`,
[FaWindows], [FaWindows],
"exe", "exe",
], ],
macOS: [`${nightlyReleaseUrl}/Spotube-macos-universal.dmg`, [FaApple], "dmg"], macOS: [`${releasesUrl}/Spotube-macos-universal.dmg`, [FaApple], "dmg"],
"Ubuntu, Debian": [ "Ubuntu, Debian (x64)": [
`${nightlyReleaseUrl}/Spotube-linux-x86_64.deb`, `${releasesUrl}/Spotube-linux-x86_64.deb`,
[FaUbuntu, FaDebian],
"deb",
],
"Ubuntu, Debian (arm64)": [
`${releasesUrl}/Spotube-linux-aarch64.deb`,
[FaUbuntu, FaDebian], [FaUbuntu, FaDebian],
"deb", "deb",
], ],
"Fedora, Redhat, Opensuse": [ "Fedora, Redhat, Opensuse": [
`${nightlyReleaseUrl}/Spotube-linux-x86_64.rpm`, `${releasesUrl}/Spotube-linux-x86_64.rpm`,
[FaFedora, FaRedhat, FaOpensuse], [FaFedora, FaRedhat, FaOpensuse],
"rpm", "rpm",
], ],
iPhone: [`${nightlyReleaseUrl}/Spotube-iOS.ipa`, [FaApple], "ipa"], "Linux AppImage (x64)": [
`${releasesUrl}/Spotube-linux-x86_64.AppImage`,
[FaLinux],
"AppImage",
],
"Linux AppImage (arm64)": [
`${releasesUrl}/Spotube-linux-aarch64.AppImage`,
[FaLinux],
"AppImage",
],
iPhone: [`${releasesUrl}/Spotube-iOS.ipa`, [FaApple], "ipa"],
}; };
export const ADS_SLOTS = Object.freeze({ export const ADS_SLOTS = Object.freeze({

View File

@ -21,7 +21,7 @@ const { links } = Astro.props;
const Icon = icon; const Icon = icon;
return <Icon />; return <Icon />;
})} })}
<p class="chip preset-tonal-warning text-warning-400 absolute right-2 uppercase"> <p class="chip preset-tonal-warning text-warning-700-300 absolute right-2 uppercase font-bold">
{link[1][2]} {link[1][2]}
</p> </p>
</div> </div>