diff --git a/.vitepress/config.ts b/.vitepress/config.ts index aebd9668..3e81b2ac 100644 --- a/.vitepress/config.ts +++ b/.vitepress/config.ts @@ -45,6 +45,7 @@ const nav: ThemeConfig['nav'] = [ items: [ { text: 'Партнери', link: '/partners/' }, { text: 'Теми', link: '/ecosystem/themes' }, + { text: 'UI компоненти', link: 'https://ui-libs.vercel.app/' }, { text: 'Сертифікація', link: 'https://certification.vuejs.org/?ref=vuejs-nav' diff --git a/.vitepress/inlined-scripts/restorePreference.js b/.vitepress/inlined-scripts/restorePreference.js index 5e18b50f..265db273 100644 --- a/.vitepress/inlined-scripts/restorePreference.js +++ b/.vitepress/inlined-scripts/restorePreference.js @@ -8,6 +8,6 @@ restore('vue-docs-prefer-composition', 'prefer-composition', true) restore('vue-docs-prefer-sfc', 'prefer-sfc', true) - // window.__VUE_BANNER_ID__ = '' - // restore(`vue-docs-banner-${__VUE_BANNER_ID__}`, 'banner-dismissed') + window.__VUE_BANNER_ID__ = 'herodevs-vue2-nes' + restore(`vue-docs-banner-${__VUE_BANNER_ID__}`, 'banner-dismissed') })() diff --git a/.vitepress/theme/components/Banner.vue b/.vitepress/theme/components/Banner.vue index 59f9c9c9..21baa50e 100644 --- a/.vitepress/theme/components/Banner.vue +++ b/.vitepress/theme/components/Banner.vue @@ -34,38 +34,168 @@ function dismiss() {
- diff --git a/.vitepress/theme/components/Home.vue b/.vitepress/theme/components/Home.vue index 4fa89abd..2ede14c8 100644 --- a/.vitepress/theme/components/Home.vue +++ b/.vitepress/theme/components/Home.vue @@ -41,28 +41,26 @@ onMounted(async () => {> npm create vue@latest
> cd <назва-вашого-проєкту-без-пробілів>
-> npm install
-> npm run dev
-