Skip to content
This repository has been archived by the owner on Dec 10, 2024. It is now read-only.

Commit

Permalink
Feat/docs (#42)
Browse files Browse the repository at this point in the history
* feat: add the motion icon

* fix: package.jsoon

* fix: img path error
  • Loading branch information
YeSuX authored Mar 25, 2024
1 parent f4e15f9 commit f9eee61
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .docs/.vitepress/config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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' }],
Expand All @@ -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' },
Expand Down
2 changes: 1 addition & 1 deletion .docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
12 changes: 12 additions & 0 deletions .docs/public/motion_logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit f9eee61

Please sign in to comment.