Skip to content

Commit

Permalink
docs: use .webp logo instead of .svg
Browse files Browse the repository at this point in the history
  • Loading branch information
s3xysteak committed Apr 30, 2024
1 parent f5fa307 commit 9541af1
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/.vitepress/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const en = defineConfig({
description: 'Minimalism and elegant solution',

themeConfig: {
logo: '/cesium-use.svg',
logo: '/cesium-use.webp',

nav: [
{ text: 'Home', link: '/' },
Expand Down
2 changes: 1 addition & 1 deletion src/.vitepress/shared.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ export const shared = defineConfig({
publicDir: 'docs/public',
},
base: '/cesium-use/',
head: [['link', { rel: 'icon', href: '/cesium-use/cesium-use.svg' }]],
head: [['link', { rel: 'icon', href: '/cesium-use/cesium-use.webp' }]],
})
2 changes: 1 addition & 1 deletion src/.vitepress/zh.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const zh = defineConfig({
description: '优雅且简洁的解决方案',

themeConfig: {
logo: '/cesium-use.svg',
logo: '/cesium-use.webp',

outline: {
label: '页面导航',
Expand Down
2 changes: 1 addition & 1 deletion src/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hero:
text: Vue powered CesiumJS utility library
tagline: Concise, modern, high-performance, focused on the development experience
image:
src: /cesium-use.svg
src: /cesium-use.webp
alt: CesiumUse
actions:
- theme: brand
Expand Down
3 changes: 3 additions & 0 deletions src/docs/public/cesium-use.webp
Git LFS file not shown
2 changes: 1 addition & 1 deletion src/docs/zh/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ hero:
text: 由Vue驱动的现代CesiumJS工具库
tagline: 简约、现代、高性能,专注于开发体验
image:
src: /cesium-use.svg
src: /cesium-use.webp
alt: CesiumUse
actions:
- theme: brand
Expand Down

0 comments on commit 9541af1

Please sign in to comment.