diff --git a/website/src/.vitepress/theme/components/DownloadButtons.vue b/website/src/.vitepress/theme/components/DownloadButtons.vue index 4fa2f9a7..3a465148 100644 --- a/website/src/.vitepress/theme/components/DownloadButtons.vue +++ b/website/src/.vitepress/theme/components/DownloadButtons.vue @@ -18,12 +18,12 @@ const { const downloadInformation = computed(() => ({ preview: { - tagName: previewRelease.value?.tag_name, + tagName: previewRelease.value?.tag_name || "0.00.0", asset: (previewRelease.value?.assets ?? []) .find(a => /^tachiyomi-r\d{4,}.apk/.test(a.name)), }, stable: { - tagName: stableRelease.value?.tag_name?.slice(1), + tagName: stableRelease.value?.tag_name?.slice(1) || "r0000", asset: (stableRelease.value?.assets ?? []) .find(a => /^tachiyomi-v\d+\.\d+\.\d+.apk/.test(a.name)), } @@ -40,38 +40,106 @@ const downloadInformation = computed(() => ({
This is the error message: {{ errorPreview }}
-
-
- - Stable - {{ downloadInformation.stable.tagName }} - - - Preview - {{ downloadInformation.preview.tagName }} - -
-

- Requires Android 6.0 or higher. -

+
+ + + Stable + {{ downloadInformation.stable.tagName }} + + + + Preview + {{ downloadInformation.preview.tagName }} +
+ + Requires Android 6.0 or higher. + diff --git a/website/src/download/index.md b/website/src/download/index.md index faf8292b..172d3873 100644 --- a/website/src/download/index.md +++ b/website/src/download/index.md @@ -10,7 +10,7 @@ import ReleaseDate from "../.vitepress/theme/components/ReleaseDate.vue"; import WhatsNew from "../.vitepress/theme/components/WhatsNew.vue" -# Download +# Download Download the latest stable version of **Tachiyomi** that released **** or the preview version that released ****.