diff --git a/.npmrc b/.npmrc index bf2e764..cf04042 100644 --- a/.npmrc +++ b/.npmrc @@ -1 +1,2 @@ shamefully-hoist=true +strict-peer-dependencies=false diff --git a/.vitepress/config.js b/.vitepress/config.js index 7a10e15..a38de27 100644 --- a/.vitepress/config.js +++ b/.vitepress/config.js @@ -46,10 +46,14 @@ const Guide = [ link: '/guide/presenter-mode', }, { +<<<<<<< HEAD <<<<<<< HEAD text: 'Интеграции редакторов', ======= text: 'Drawing & Annonations', +======= + text: 'Drawing & Annotations', +>>>>>>> 145fc07cd89b05477358f72609931fdf9c7d68cf link: '/guide/drawing', }, { @@ -78,6 +82,17 @@ const Theme = [ }, ] +const Addon = [ + { + text: 'Use Addon', + link: '/addons/use', + }, + { + text: 'Write an Addon', + link: '/addons/write-an-addon', + }, +] + const Translations = [ { text: 'Русский', @@ -114,6 +129,10 @@ const Translations = [ text: 'Ελληνικά', link: 'https://el.sli.dev{{pathname}}', }, + { + text: '日本語', + link: 'https://ja.sli.dev{{pathname}}', + }, ] const Customizations = [ @@ -142,7 +161,15 @@ const Customizations = [ link: '/custom/config-vite', }, { +<<<<<<< HEAD text: 'Конфигурация Windi CSS', +======= + text: 'Configure UnoCSS', + link: '/custom/config-unocss', + }, + { + text: 'Configure Windi CSS', +>>>>>>> 145fc07cd89b05477358f72609931fdf9c7d68cf link: '/custom/config-windicss', }, { @@ -158,7 +185,15 @@ const Customizations = [ link: '/custom/config-mermaid', }, { +<<<<<<< HEAD text: 'Конфигурация горячих клавиш', +======= + text: 'Configure Parser', + link: '/custom/config-parser', + }, + { + text: 'Configure Shortcuts', +>>>>>>> 145fc07cd89b05477358f72609931fdf9c7d68cf link: '/custom/config-shortcuts', }, { @@ -171,6 +206,17 @@ const Customizations = [ } ] +const BuiltIn = [ + { + text: 'Components', + link: '/builtin/components', + }, + { + text: 'Layouts', + link: '/builtin/layouts', + }, +] + const Resources = [ { text: 'Примеры', @@ -196,6 +242,7 @@ const slidebars = [ children: Theme, }, { +<<<<<<< HEAD text: 'Кастомизация', children: Customizations, }, @@ -211,6 +258,18 @@ const slidebars = [ link: '/builtin/layouts', }, ], +======= + text: 'Addons', + children: Addon, + }, + { + text: 'Customizations', + children: Customizations, + }, + { + text: 'Built-in', + children: BuiltIn, +>>>>>>> 145fc07cd89b05477358f72609931fdf9c7d68cf }, ] @@ -241,7 +300,8 @@ module.exports = { editLinkText: 'Редактировать страницу', algolia: { - apiKey: '1a5c5a504139c58f428974c78c55291d', + appId: 'LCBV6MIFS6', + apiKey: '1ff173fe73b20edc962c1c24c0b1c160', indexName: 'slidev', searchParameters: { // for translations maintainers: change the filter to your locale code (subdomain name) @@ -259,11 +319,27 @@ module.exports = { items: Theme, }, { +<<<<<<< HEAD text: 'Кастомизация', items: Customizations, }, { text: 'Ресурсы', +======= + text: 'Addon', + items: Addon, + }, + { + text: 'Customize', + items: Customizations, + }, + { + text: 'Built-in', + items: BuiltIn, + }, + { + text: 'Resources', +>>>>>>> 145fc07cd89b05477358f72609931fdf9c7d68cf items: Resources, }, { @@ -275,6 +351,7 @@ module.exports = { sidebar: { '/guide/': slidebars, '/themes/': slidebars, + '/addons/': slidebars, '/custom/': slidebars, '/builtin/': slidebars, '/resources/': slidebars, diff --git a/.vitepress/showcases.ts b/.vitepress/showcases.ts index dd7136b..3d84e0d 100644 --- a/.vitepress/showcases.ts +++ b/.vitepress/showcases.ts @@ -108,6 +108,88 @@ export const showcases: ShowCaseInfo[] = [ at: 'Thoughtworks Internal Lunch & Learn', datetime: '2021-11-12', }, + { + title: 'Git\'s Most Wanted', + cover: 'https://cdn.jsdelivr.net/gh/alexanderdavide/git-most-wanted@assets/slides-export/01.png', + author: { + name: 'Alexander Eble', + link: 'https://github.com/alexanderdavide', + }, + slidesLink: 'https://alexeble.de/talks/git-most-wanted/', + sourceLink: 'https://github.com/alexanderdavide/git-most-wanted', + at: 'Internal Tech Talk', + datetime: '2022-03-11', + }, + { + title: 'OpenFunction 202', + cover: 'https://s2.loli.net/2022/05/22/4zsCnkQRFoAU1E5.png', + author: { + name: 'Haili Zhang', + link: 'https://github.com/webup', + }, + slidesLink: 'https://openfunction-talks.netlify.app/2022/202-node-async/', + sourceLink: 'https://github.com/webup/openfunction-talks/tree/main/202-node-async', + at: 'OpenFunction Tutorial Sharing', + datetime: '2022-05-08', + }, + { + title: 'Is it Okay to Pursue Functional Programming on Frontend?', + author: { + name: 'Minsu Kim , Changhui Lee', + }, + at: '2022 JSConf Korea', + slidesLink: 'https://moonlit-nougat-422445.netlify.app/1', + sourceLink: 'https://github.com/alstn2468/2022-jsconf-presentation', + cover: 'https://raw.githubusercontent.com/alstn2468/2022-jsconf-presentation/main/public/images/og.png', + datetime: '2022-09-16', + }, + { + title: 'Blazing slidev ppt template with naive-ui', + author: { + name: 'godkun', + }, + at: 'personal sharing', + slidesLink: 'https://ppt.godkun.top', + sourceLink: 'https://github.com/godkun/ppt-template', + cover: 'https://github.com/godkun/ppt-template/raw/main/public/show.gif', + datetime: '2022-10-24', + }, + { + title: 'Building a Polite Popup with Nuxt 3', + author: { + name: 'Michael Hoffmann', + link: 'https://github.com/mokkapps', + }, + at: 'Vue.js Nation 2023', + slidesLink: 'https://vuejsnation-2023-talk-polite-popup.netlify.app', + sourceLink: 'https://github.com/Mokkapps/vuejsnation-2023-lightning-talk-polite-popup-nuxt-3-slides', + cover: 'https://raw.githubusercontent.com/Mokkapps/vuejsnation-2023-lightning-talk-polite-popup-nuxt-3-slides/main/screenshots/001.png', + datetime: '2023-01-25', + }, + { + title: 'Dev Environment as Code', + cover: 'https://cdn.jsdelivr.net/gh/alexanderdavide/dev-environment-as-code@assets/slides-export/001.png', + author: { + name: 'Alexander Eble', + link: 'https://github.com/alexanderdavide', + }, + slidesLink: 'https://alexeble.de/talks/dev-environment-as-code/', + sourceLink: 'https://github.com/alexanderdavide/dev-environment-as-code', + at: 'Internal Tech Talk', + datetime: '2022-12-01', + }, + { + title: 'Exploring Social Engineering', + cover: 'https://raw.githubusercontent.com/zyf722/exploring-social-engineering-slides/main/assets/Screenshot_Cover.png', + author: { + name: 'zyf722', + link: 'https://github.com/zyf722', + }, + slidesLink: 'https://zyf722.github.io/exploring-social-engineering-slides/', + sourceLink: 'https://github.com/zyf722/exploring-social-engineering-slides', + at: 'Presentation on Social Engineering in Computers in Society class', + datetime: '2023-10-20', + }, // Add yours here! { title: 'Yours?', diff --git a/.vitepress/theme/Layout.vue b/.vitepress/theme/Layout.vue index 4e72fba..b8341f9 100644 --- a/.vitepress/theme/Layout.vue +++ b/.vitepress/theme/Layout.vue @@ -50,19 +50,17 @@ - + diff --git a/.vitepress/theme/components/BooleanDisplay.vue b/.vitepress/theme/components/BooleanDisplay.vue index 3aa15b7..3a876f2 100644 --- a/.vitepress/theme/components/BooleanDisplay.vue +++ b/.vitepress/theme/components/BooleanDisplay.vue @@ -1,5 +1,5 @@ diff --git a/.vitepress/theme/components/HomeFeatures.vue b/.vitepress/theme/components/HomeFeatures.vue index 32a34e0..292bc99 100644 --- a/.vitepress/theme/components/HomeFeatures.vue +++ b/.vitepress/theme/components/HomeFeatures.vue @@ -19,16 +19,16 @@ diff --git a/.vitepress/theme/components/HomeHero.vue b/.vitepress/theme/components/HomeHero.vue index dbda354..22bbb40 100644 --- a/.vitepress/theme/components/HomeHero.vue +++ b/.vitepress/theme/components/HomeHero.vue @@ -17,14 +17,14 @@ @@ -51,19 +51,19 @@ +