diff --git a/website/src/.vitepress/theme/components/ExtensionFilters.vue b/website/src/.vitepress/theme/components/ExtensionFilters.vue deleted file mode 100644 index 59d310ce..00000000 --- a/website/src/.vitepress/theme/components/ExtensionFilters.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - - diff --git a/website/src/.vitepress/theme/components/ExtensionGroup.vue b/website/src/.vitepress/theme/components/ExtensionGroup.vue index dfc7f16f..d30b1c06 100644 --- a/website/src/.vitepress/theme/components/ExtensionGroup.vue +++ b/website/src/.vitepress/theme/components/ExtensionGroup.vue @@ -1,5 +1,5 @@ + + + diff --git a/website/src/.vitepress/theme/components/Extensions/ExtensionGroup.vue b/website/src/.vitepress/theme/components/Extensions/ExtensionGroup.vue new file mode 100644 index 00000000..d30b1c06 --- /dev/null +++ b/website/src/.vitepress/theme/components/Extensions/ExtensionGroup.vue @@ -0,0 +1,52 @@ + + + + + diff --git a/website/src/.vitepress/theme/components/ExtensionItem.vue b/website/src/.vitepress/theme/components/Extensions/ExtensionItem.vue similarity index 72% rename from website/src/.vitepress/theme/components/ExtensionItem.vue rename to website/src/.vitepress/theme/components/Extensions/ExtensionItem.vue index 7cf73118..e8c22910 100644 --- a/website/src/.vitepress/theme/components/ExtensionItem.vue +++ b/website/src/.vitepress/theme/components/Extensions/ExtensionItem.vue @@ -9,7 +9,16 @@ export default { return this.item.name.split(": ")[1]; }, pkgVersion: function () { - return "v" + this.item.version; + return this.item.version; + }, + pkgIsNsfw: function () { + return !!parseInt(this.item.nsfw); + }, + pkgHasReadme: function () { + return !!parseInt(this.item.hasReadme); + }, + pkgHasChangelog: function () { + return !!parseInt(this.item.hasChangelog); }, iconUrl: function () { return `https://raw.githubusercontent.com/tachiyomiorg/tachiyomi-extensions/repo/icon/${this.item.pkg}.png`; @@ -27,15 +36,14 @@ export default {
{{ pkgName }} -
{{ pkgId }}
- - ↓ Download - + + +