mirror of
https://github.com/tachiyomiorg/website.git
synced 2024-12-21 07:31:58 +01:00
Differentiate Preview and Stable
This commit is contained in:
parent
19867fe2d1
commit
a3798162f8
@ -47,7 +47,7 @@ const downloadInformation = computed(() => ({
|
||||
<span class="version">{{ downloadInformation.stable.tagName }}</span>
|
||||
</a>
|
||||
<a class="download-button secondary" :download="downloadInformation.preview.asset?.name" :href="downloadInformation.preview.asset?.browser_download_url">
|
||||
<IconDownload />
|
||||
<IconBugReport />
|
||||
<span class="text">Preview</span>
|
||||
<span class="version">{{ downloadInformation.preview.tagName }}</span>
|
||||
</a>
|
||||
@ -124,6 +124,7 @@ const downloadInformation = computed(() => ({
|
||||
display: inline-block
|
||||
vertical-align: middle
|
||||
margin-right: 0.5em
|
||||
font-size: 1.25em
|
||||
}
|
||||
|
||||
.text {
|
||||
@ -131,8 +132,7 @@ const downloadInformation = computed(() => ({
|
||||
}
|
||||
|
||||
.version {
|
||||
font-size: 12px
|
||||
margin-left: 10px
|
||||
font-size: 0.8em
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -14,7 +14,7 @@ import { VueQueryPlugin } from "@tanstack/vue-query";
|
||||
import { enhanceAppWithTabs } from "vitepress-plugin-tabs/client";
|
||||
|
||||
// Import Icon components
|
||||
import { IconDownload, IconNewReleases } from "@iconify-prerendered/vue-mdi";
|
||||
import { IconDownload, IconNewReleases, IconBugReport } from "@iconify-prerendered/vue-mdi";
|
||||
|
||||
export default {
|
||||
...DefaultTheme,
|
||||
@ -24,5 +24,6 @@ export default {
|
||||
enhanceAppWithTabs(app);
|
||||
app.component("IconDownload", IconDownload);
|
||||
app.component("IconNewReleases", IconNewReleases);
|
||||
app.component("IconBugReport", IconBugReport);
|
||||
},
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user