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 a1ba245..fc1d619 100644 --- a/.vitepress/config.js +++ b/.vitepress/config.js @@ -46,10 +46,14 @@ const Guide = [ link: '/guide/presenter-mode', }, { +<<<<<<< HEAD <<<<<<< HEAD text: 'Tích hợp trình soạn thảo', ======= text: 'Drawing & Annonations', +======= + text: 'Drawing & Annotations', +>>>>>>> 8e6b3c049cecb5d4a489bcc06e01f4659bce41c5 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: 'Việt Nam' @@ -118,6 +133,10 @@ const Translations = [ text: 'Ελληνικά', link: 'https://el.sli.dev{{pathname}}', }, + { + text: '日本語', + link: 'https://ja.sli.dev{{pathname}}', + }, ] const Customizations = [ @@ -146,7 +165,15 @@ const Customizations = [ link: '/custom/config-vite', }, { +<<<<<<< HEAD text: 'Cấu hình Windi CSS', +======= + text: 'Configure UnoCSS', + link: '/custom/config-unocss', + }, + { + text: 'Configure Windi CSS', +>>>>>>> 8e6b3c049cecb5d4a489bcc06e01f4659bce41c5 link: '/custom/config-windicss', }, { @@ -162,7 +189,15 @@ const Customizations = [ link: '/custom/config-mermaid', }, { +<<<<<<< HEAD text: 'Cấu hình Phím tắt', +======= + text: 'Configure Parser', + link: '/custom/config-parser', + }, + { + text: 'Configure Shortcuts', +>>>>>>> 8e6b3c049cecb5d4a489bcc06e01f4659bce41c5 link: '/custom/config-shortcuts', }, { @@ -175,6 +210,17 @@ const Customizations = [ } ] +const BuiltIn = [ + { + text: 'Components', + link: '/builtin/components', + }, + { + text: 'Layouts', + link: '/builtin/layouts', + }, +] + const Resources = [ { text: 'Showcases', @@ -204,6 +250,7 @@ const slidebars = [ children: Theme, }, { +<<<<<<< HEAD text: 'Các tùy chỉnh', children: Customizations, }, @@ -219,6 +266,18 @@ const slidebars = [ link: '/builtin/layouts', }, ], +======= + text: 'Addons', + children: Addon, + }, + { + text: 'Customizations', + children: Customizations, + }, + { + text: 'Built-in', + children: BuiltIn, +>>>>>>> 8e6b3c049cecb5d4a489bcc06e01f4659bce41c5 }, ] @@ -249,7 +308,8 @@ module.exports = { editLinkText: 'Đề xuất các thay đổi cho trang này', algolia: { - apiKey: '1a5c5a504139c58f428974c78c55291d', + appId: 'LCBV6MIFS6', + apiKey: '1ff173fe73b20edc962c1c24c0b1c160', indexName: 'slidev', searchParameters: { // for translations maintainers: change the filter to your locale code (subdomain name) @@ -267,11 +327,27 @@ module.exports = { items: Theme, }, { +<<<<<<< HEAD text: 'Tùy chỉnh', items: Customizations, }, { text: 'Tài nguyên', +======= + text: 'Addon', + items: Addon, + }, + { + text: 'Customize', + items: Customizations, + }, + { + text: 'Built-in', + items: BuiltIn, + }, + { + text: 'Resources', +>>>>>>> 8e6b3c049cecb5d4a489bcc06e01f4659bce41c5 items: Resources, }, { @@ -283,6 +359,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..dbaac2d 100644 --- a/.vitepress/showcases.ts +++ b/.vitepress/showcases.ts @@ -108,6 +108,76 @@ 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', + }, // 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 a213eaf..07bec4f 100644 --- a/.vitepress/theme/components/HomeHero.vue +++ b/.vitepress/theme/components/HomeHero.vue @@ -16,14 +16,14 @@ @@ -50,19 +50,19 @@ +