From 76720e01ecd6703afbc278dc827f1dc828096cf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Han=EF=BC=88=E3=83=8F=E3=83=B3=EF=BC=89?= Date: Fri, 27 Aug 2021 18:33:40 +0900 Subject: [PATCH] feat: new version of docs site (#96) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * refactor: next version * feat: rwd support * WIP: adapt playground to new site * refactor: migrate playground * chore: fix vue import * feat: add not found page * fix: page layout in not full height * fix: not found layout in mobile * chore: ignore readme * chore: apply linter * chore: add transition * fix: table style * chore: update component type * fix: dropdown menu in ssr mode * chore: adjest inline code text size * chore: unifi colors * chore: ignore components.d.ts * chore: delete components.d.ts * fix: sidebar toggle in ssr mode * fix: next and prev links layout in mobile size * chore: padding of tree links in sidebar * chore: set to max width * chore: add prose a hover underline * fix: remap title level * chore: title author font-size * chore: apply new linter rules * feat: rander code block filename * chore: add box-shadow to code block * chore: move dropdown class to navlink * chore: change toc height * chore: code block filename * chore: code block filename text color * fix: double underline * chore: remap title level * chore: animate dropdown icon * chore: update deps * chore: remap title level * fix: windows build * fix: windows build * fix: next and prev link flex flow * fix: remove prose img margin * chore: change menu to font-normal * chore: remove space * chore: reset search box top * feat: use web component in playground preview 😎 * chore: upgrade to new version of mitt * chore: cleanup * fix: scrolling issue * chore: use css vars in background * refactor: upgrade to vue 3.1.4, update deps * fix: playground viewport & replace group variant, close #100 * fix: remove space in code block filename * refactor: remove vue global helper functions, update deps * fix: move to code block filename * refactor: move filename to filename block * fix: parser error in svelte docs code block * fix: replace deplicate key * chore: code block filename * chore: update deps * fix: playground url share not works * fix: playground action button toggle * chore: update deps * fix: lock vite version * feat: apply new eslint rules --- .eslintignore | 7 +- .eslintrc | 15 + .eslintrc.js | 32 - .gitignore | 3 + .npmrc | 1 - .vitepress/config.js | 1 + .vitepress/config/index.ts | 16 +- .vitepress/config/markdown.ts | 23 + .vitepress/config/nav.ts | 2 +- .vitepress/config/sidebar.ts | 2 +- .vitepress/config/theme.ts | 2 +- .vitepress/theme/Layout.vue | 4 + .vitepress/theme/NotFound.vue | 10 + .../theme/components/atoms/AppButton.vue | 59 + .../theme/components/atoms/AppLayout.vue | 5 + .vitepress/theme/components/atoms/AppLogo.vue | 29 + .../theme/components/atoms/ContentLayout.vue | 5 + .../theme/components/atoms/IconButton.vue | 23 + .../theme/components/atoms/PlayDivide.vue | 5 + .../theme/components/atoms/logos/Logo.vue | 59 + .../theme/components/atoms/logos/NuxtJs.vue | 7 + .../theme/components/atoms/logos/ViteLogo.vue | 31 + .../components/atoms/logos/WindiLogo.vue | 3 + .../theme/components/global/ColorsPalette.vue | 44 + .../theme/components/global/Customizing.vue | 10 + .../theme/components/global/Integrations.vue | 30 + .../theme/components/global/LearnMore.vue | 13 + .../theme/components/global/PackageInfo.vue | 37 + .../theme/components/global/Playground.vue | 110 + .../theme/components/global/Sponsors.vue | 72 + .../playground/DirectivesPlayground.vue | 73 + .../global/playground/InlinePlayground.vue | 314 ++ .../global/playground/PlaygroundWithBox.vue | 66 + .../playground/PlaygroundWithVariants.vue | 68 + .../components/molecules/DropdownLink.vue | 51 + .../theme/components/molecules/EditLink.vue | 19 + .../theme/components/molecules/HomeNews.vue | 23 + .../components/molecules/LastUpdated.vue | 31 + .../theme/components/molecules/NavLink.vue | 21 + .../components/molecules/NextAndPrevLinks.vue | 35 + .../components/molecules/SingleColor.vue | 36 + .../components/molecules/TableOfContent.vue | 64 + .../theme/components/molecules/ToggleDark.vue | 10 + .../components/molecules/ToggleSidebar.vue | 10 + .../theme/components/molecules/TreeLink.vue | 46 + .../molecules/play/PlayDownloadButton.vue | 42 + .../molecules/play/PlayLayoutSwitch.vue | 36 + .../molecules/play/PlayPreviewToolbar.vue | 44 + .../molecules/play/PlayShareButton.vue | 22 + .../molecules/play/PlayToolsDropdown.vue | 50 + .../play/PlaygroundActionButtons.vue | 29 + .../molecules/playground/SelectorBox.vue | 197 ++ .../molecules/playground/SelectorVariants.vue | 56 + .../molecules/sidebar/SidebarBackground.vue | 23 + .../molecules/sidebar/SidebarLink.vue | 25 + .../molecules/sidebar/SidebarLinkItem.vue | 76 + .../molecules/sidebar/SidebarNav.vue | 17 + .../components/organisms/AlgoliaSearchBox.vue | 132 + .../components/organisms/DropdownMenu.vue | 19 + .../theme/components/organisms/HomeFooter.vue | 15 + .../theme/components/organisms/HomeHero.vue | 52 + .../theme/components/organisms/PageFooter.vue | 9 + .../components/organisms/SidebarHeader.vue | 22 + .../theme/components/organisms/TreeMenu.vue | 19 + .../organisms/play/PlayPreviewBlock.vue | 14 + .../organisms/play/PlayStyleBlock.vue | 40 + .../organisms/play/PlayTemplateBlock.vue | 40 + .../theme/components/templates/TheHeader.vue | 43 + .../theme/components/templates/TheHome.vue | 22 + .../theme/components/templates/TheLayout.vue | 33 + .../theme/components/templates/ThePage.vue | 29 + .../theme/components/templates/ThePlay.vue | 7 + .../components/templates/ThePlayHeader.vue | 35 + .../components/templates/TheRightSidebar.vue | 7 + .../theme/components/templates/TheSidebar.vue | 57 + .vitepress/theme/config.ts | 148 + .vitepress/theme/data/colors.ts | 327 ++ .vitepress/theme/data/components.ts | 33 + .vitepress/theme/data/playground.ts | 32 + .vitepress/theme/index.ts | 21 +- .vitepress/theme/logics/activeSidebarLink.ts | 129 + .vitepress/theme/logics/breakpoints.ts | 3 + .vitepress/theme/logics/dark.ts | 5 + .vitepress/theme/logics/editLink.ts | 89 + .vitepress/theme/logics/navLink.ts | 49 + .vitepress/theme/logics/nextAndPrevLinks.ts | 47 + .vitepress/theme/logics/playgroundLayout.ts | 3 + .vitepress/theme/logics/repo.ts | 48 + .vitepress/theme/logics/search.ts | 136 + .vitepress/theme/logics/sideBar.ts | 77 + .vitepress/theme/logics/useCodeMirror.ts | 41 + .vitepress/theme/logics/usePrismCSS.ts | 29 + .vitepress/theme/logics/useShare.ts | 81 + .vitepress/theme/logics/useWindiCSS.ts | 38 + .vitepress/theme/shims-vue.d.ts | 5 + .vitepress/theme/shims.d.ts | 16 + .vitepress/theme/style/all.css | 40 + .../theme/style/codemirror-prism-vars.css | 131 + .vitepress/theme/style/markdown.css | 159 + .vitepress/theme/style/scrollbar.css | 18 + .vitepress/theme/style/vars.css | 25 + .vitepress/theme/types.ts | 42 + .vitepress/theme/utils.ts | 144 + .vitepress/theme/vite-env.d.ts | 2 + .vitepress/theme/web-components/PreviewBox.ts | 149 + .vscode/settings.json | 7 +- features/analyzer.md | 8 +- features/dark-mode.md | 8 +- features/index.md | 21 +- features/responsive-design.md | 3 +- features/shortcuts.md | 6 +- guide/configuration.md | 12 +- guide/extractions.md | 15 +- guide/index.md | 2 +- guide/migration.md | 15 +- index.md | 16 +- integrations/cli.md | 8 +- integrations/gridsome.md | 3 +- integrations/javascript.md | 3 +- integrations/nuxt.md | 26 +- integrations/postcss.md | 6 +- integrations/rollup.md | 12 +- integrations/svelte.md | 27 +- integrations/vite.md | 39 +- integrations/vue-cli.md | 5 +- integrations/webpack.md | 48 +- package.json | 63 +- plugins/community/animations.md | 3 +- plugins/community/interaction-variants.md | 3 +- plugins/community/question-mark.md | 3 +- plugins/community/scrollbar.md | 3 +- plugins/official/aspect-ratio.md | 19 +- plugins/official/filters.md | 19 +- plugins/official/forms.md | 9 +- plugins/official/line-clamp.md | 9 +- plugins/official/scroll-snap.md | 72 +- plugins/official/typography.md | 27 +- plugins/transform.md | 4 +- pnpm-lock.yaml | 2686 +++++++++-------- posts/story.md | 4 +- posts/v30-5.md | 13 +- posts/v30-utilities.md | 204 +- posts/v30.md | 16 +- posts/v31.md | 3 +- tsconfig.json | 12 +- utilities/backgrounds.md | 60 +- utilities/behaviors.md | 76 +- utilities/borders.md | 69 +- utilities/colors.md | 6 +- utilities/container.md | 11 +- utilities/display.md | 20 +- utilities/effects.md | 23 +- utilities/filters.md | 96 +- utilities/flexbox.md | 23 +- utilities/grid.md | 36 +- utilities/positioning.md | 44 +- utilities/sizing.md | 36 +- utilities/spacing.md | 40 +- utilities/svg.md | 9 +- utilities/transforms.md | 62 +- utilities/transitions.md | 36 +- utilities/typography.md | 53 +- vite.config.ts | 62 +- windi.config.ts | 70 + 164 files changed, 6893 insertions(+), 2207 deletions(-) create mode 100644 .eslintrc delete mode 100644 .eslintrc.js create mode 100644 .vitepress/config/markdown.ts create mode 100644 .vitepress/theme/Layout.vue create mode 100644 .vitepress/theme/NotFound.vue create mode 100644 .vitepress/theme/components/atoms/AppButton.vue create mode 100644 .vitepress/theme/components/atoms/AppLayout.vue create mode 100644 .vitepress/theme/components/atoms/AppLogo.vue create mode 100644 .vitepress/theme/components/atoms/ContentLayout.vue create mode 100644 .vitepress/theme/components/atoms/IconButton.vue create mode 100644 .vitepress/theme/components/atoms/PlayDivide.vue create mode 100644 .vitepress/theme/components/atoms/logos/Logo.vue create mode 100644 .vitepress/theme/components/atoms/logos/NuxtJs.vue create mode 100644 .vitepress/theme/components/atoms/logos/ViteLogo.vue create mode 100644 .vitepress/theme/components/atoms/logos/WindiLogo.vue create mode 100644 .vitepress/theme/components/global/ColorsPalette.vue create mode 100644 .vitepress/theme/components/global/Customizing.vue create mode 100644 .vitepress/theme/components/global/Integrations.vue create mode 100644 .vitepress/theme/components/global/LearnMore.vue create mode 100644 .vitepress/theme/components/global/PackageInfo.vue create mode 100644 .vitepress/theme/components/global/Playground.vue create mode 100644 .vitepress/theme/components/global/Sponsors.vue create mode 100644 .vitepress/theme/components/global/playground/DirectivesPlayground.vue create mode 100644 .vitepress/theme/components/global/playground/InlinePlayground.vue create mode 100644 .vitepress/theme/components/global/playground/PlaygroundWithBox.vue create mode 100644 .vitepress/theme/components/global/playground/PlaygroundWithVariants.vue create mode 100644 .vitepress/theme/components/molecules/DropdownLink.vue create mode 100644 .vitepress/theme/components/molecules/EditLink.vue create mode 100644 .vitepress/theme/components/molecules/HomeNews.vue create mode 100644 .vitepress/theme/components/molecules/LastUpdated.vue create mode 100644 .vitepress/theme/components/molecules/NavLink.vue create mode 100644 .vitepress/theme/components/molecules/NextAndPrevLinks.vue create mode 100644 .vitepress/theme/components/molecules/SingleColor.vue create mode 100644 .vitepress/theme/components/molecules/TableOfContent.vue create mode 100644 .vitepress/theme/components/molecules/ToggleDark.vue create mode 100644 .vitepress/theme/components/molecules/ToggleSidebar.vue create mode 100644 .vitepress/theme/components/molecules/TreeLink.vue create mode 100644 .vitepress/theme/components/molecules/play/PlayDownloadButton.vue create mode 100644 .vitepress/theme/components/molecules/play/PlayLayoutSwitch.vue create mode 100644 .vitepress/theme/components/molecules/play/PlayPreviewToolbar.vue create mode 100644 .vitepress/theme/components/molecules/play/PlayShareButton.vue create mode 100644 .vitepress/theme/components/molecules/play/PlayToolsDropdown.vue create mode 100644 .vitepress/theme/components/molecules/play/PlaygroundActionButtons.vue create mode 100644 .vitepress/theme/components/molecules/playground/SelectorBox.vue create mode 100644 .vitepress/theme/components/molecules/playground/SelectorVariants.vue create mode 100644 .vitepress/theme/components/molecules/sidebar/SidebarBackground.vue create mode 100644 .vitepress/theme/components/molecules/sidebar/SidebarLink.vue create mode 100644 .vitepress/theme/components/molecules/sidebar/SidebarLinkItem.vue create mode 100644 .vitepress/theme/components/molecules/sidebar/SidebarNav.vue create mode 100644 .vitepress/theme/components/organisms/AlgoliaSearchBox.vue create mode 100644 .vitepress/theme/components/organisms/DropdownMenu.vue create mode 100644 .vitepress/theme/components/organisms/HomeFooter.vue create mode 100644 .vitepress/theme/components/organisms/HomeHero.vue create mode 100644 .vitepress/theme/components/organisms/PageFooter.vue create mode 100644 .vitepress/theme/components/organisms/SidebarHeader.vue create mode 100644 .vitepress/theme/components/organisms/TreeMenu.vue create mode 100644 .vitepress/theme/components/organisms/play/PlayPreviewBlock.vue create mode 100644 .vitepress/theme/components/organisms/play/PlayStyleBlock.vue create mode 100644 .vitepress/theme/components/organisms/play/PlayTemplateBlock.vue create mode 100644 .vitepress/theme/components/templates/TheHeader.vue create mode 100644 .vitepress/theme/components/templates/TheHome.vue create mode 100644 .vitepress/theme/components/templates/TheLayout.vue create mode 100644 .vitepress/theme/components/templates/ThePage.vue create mode 100644 .vitepress/theme/components/templates/ThePlay.vue create mode 100644 .vitepress/theme/components/templates/ThePlayHeader.vue create mode 100644 .vitepress/theme/components/templates/TheRightSidebar.vue create mode 100644 .vitepress/theme/components/templates/TheSidebar.vue create mode 100644 .vitepress/theme/config.ts create mode 100644 .vitepress/theme/data/colors.ts create mode 100644 .vitepress/theme/data/components.ts create mode 100644 .vitepress/theme/data/playground.ts create mode 100644 .vitepress/theme/logics/activeSidebarLink.ts create mode 100644 .vitepress/theme/logics/breakpoints.ts create mode 100644 .vitepress/theme/logics/dark.ts create mode 100644 .vitepress/theme/logics/editLink.ts create mode 100644 .vitepress/theme/logics/navLink.ts create mode 100644 .vitepress/theme/logics/nextAndPrevLinks.ts create mode 100644 .vitepress/theme/logics/playgroundLayout.ts create mode 100644 .vitepress/theme/logics/repo.ts create mode 100644 .vitepress/theme/logics/search.ts create mode 100644 .vitepress/theme/logics/sideBar.ts create mode 100644 .vitepress/theme/logics/useCodeMirror.ts create mode 100644 .vitepress/theme/logics/usePrismCSS.ts create mode 100644 .vitepress/theme/logics/useShare.ts create mode 100644 .vitepress/theme/logics/useWindiCSS.ts create mode 100644 .vitepress/theme/shims-vue.d.ts create mode 100644 .vitepress/theme/shims.d.ts create mode 100644 .vitepress/theme/style/all.css create mode 100644 .vitepress/theme/style/codemirror-prism-vars.css create mode 100644 .vitepress/theme/style/markdown.css create mode 100644 .vitepress/theme/style/scrollbar.css create mode 100644 .vitepress/theme/style/vars.css create mode 100644 .vitepress/theme/types.ts create mode 100644 .vitepress/theme/utils.ts create mode 100644 .vitepress/theme/vite-env.d.ts create mode 100644 .vitepress/theme/web-components/PreviewBox.ts create mode 100644 windi.config.ts diff --git a/.eslintignore b/.eslintignore index f3ce7687..fd8d5b5f 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,5 +1,4 @@ -.git/ -node_modules/ -!.vitepress -!.shared-components +.git +node_modules +!/.vitepress **/dist diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 00000000..bddd1e66 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,15 @@ +{ + "extends": ["@hannoeru", "plugin:markdown/recommended"], + "overrides": [ + { + "files": ["**/*.md/**"], + "rules": { + "no-undef": "off", + "no-unused-vars": "off", + "@typescript-eslint/no-unused-vars": "off", + "@typescript-eslint/no-var-requires": "off", + "jsonc/no-dupe-keys": "off" + } + } + ] +} diff --git a/.eslintrc.js b/.eslintrc.js deleted file mode 100644 index 44322413..00000000 --- a/.eslintrc.js +++ /dev/null @@ -1,32 +0,0 @@ -module.exports = { - root: true, - env: { - browser: true, - node: true, - }, - extends: ['@antfu/eslint-config', 'plugin:jsonc/recommended-with-json5'], - plugins: ['markdown'], - rules: { - 'no-tabs': ['error'], - 'no-unused-vars': 'off', - 'no-use-before-define': 'off', - '@typescript-eslint/no-unused-vars': 'off', - '@typescript-eslint/no-var-requires': 'off', - }, - overrides: [ - { - files: ['**/*.md'], - processor: 'markdown/markdown', - }, - { - files: ['**/*.md/*.{js,ts,json,json5}'], - rules: { - 'no-undef': 'off', - 'no-unused-vars': 'off', - '@typescript-eslint/no-unused-vars': 'off', - '@typescript-eslint/no-var-requires': 'off', - 'jsonc/no-dupe-keys': 'off', - }, - }, - ], -} diff --git a/.gitignore b/.gitignore index 484445df..936f121d 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,6 @@ wiki/ # Algolia .algolia.env + +# vite-plugin-components +components.d.ts diff --git a/.npmrc b/.npmrc index 1f59b8f4..bf2e7648 100644 --- a/.npmrc +++ b/.npmrc @@ -1,2 +1 @@ -shared-workspace-lockfile=false shamefully-hoist=true diff --git a/.vitepress/config.js b/.vitepress/config.js index 76de7641..08b4f7e7 100644 --- a/.vitepress/config.js +++ b/.vitepress/config.js @@ -1,4 +1,5 @@ require('esbuild-register') +// eslint-disable-next-line @typescript-eslint/no-var-requires const config = require('./config/index.ts') module.exports = config.default diff --git a/.vitepress/config/index.ts b/.vitepress/config/index.ts index 7bbf94cd..a141c97b 100644 --- a/.vitepress/config/index.ts +++ b/.vitepress/config/index.ts @@ -1,14 +1,28 @@ import { UserConfig } from 'vitepress' -import { DefaultTheme } from '@windicss/vitepress-theme/config' import { metaData } from './constants' +import { mdRenderFilename } from './markdown' import head from './head' import themeConfig from './theme' +import { DefaultTheme } from '@/config' const config: UserConfig = { title: 'Windi CSS', description: metaData.description, head, themeConfig, + srcExclude: ['README.md'], + markdown: { + config(md) { + md.use(mdRenderFilename) + }, + }, + vue: { + template: { + compilerOptions: { + isCustomElement: tag => tag === 'preview-box', + }, + }, + }, } export default config diff --git a/.vitepress/config/markdown.ts b/.vitepress/config/markdown.ts new file mode 100644 index 00000000..49ee600a --- /dev/null +++ b/.vitepress/config/markdown.ts @@ -0,0 +1,23 @@ +import MarkdownIt from 'markdown-it' + +export const mdRenderFilename = (md: MarkdownIt) => { + const fence = md.renderer.rules.fence! + md.renderer.rules.fence = (...args) => { + const [tokens, idx] = args + const token = tokens[idx] + const langInfo = token.info.split(' ') + const langName = langInfo?.length ? langInfo[0] : '' + const filename = langName.length && langInfo[1] ? langInfo[1] : null + + // remove filename + token.info = langName + + const rawCode = fence(...args) + + const finalCode = filename + ? rawCode.replace(/
/, `
${filename}
`) + : rawCode + + return finalCode + } +} diff --git a/.vitepress/config/nav.ts b/.vitepress/config/nav.ts index 33e2ca35..2c89e605 100644 --- a/.vitepress/config/nav.ts +++ b/.vitepress/config/nav.ts @@ -1,4 +1,4 @@ -import type { DefaultTheme } from '@windicss/vitepress-theme/config' +import type { DefaultTheme } from '@/config' export const nav: DefaultTheme.Config['nav'] = [ { diff --git a/.vitepress/config/sidebar.ts b/.vitepress/config/sidebar.ts index 80f4cf97..a4924715 100644 --- a/.vitepress/config/sidebar.ts +++ b/.vitepress/config/sidebar.ts @@ -1,4 +1,4 @@ -import type { DefaultTheme } from '@windicss/vitepress-theme/config' +import type { DefaultTheme } from '@/config' export const sidebar: DefaultTheme.Config['sidebar'] = { '/utilities': [ diff --git a/.vitepress/config/theme.ts b/.vitepress/config/theme.ts index 073e2ae2..d1bd7206 100644 --- a/.vitepress/config/theme.ts +++ b/.vitepress/config/theme.ts @@ -1,6 +1,6 @@ -import type { DefaultTheme } from '@windicss/vitepress-theme/config' import { sidebar } from './sidebar' import { nav } from './nav' +import type { DefaultTheme } from '@/config' const themeConfig: DefaultTheme.Config = { algolia: { diff --git a/.vitepress/theme/Layout.vue b/.vitepress/theme/Layout.vue new file mode 100644 index 00000000..31c0b921 --- /dev/null +++ b/.vitepress/theme/Layout.vue @@ -0,0 +1,4 @@ + diff --git a/.vitepress/theme/NotFound.vue b/.vitepress/theme/NotFound.vue new file mode 100644 index 00000000..8b86a854 --- /dev/null +++ b/.vitepress/theme/NotFound.vue @@ -0,0 +1,10 @@ + diff --git a/.vitepress/theme/components/atoms/AppButton.vue b/.vitepress/theme/components/atoms/AppButton.vue new file mode 100644 index 00000000..36eeee62 --- /dev/null +++ b/.vitepress/theme/components/atoms/AppButton.vue @@ -0,0 +1,59 @@ + + + + + diff --git a/.vitepress/theme/components/atoms/AppLayout.vue b/.vitepress/theme/components/atoms/AppLayout.vue new file mode 100644 index 00000000..2a9ccf2d --- /dev/null +++ b/.vitepress/theme/components/atoms/AppLayout.vue @@ -0,0 +1,5 @@ + diff --git a/.vitepress/theme/components/atoms/AppLogo.vue b/.vitepress/theme/components/atoms/AppLogo.vue new file mode 100644 index 00000000..36248c0f --- /dev/null +++ b/.vitepress/theme/components/atoms/AppLogo.vue @@ -0,0 +1,29 @@ + + + diff --git a/.vitepress/theme/components/atoms/ContentLayout.vue b/.vitepress/theme/components/atoms/ContentLayout.vue new file mode 100644 index 00000000..77ba0ee8 --- /dev/null +++ b/.vitepress/theme/components/atoms/ContentLayout.vue @@ -0,0 +1,5 @@ + diff --git a/.vitepress/theme/components/atoms/IconButton.vue b/.vitepress/theme/components/atoms/IconButton.vue new file mode 100644 index 00000000..005a7d08 --- /dev/null +++ b/.vitepress/theme/components/atoms/IconButton.vue @@ -0,0 +1,23 @@ + + + diff --git a/.vitepress/theme/components/atoms/PlayDivide.vue b/.vitepress/theme/components/atoms/PlayDivide.vue new file mode 100644 index 00000000..1816692b --- /dev/null +++ b/.vitepress/theme/components/atoms/PlayDivide.vue @@ -0,0 +1,5 @@ + diff --git a/.vitepress/theme/components/atoms/logos/Logo.vue b/.vitepress/theme/components/atoms/logos/Logo.vue new file mode 100644 index 00000000..bd86ef27 --- /dev/null +++ b/.vitepress/theme/components/atoms/logos/Logo.vue @@ -0,0 +1,59 @@ + + + diff --git a/.vitepress/theme/components/atoms/logos/NuxtJs.vue b/.vitepress/theme/components/atoms/logos/NuxtJs.vue new file mode 100644 index 00000000..4b242a41 --- /dev/null +++ b/.vitepress/theme/components/atoms/logos/NuxtJs.vue @@ -0,0 +1,7 @@ + + + diff --git a/.vitepress/theme/components/atoms/logos/ViteLogo.vue b/.vitepress/theme/components/atoms/logos/ViteLogo.vue new file mode 100644 index 00000000..0cb82479 --- /dev/null +++ b/.vitepress/theme/components/atoms/logos/ViteLogo.vue @@ -0,0 +1,31 @@ + diff --git a/.vitepress/theme/components/atoms/logos/WindiLogo.vue b/.vitepress/theme/components/atoms/logos/WindiLogo.vue new file mode 100644 index 00000000..95c1aae2 --- /dev/null +++ b/.vitepress/theme/components/atoms/logos/WindiLogo.vue @@ -0,0 +1,3 @@ + diff --git a/.vitepress/theme/components/global/ColorsPalette.vue b/.vitepress/theme/components/global/ColorsPalette.vue new file mode 100644 index 00000000..c89e74cc --- /dev/null +++ b/.vitepress/theme/components/global/ColorsPalette.vue @@ -0,0 +1,44 @@ + + + diff --git a/.vitepress/theme/components/global/Customizing.vue b/.vitepress/theme/components/global/Customizing.vue new file mode 100644 index 00000000..65c464c7 --- /dev/null +++ b/.vitepress/theme/components/global/Customizing.vue @@ -0,0 +1,10 @@ + diff --git a/.vitepress/theme/components/global/Integrations.vue b/.vitepress/theme/components/global/Integrations.vue new file mode 100644 index 00000000..3cf70cdd --- /dev/null +++ b/.vitepress/theme/components/global/Integrations.vue @@ -0,0 +1,30 @@ + + + diff --git a/.vitepress/theme/components/global/LearnMore.vue b/.vitepress/theme/components/global/LearnMore.vue new file mode 100644 index 00000000..f25ffdcf --- /dev/null +++ b/.vitepress/theme/components/global/LearnMore.vue @@ -0,0 +1,13 @@ + + + diff --git a/.vitepress/theme/components/global/PackageInfo.vue b/.vitepress/theme/components/global/PackageInfo.vue new file mode 100644 index 00000000..9f635fe4 --- /dev/null +++ b/.vitepress/theme/components/global/PackageInfo.vue @@ -0,0 +1,37 @@ + + + diff --git a/.vitepress/theme/components/global/Playground.vue b/.vitepress/theme/components/global/Playground.vue new file mode 100644 index 00000000..fb02e340 --- /dev/null +++ b/.vitepress/theme/components/global/Playground.vue @@ -0,0 +1,110 @@ + + + + + diff --git a/.vitepress/theme/components/global/Sponsors.vue b/.vitepress/theme/components/global/Sponsors.vue new file mode 100644 index 00000000..6a15eafb --- /dev/null +++ b/.vitepress/theme/components/global/Sponsors.vue @@ -0,0 +1,72 @@ + + + diff --git a/.vitepress/theme/components/global/playground/DirectivesPlayground.vue b/.vitepress/theme/components/global/playground/DirectivesPlayground.vue new file mode 100644 index 00000000..66e17350 --- /dev/null +++ b/.vitepress/theme/components/global/playground/DirectivesPlayground.vue @@ -0,0 +1,73 @@ + + +