chore: update announcement

This commit is contained in:
zernonia 2024-05-01 15:37:45 +08:00
parent db3fff29c8
commit b468704853
3 changed files with 8 additions and 8 deletions

View File

@ -68,9 +68,9 @@ const open = ref(false)
<h4 class="font-medium">
{{ items.title }}
</h4>
<Badge v-if="items.label" class="ml-2">
<span v-if="items.label" class="ml-2 rounded-md bg-[#adfa1d] px-1.5 py-0.5 text-xs leading-none text-[#000000] no-underline group-hover:no-underline">
{{ items.label }}
</Badge>
</span>
</div>
<a
@ -81,9 +81,9 @@ const open = ref(false)
>
{{ item.title }}
<Badge v-if="item.label" class="ml-2">
<span v-if="item.label" class="ml-2 rounded-md bg-[#adfa1d] px-1.5 py-0.5 text-xs leading-none text-[#000000] no-underline group-hover:no-underline">
{{ item.label }}
</Badge>
</span>
</a>
</div>
</div>

View File

@ -128,11 +128,12 @@ export const docsConfig: DocsConfig = {
title: 'Auto Form',
href: '/docs/components/auto-form',
items: [],
label: 'New',
},
{
title: 'Charts',
href: '/docs/charts',
label: 'Alpha',
label: 'New Alpha',
items: [],
},
],
@ -280,7 +281,6 @@ export const docsConfig: DocsConfig = {
title: 'Range Calendar',
href: '/docs/components/range-calendar',
items: [],
label: 'New',
},
{
title: 'Resizable',

View File

@ -15,6 +15,6 @@ export const siteConfig = {
export const announcementConfig = {
icon: '✨',
title: 'Introducing Blocks!',
link: '/blocks',
title: 'Extended: Auto Form, Charts',
link: '/docs/components/auto-form.html',
}