diff --git a/docs/.vitepress/theme/components/base/Label.vue b/docs/.vitepress/theme/components/base/Label.vue new file mode 100644 index 000000000..f3722bb8c --- /dev/null +++ b/docs/.vitepress/theme/components/base/Label.vue @@ -0,0 +1,16 @@ + + + + diff --git a/docs/.vitepress/theme/components/icons/IconContributors.vue b/docs/.vitepress/theme/components/icons/IconContributors.vue index fcac76d54..244ea1923 100644 --- a/docs/.vitepress/theme/components/icons/IconContributors.vue +++ b/docs/.vitepress/theme/components/icons/IconContributors.vue @@ -1,5 +1,6 @@ @@ -37,7 +32,10 @@
@@ -139,4 +137,12 @@ opacity: 0; } +.version { + margin-right: 24px; +} + +.contributors { + justify-content: flex-end; +} + diff --git a/docs/.vitepress/theme/components/icons/IconInfo.vue b/docs/.vitepress/theme/components/icons/IconInfo.vue index e8f0ad9e8..9588e2cb3 100644 --- a/docs/.vitepress/theme/components/icons/IconInfo.vue +++ b/docs/.vitepress/theme/components/icons/IconInfo.vue @@ -6,14 +6,20 @@ import CopySVGButton from './CopySVGButton.vue'; import CopyCodeButton from './CopyCodeButton.vue'; import VPButton from 'vitepress/dist/client/theme-default/components/VPButton.vue'; import {useData, useRouter} from 'vitepress'; +import { computed } from 'vue'; -defineProps<{ +const props = defineProps<{ icon: IconEntity popoverPosition?: 'top' | 'bottom' }>() const { go } = useRouter() const { page } = useData() + +const tags = computed(() => { + if (!props.icon) return [] + return props.icon.tags.join(' • ') +})