diff --git a/.docs/.vitepress/config.mts b/.docs/.vitepress/config.mts index 9f7b25b..ec49ff7 100644 --- a/.docs/.vitepress/config.mts +++ b/.docs/.vitepress/config.mts @@ -8,7 +8,7 @@ export default defineConfig({ description: 'A production-ready motion library for Vue3 and Nuxt3, built on the Web Animations API for the smallest filesize and the fastest performance. Powered by Motion One.', /* prettier-ignore */ head: [ - ['link', { rel: 'icon', type: 'image/svg+xml', href: '../assets/motion_logo.svg' }], + ['link', { rel: 'icon', type: 'image/svg+xml', href: '/motion_logo.svg' }], // ['link', { rel: 'icon', type: 'image/png', href: '/pergel-logo-mini.png' }], // ['meta', { name: 'theme-color', content: '#5f67ee' }], ['meta', { property: 'og:type', content: 'website' }], @@ -29,7 +29,7 @@ export default defineConfig({ ], themeConfig: { - logo: '../assets/motion_logo.svg', + logo: '/motion_logo.svg', // https://vitepress.dev/reference/default-theme-config nav: [ { text: 'Get Started', link: '/started/introduction' }, diff --git a/.docs/index.md b/.docs/index.md index e8387f5..260336d 100644 --- a/.docs/index.md +++ b/.docs/index.md @@ -14,7 +14,7 @@ hero: text: Explore Examples link: https://stackblitz.com/@YeSuX/collections/oku-motion-examples image: - src: assets/motion_logo.svg + src: /motion_logo.svg alt: Oku motion features: diff --git a/.docs/public/motion_logo.svg b/.docs/public/motion_logo.svg new file mode 100644 index 0000000..e4c0aec --- /dev/null +++ b/.docs/public/motion_logo.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + +