diff --git a/docs/.vitepress/vitepress/components/globals/parallax-home.vue b/docs/.vitepress/vitepress/components/globals/parallax-home.vue new file mode 100644 index 0000000000..6a779181c0 --- /dev/null +++ b/docs/.vitepress/vitepress/components/globals/parallax-home.vue @@ -0,0 +1,591 @@ + + + + + diff --git a/docs/.vitepress/vitepress/index.ts b/docs/.vitepress/vitepress/index.ts index 4e14dc24d9..810e015bc8 100644 --- a/docs/.vitepress/vitepress/index.ts +++ b/docs/.vitepress/vitepress/index.ts @@ -11,6 +11,9 @@ import MainColor from './components/globals/main-color.vue' import NeutralColor from './components/globals/neutral-color.vue' import SecondaryColors from './components/globals/secondary-colors.vue' import IconList from './components/globals/icons.vue' + +import ParallaxHome from './components/globals/parallax-home.vue' + export { default as NotFound } from './components/vp-not-found.vue' export default VPApp @@ -21,4 +24,5 @@ export const globals = [ ['SecondaryColors', SecondaryColors], ['IconList', IconList], ['Changelog', Changelog], + ['ParallaxHome', ParallaxHome], ] diff --git a/docs/en-US/index.md b/docs/en-US/index.md index 213c309472..03ec573797 100644 --- a/docs/en-US/index.md +++ b/docs/en-US/index.md @@ -3,500 +3,6 @@ title: A Desktop UI Toolkit for Web page: true --- - - -
- -
- banner -
-
- - -
-

- Sponsored by - {{ sponsor.name }} -

-

{{ sponsor.slogan }}

-
-
-
-
- -
-
- - - - + + + diff --git a/docs/vite.config.ts b/docs/vite.config.ts index 257995c63a..2c10d3f61f 100644 --- a/docs/vite.config.ts +++ b/docs/vite.config.ts @@ -30,4 +30,7 @@ export default defineConfig({ alias, }, plugins: [Inspect()], + optimizeDeps: { + include: ['@vueuse/core', 'dayjs'], + }, })