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.

+