mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-30 19:57:55 +01:00
docs: update nuxt ui pro icon
This commit is contained in:
@@ -84,7 +84,7 @@ defineShortcuts({
|
|||||||
<template #link-title="{ link }">
|
<template #link-title="{ link }">
|
||||||
{{ link.title }}
|
{{ link.title }}
|
||||||
|
|
||||||
<UIcon v-if="link.module === 'ui-pro' && link.path.startsWith('/components')" name="i-lucide-boxes" class="size-3 align-middle mb-[3px] text-(--ui-text-dimmed)" />
|
<UIcon v-if="link.module === 'ui-pro' && link.path.startsWith('/components')" name="i-lucide-codesandbox" class="size-[14px] ml-0.5 align-middle mb-[3px] text-(--ui-text-dimmed)" />
|
||||||
</template>
|
</template>
|
||||||
</UContentNavigation>
|
</UContentNavigation>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ export function useSharedData() {
|
|||||||
onSelect: () => module.value = 'ui'
|
onSelect: () => module.value = 'ui'
|
||||||
}, {
|
}, {
|
||||||
label: 'nuxt/ui-pro',
|
label: 'nuxt/ui-pro',
|
||||||
icon: 'i-lucide-boxes',
|
icon: 'i-lucide-codesandbox',
|
||||||
value: 'ui-pro',
|
value: 'ui-pro',
|
||||||
disabled: framework.value === 'vue',
|
disabled: framework.value === 'vue',
|
||||||
onSelect: () => module.value = 'ui-pro'
|
onSelect: () => module.value = 'ui-pro'
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ const navigation = inject<Ref<ContentNavigationItem[]>>('navigation')
|
|||||||
{{ link.title }}
|
{{ link.title }}
|
||||||
|
|
||||||
<UTooltip v-if="link.module === 'ui-pro' && link.path.startsWith('/components')" text="Only available in nuxt/ui-pro" :content="{ side: 'right' }">
|
<UTooltip v-if="link.module === 'ui-pro' && link.path.startsWith('/components')" text="Only available in nuxt/ui-pro" :content="{ side: 'right' }">
|
||||||
<UIcon name="i-lucide-boxes" class="size-3 align-middle mb-[3px] text-(--ui-text-dimmed) hover:text-(--ui-text-muted) transition-colors" />
|
<UIcon name="i-lucide-codesandbox" class="size-[14px] ml-0.5 align-middle mb-[3px] text-(--ui-text-dimmed) hover:text-(--ui-text-muted) transition-colors" />
|
||||||
</UTooltip>
|
</UTooltip>
|
||||||
</template>
|
</template>
|
||||||
</UContentNavigation>
|
</UContentNavigation>
|
||||||
|
|||||||
Reference in New Issue
Block a user