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>
|
<span class="version">{{ downloadInformation.stable.tagName }}</span>
|
||||||
</a>
|
</a>
|
||||||
<a class="download-button secondary" :download="downloadInformation.preview.asset?.name" :href="downloadInformation.preview.asset?.browser_download_url">
|
<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="text">Preview</span>
|
||||||
<span class="version">{{ downloadInformation.preview.tagName }}</span>
|
<span class="version">{{ downloadInformation.preview.tagName }}</span>
|
||||||
</a>
|
</a>
|
||||||
@ -124,6 +124,7 @@ const downloadInformation = computed(() => ({
|
|||||||
display: inline-block
|
display: inline-block
|
||||||
vertical-align: middle
|
vertical-align: middle
|
||||||
margin-right: 0.5em
|
margin-right: 0.5em
|
||||||
|
font-size: 1.25em
|
||||||
}
|
}
|
||||||
|
|
||||||
.text {
|
.text {
|
||||||
@ -131,8 +132,7 @@ const downloadInformation = computed(() => ({
|
|||||||
}
|
}
|
||||||
|
|
||||||
.version {
|
.version {
|
||||||
font-size: 12px
|
font-size: 0.8em
|
||||||
margin-left: 10px
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@ import { VueQueryPlugin } from "@tanstack/vue-query";
|
|||||||
import { enhanceAppWithTabs } from "vitepress-plugin-tabs/client";
|
import { enhanceAppWithTabs } from "vitepress-plugin-tabs/client";
|
||||||
|
|
||||||
// Import Icon components
|
// Import Icon components
|
||||||
import { IconDownload, IconNewReleases } from "@iconify-prerendered/vue-mdi";
|
import { IconDownload, IconNewReleases, IconBugReport } from "@iconify-prerendered/vue-mdi";
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
...DefaultTheme,
|
...DefaultTheme,
|
||||||
@ -24,5 +24,6 @@ export default {
|
|||||||
enhanceAppWithTabs(app);
|
enhanceAppWithTabs(app);
|
||||||
app.component("IconDownload", IconDownload);
|
app.component("IconDownload", IconDownload);
|
||||||
app.component("IconNewReleases", IconNewReleases);
|
app.component("IconNewReleases", IconNewReleases);
|
||||||
|
app.component("IconBugReport", IconBugReport);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user