diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 5a873ee..b4f2b3a 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -11,23 +11,17 @@ function buildSidebar() { { text: 'Components', collapsible: true, - items: [ - ...getComponents(), - ], + items: [...getComponents()], }, { text: 'Form', collapsible: true, - items: [ - ...getFormComponents(), - ], + items: [...getFormComponents()], }, { text: 'Utils', collapsible: true, - items: [ - ...getUtils(), - ], + items: [...getUtils()], }, ] } @@ -59,20 +53,17 @@ function getComponents() { { text: '- Pagination', link: 'components/pagination' }, { text: '- Sidebar', link: 'components/sidebar' }, { text: '- Table', link: 'components/table' }, - { text: 'Timeline', link: 'components/timeline' }, ] } function getFormComponents() { - return [ - { text: 'Input', link: 'components/input' }, - ] + return [{ text: 'Input', link: 'components/input' }] } function getUtils() { return [ { text: 'Flowbite Themable', link: '/components/flowbiteThemable/flowbiteThemable.md' }, - { text: 'Toast Provider', link: '/components/toastProvider/toastProvider.md' } + { text: 'Toast Provider', link: '/components/toastProvider/toastProvider.md' }, ] } @@ -83,21 +74,18 @@ function getUtils() { export default defineConfig({ title: 'Flowbite Vue 3', cleanUrls: 'without-subfolders', - head: [ - ['link', { rel: "icon", type: "image/svg", href: "/assets/logo.svg"}], - ], + head: [['link', { rel: 'icon', type: 'image/svg', href: '/assets/logo.svg' }]], themeConfig: { sidebar: buildSidebar(), logo: '/assets/logo.svg', socialLinks: [ { icon: 'github', link: 'https://github.com/themesberg/flowbite-vue' }, - { icon: 'discord', link: 'https://discord.gg/4eeurUVvTy' } + { icon: 'discord', link: 'https://discord.gg/4eeurUVvTy' }, ], footer: { message: 'Released under the MIT License.', - copyright: 'Copyright © 2022 Flowbite™' + copyright: 'Copyright © 2022 Flowbite™', }, - }, }) diff --git a/docs/components/timeline/examples/TimelineExample.vue b/docs/components/timeline/examples/TimelineExample.vue index 52ae8a2..8f6b440 100644 --- a/docs/components/timeline/examples/TimelineExample.vue +++ b/docs/components/timeline/examples/TimelineExample.vue @@ -1,5 +1,5 @@