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"> <h4 class="font-medium">
{{ items.title }} {{ items.title }}
</h4> </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 }} {{ items.label }}
</Badge> </span>
</div> </div>
<a <a
@ -81,9 +81,9 @@ const open = ref(false)
> >
{{ item.title }} {{ 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 }} {{ item.label }}
</Badge> </span>
</a> </a>
</div> </div>
</div> </div>

View File

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

View File

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