From 862622b07bdf1b90af1aa31e6ea802f57c5cceff Mon Sep 17 00:00:00 2001 From: Atridad Lahiji Date: Mon, 20 Oct 2025 00:03:35 -0600 Subject: [PATCH] Fixed --- docs/src/components/DownloadButtons.astro | 40 ++++++++++------------- docs/src/config.ts | 2 +- 2 files changed, 19 insertions(+), 23 deletions(-) diff --git a/docs/src/components/DownloadButtons.astro b/docs/src/components/DownloadButtons.astro index 122a4b0..6361f09 100644 --- a/docs/src/components/DownloadButtons.astro +++ b/docs/src/components/DownloadButtons.astro @@ -2,6 +2,7 @@ import { Tabs, TabItem } from "@astrojs/starlight/components"; import { Card, CardGrid } from "@astrojs/starlight/components"; import { LinkButton } from "@astrojs/starlight/components"; +import { Badge } from "@astrojs/starlight/components"; import QRCode from "./QRCode.astro"; import { downloadLinks, requirements } from "../config"; @@ -15,27 +16,26 @@ const hasLink = (link: string | undefined) => link && link.trim() !== ""; --- - + { - hasLink(downloadLinks.android.releases) && ( - -

Download the latest APK from the Releases page.

+ hasLink(downloadLinks.android.playStore) && ( +

- Download APK + Get on Play Store

{showQR && (

)} @@ -45,8 +45,7 @@ const hasLink = (link: string | undefined) => link && link.trim() !== ""; { hasLink(downloadLinks.android.obtainium) && ( - -

Use Obtainium for automatic updates.

+

link && link.trim() !== ""; } { - hasLink(downloadLinks.android.playStore) && ( - -

Download from the official Google Play Store.

+ hasLink(downloadLinks.android.releases) && ( +

- Get on Play Store + Download APK

{showQR && (

)} @@ -103,8 +101,7 @@ const hasLink = (link: string | undefined) => link && link.trim() !== ""; { hasLink(downloadLinks.ios.appStore) && ( - -

Download from the official App Store.

+

link && link.trim() !== ""; { hasLink(downloadLinks.ios.testFlight) && ( - -

Join the TestFlight beta program.

+