vitepress 2.0.0-alpha.2 → 2.0.0-alpha.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +34 -2
- package/THIRD-PARTY-NOTICES.md +1736 -0
- package/bin/vitepress.js +14 -0
- package/client.d.ts +9 -0
- package/dist/client/app/components/ClientOnly.d.ts +5 -0
- package/dist/client/app/components/ClientOnly.js +11 -10
- package/dist/client/app/components/Content.d.ts +17 -0
- package/dist/client/app/components/Content.js +25 -22
- package/dist/client/app/composables/codeGroups.d.ts +3 -0
- package/dist/client/app/composables/codeGroups.js +36 -39
- package/dist/client/app/composables/copyCode.d.ts +3 -0
- package/dist/client/app/composables/copyCode.js +59 -70
- package/dist/client/app/composables/head.d.ts +5 -0
- package/dist/client/app/composables/head.js +56 -74
- package/dist/client/app/composables/icon.d.ts +12 -0
- package/dist/client/app/composables/icon.js +56 -0
- package/dist/client/app/composables/preFetch.d.ts +3 -0
- package/dist/client/app/composables/preFetch.js +64 -96
- package/dist/client/app/data.d.ts +9 -0
- package/dist/client/app/data.js +34 -59
- package/dist/client/app/devtools.d.ts +7 -0
- package/dist/client/app/devtools.js +29 -28
- package/dist/client/app/index.d.ts +11 -0
- package/dist/client/app/index.js +106 -131
- package/dist/client/app/router.d.ts +49 -0
- package/dist/client/app/router.js +198 -239
- package/dist/client/app/ssr.d.ts +4 -0
- package/dist/client/app/ssr.js +14 -9
- package/dist/client/app/theme.d.ts +24 -0
- package/dist/client/app/theme.js +0 -1
- package/dist/client/app/utils.d.ts +35 -0
- package/dist/client/app/utils.js +77 -110
- package/dist/client/index.d.ts +21 -137
- package/dist/client/index.js +8 -9
- package/dist/client/shared.d.ts +88 -0
- package/dist/client/shared.js +265 -141
- package/dist/client/theme-default/Layout.d.vue.ts +79 -0
- package/dist/client/theme-default/Layout.vue +33 -36
- package/dist/client/theme-default/NotFound.d.vue.ts +3 -0
- package/dist/client/theme-default/NotFound.vue +33 -35
- package/dist/client/theme-default/components/VPAlgoliaSearchBox.d.vue.ts +11 -0
- package/dist/client/theme-default/components/VPAlgoliaSearchBox.vue +202 -70
- package/dist/client/theme-default/components/VPBackdrop.d.vue.ts +6 -0
- package/dist/client/theme-default/components/VPBackdrop.vue +8 -12
- package/dist/client/theme-default/components/VPBadge.d.vue.ts +19 -0
- package/dist/client/theme-default/components/VPBadge.vue +49 -26
- package/dist/client/theme-default/components/VPButton.d.vue.ts +25 -0
- package/dist/client/theme-default/components/VPButton.vue +53 -36
- package/dist/client/theme-default/components/VPCarbonAds.d.vue.ts +7 -0
- package/dist/client/theme-default/components/VPCarbonAds.vue +51 -52
- package/dist/client/theme-default/components/VPContent.d.vue.ts +59 -0
- package/dist/client/theme-default/components/VPContent.vue +27 -26
- package/dist/client/theme-default/components/VPDoc.d.vue.ts +33 -0
- package/dist/client/theme-default/components/VPDoc.vue +52 -48
- package/dist/client/theme-default/components/VPDocAside.d.vue.ts +23 -0
- package/dist/client/theme-default/components/VPDocAside.vue +7 -8
- package/dist/client/theme-default/components/VPDocAsideCarbonAds.d.vue.ts +7 -0
- package/dist/client/theme-default/components/VPDocAsideCarbonAds.vue +7 -11
- package/dist/client/theme-default/components/VPDocAsideOutline.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPDocAsideOutline.vue +22 -38
- package/dist/client/theme-default/components/VPDocAsideSponsors.d.vue.ts +10 -0
- package/dist/client/theme-default/components/VPDocAsideSponsors.vue +17 -11
- package/dist/client/theme-default/components/VPDocFooter.d.vue.ts +13 -0
- package/dist/client/theme-default/components/VPDocFooter.vue +38 -45
- package/dist/client/theme-default/components/VPDocFooterLastUpdated.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPDocFooterLastUpdated.vue +30 -29
- package/dist/client/theme-default/components/VPDocOutlineItem.d.vue.ts +8 -0
- package/dist/client/theme-default/components/VPDocOutlineItem.vue +20 -19
- package/dist/client/theme-default/components/VPFeature.d.vue.ts +13 -0
- package/dist/client/theme-default/components/VPFeature.vue +62 -36
- package/dist/client/theme-default/components/VPFeatures.d.vue.ts +16 -0
- package/dist/client/theme-default/components/VPFeatures.vue +35 -48
- package/dist/client/theme-default/components/VPFlyout.d.vue.ts +26 -0
- package/dist/client/theme-default/components/VPFlyout.vue +111 -47
- package/dist/client/theme-default/components/VPFooter.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPFooter.vue +22 -15
- package/dist/client/theme-default/components/VPHero.d.vue.ts +38 -0
- package/dist/client/theme-default/components/VPHero.vue +109 -99
- package/dist/client/theme-default/components/VPHome.d.vue.ts +31 -0
- package/dist/client/theme-default/components/VPHome.vue +15 -15
- package/dist/client/theme-default/components/VPHomeContent.d.vue.ts +13 -0
- package/dist/client/theme-default/components/VPHomeContent.vue +9 -27
- package/dist/client/theme-default/components/VPHomeFeatures.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPHomeFeatures.vue +4 -5
- package/dist/client/theme-default/components/VPHomeHero.d.vue.ts +23 -0
- package/dist/client/theme-default/components/VPHomeHero.vue +5 -5
- package/dist/client/theme-default/components/VPHomeSponsors.d.vue.ts +21 -0
- package/dist/client/theme-default/components/VPHomeSponsors.vue +42 -43
- package/dist/client/theme-default/components/VPIcon.d.vue.ts +8 -0
- package/dist/client/theme-default/components/VPIcon.vue +29 -0
- package/dist/client/theme-default/components/VPImage.d.vue.ts +8 -0
- package/dist/client/theme-default/components/VPImage.vue +20 -14
- package/dist/client/theme-default/components/VPLink.d.vue.ts +23 -0
- package/dist/client/theme-default/components/VPLink.vue +42 -23
- package/dist/client/theme-default/components/VPLocalNav.d.vue.ts +10 -0
- package/dist/client/theme-default/components/VPLocalNav.vue +69 -86
- package/dist/client/theme-default/components/VPLocalNavOutlineDropdown.d.vue.ts +8 -0
- package/dist/client/theme-default/components/VPLocalNavOutlineDropdown.vue +98 -96
- package/dist/client/theme-default/components/VPLocalSearchBox.d.vue.ts +7 -0
- package/dist/client/theme-default/components/VPLocalSearchBox.vue +391 -454
- package/dist/client/theme-default/components/VPMenu.d.vue.ts +23 -0
- package/dist/client/theme-default/components/VPMenu.vue +19 -31
- package/dist/client/theme-default/components/VPMenuGroup.d.vue.ts +22 -0
- package/dist/client/theme-default/components/VPMenuGroup.vue +72 -18
- package/dist/client/theme-default/components/VPMenuLink.d.vue.ts +22 -0
- package/dist/client/theme-default/components/VPMenuLink.vue +65 -31
- package/dist/client/theme-default/components/VPNav.d.vue.ts +23 -0
- package/dist/client/theme-default/components/VPNav.vue +18 -24
- package/dist/client/theme-default/components/VPNavAppearance.d.vue.ts +9 -0
- package/dist/client/theme-default/components/VPNavAppearance.vue +88 -0
- package/dist/client/theme-default/components/VPNavBar.d.vue.ts +26 -0
- package/dist/client/theme-default/components/VPNavBar.vue +170 -142
- package/dist/client/theme-default/components/VPNavBarAskAiButton.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPNavBarAskAiButton.vue +31 -0
- package/dist/client/theme-default/components/VPNavBarExtra.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPNavBarExtra.vue +51 -73
- package/dist/client/theme-default/components/VPNavBarHamburger.d.vue.ts +10 -0
- package/dist/client/theme-default/components/VPNavBarHamburger.vue +38 -28
- package/dist/client/theme-default/components/VPNavBarSearch.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPNavBarSearch.vue +129 -160
- package/dist/client/theme-default/components/VPNavBarSearchButton.d.vue.ts +6 -0
- package/dist/client/theme-default/components/VPNavBarSearchButton.vue +48 -182
- package/dist/client/theme-default/components/VPNavBarTitle.d.vue.ts +15 -0
- package/dist/client/theme-default/components/VPNavBarTitle.vue +39 -38
- package/dist/client/theme-default/components/VPNavMenu.d.vue.ts +6 -0
- package/dist/client/theme-default/components/VPNavMenu.vue +76 -0
- package/dist/client/theme-default/components/VPNavMenuGroup.d.vue.ts +11 -0
- package/dist/client/theme-default/components/VPNavMenuGroup.vue +140 -0
- package/dist/client/theme-default/components/VPNavMenuLink.d.vue.ts +8 -0
- package/dist/client/theme-default/components/VPNavMenuLink.vue +69 -0
- package/dist/client/theme-default/components/VPNavScreen.d.vue.ts +18 -0
- package/dist/client/theme-default/components/VPNavScreen.vue +36 -34
- package/dist/client/theme-default/components/VPNavSocialLinks.d.vue.ts +6 -0
- package/dist/client/theme-default/components/VPNavSocialLinks.vue +36 -0
- package/dist/client/theme-default/components/VPNavTranslations.d.vue.ts +9 -0
- package/dist/client/theme-default/components/VPNavTranslations.vue +170 -0
- package/dist/client/theme-default/components/VPPage.d.vue.ts +15 -0
- package/dist/client/theme-default/components/VPSidebar.d.vue.ts +18 -0
- package/dist/client/theme-default/components/VPSidebar.vue +40 -53
- package/dist/client/theme-default/components/VPSidebarGroup.d.vue.ts +7 -0
- package/dist/client/theme-default/components/VPSidebarGroup.vue +24 -29
- package/dist/client/theme-default/components/VPSidebarItem.d.vue.ts +8 -0
- package/dist/client/theme-default/components/VPSidebarItem.vue +60 -93
- package/dist/client/theme-default/components/VPSkipLink.d.vue.ts +6 -0
- package/dist/client/theme-default/components/VPSkipLink.vue +23 -42
- package/dist/client/theme-default/components/VPSocialLink.d.vue.ts +11 -0
- package/dist/client/theme-default/components/VPSocialLink.vue +42 -49
- package/dist/client/theme-default/components/VPSocialLinks.d.vue.ts +10 -0
- package/dist/client/theme-default/components/VPSocialLinks.vue +26 -16
- package/dist/client/theme-default/components/VPSponsors.d.vue.ts +18 -0
- package/dist/client/theme-default/components/VPSponsors.vue +34 -33
- package/dist/client/theme-default/components/VPSponsorsGrid.d.vue.ts +15 -0
- package/dist/client/theme-default/components/VPSponsorsGrid.vue +23 -26
- package/dist/client/theme-default/components/VPSwitch.d.vue.ts +13 -0
- package/dist/client/theme-default/components/VPSwitch.vue +12 -13
- package/dist/client/theme-default/components/VPSwitchAppearance.d.vue.ts +3 -0
- package/dist/client/theme-default/components/VPSwitchAppearance.vue +16 -21
- package/dist/client/theme-default/components/VPTeamMembers.d.vue.ts +10 -0
- package/dist/client/theme-default/components/VPTeamMembers.vue +59 -32
- package/dist/client/theme-default/components/VPTeamMembersItem.d.vue.ts +10 -0
- package/dist/client/theme-default/components/VPTeamMembersItem.vue +62 -58
- package/dist/client/theme-default/components/VPTeamPage.d.vue.ts +13 -0
- package/dist/client/theme-default/components/VPTeamPage.vue +14 -14
- package/dist/client/theme-default/components/VPTeamPageSection.d.vue.ts +17 -0
- package/dist/client/theme-default/components/VPTeamPageSection.vue +20 -19
- package/dist/client/theme-default/components/VPTeamPageTitle.d.vue.ts +15 -0
- package/dist/client/theme-default/components/VPTeamPageTitle.vue +22 -22
- package/dist/client/theme-default/composables/data.d.ts +5 -0
- package/dist/client/theme-default/composables/data.js +5 -2
- package/dist/client/theme-default/composables/edit-link.d.ts +6 -0
- package/dist/client/theme-default/composables/edit-link.js +17 -15
- package/dist/client/theme-default/composables/flyout.d.ts +10 -0
- package/dist/client/theme-default/composables/flyout.js +33 -32
- package/dist/client/theme-default/composables/langs.d.ts +44 -0
- package/dist/client/theme-default/composables/langs.js +48 -24
- package/dist/client/theme-default/composables/layout.d.ts +13 -0
- package/dist/client/theme-default/composables/layout.js +68 -0
- package/dist/client/theme-default/composables/nav-overflow.d.ts +54 -0
- package/dist/client/theme-default/composables/nav-overflow.js +179 -0
- package/dist/client/theme-default/composables/nav.d.ts +25 -0
- package/dist/client/theme-default/composables/nav.js +58 -29
- package/dist/client/theme-default/composables/outline.d.ts +8 -0
- package/dist/client/theme-default/composables/outline.js +144 -166
- package/dist/client/theme-default/composables/prev-next.d.ts +16 -0
- package/dist/client/theme-default/composables/prev-next.js +34 -56
- package/dist/client/theme-default/composables/scroll-lock.d.ts +4 -0
- package/dist/client/theme-default/composables/scroll-lock.js +95 -0
- package/dist/client/theme-default/composables/sidebar.d.ts +25 -0
- package/dist/client/theme-default/composables/sidebar.js +96 -133
- package/dist/client/theme-default/composables/sponsor-grid.d.ts +10 -0
- package/dist/client/theme-default/composables/sponsor-grid.js +69 -76
- package/dist/client/theme-default/fonts/inter-italic-cyrillic-ext.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-italic-cyrillic.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-italic-greek-ext.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-italic-greek.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-italic-latin-ext.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-italic-latin.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-italic-symbols.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-italic-vietnamese.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-cyrillic-ext.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-cyrillic.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-greek-ext.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-greek.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-latin-ext.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-latin.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-symbols.woff2 +0 -0
- package/dist/client/theme-default/fonts/inter-roman-vietnamese.woff2 +0 -0
- package/dist/client/theme-default/index.d.ts +3 -0
- package/dist/client/theme-default/index.js +4 -3
- package/dist/client/theme-default/styles/base.css +279 -211
- package/dist/client/theme-default/styles/components/custom-block.css +12 -7
- package/dist/client/theme-default/styles/components/vp-code-group.css +13 -16
- package/dist/client/theme-default/styles/components/vp-code.css +10 -2
- package/dist/client/theme-default/styles/components/vp-doc.css +188 -142
- package/dist/client/theme-default/styles/components/vp-sponsor.css +48 -37
- package/dist/client/theme-default/styles/docsearch.css +138 -0
- package/dist/client/theme-default/styles/fonts.css +216 -55
- package/dist/client/theme-default/styles/icons.css +42 -22
- package/dist/client/theme-default/styles/vars.css +111 -46
- package/dist/client/theme-default/support/docsearch.d.ts +57 -0
- package/dist/client/theme-default/support/docsearch.js +145 -0
- package/dist/client/theme-default/support/local-search.d.ts +9 -0
- package/dist/client/theme-default/support/local-search.js +31 -0
- package/dist/client/theme-default/support/lru.d.ts +11 -0
- package/dist/client/theme-default/support/lru.js +30 -33
- package/dist/client/theme-default/support/reactivity.d.ts +4 -0
- package/dist/client/theme-default/support/reactivity.js +10 -0
- package/dist/client/theme-default/support/sidebar.d.ts +27 -0
- package/dist/client/theme-default/support/sidebar.js +69 -80
- package/dist/client/theme-default/support/translation.d.ts +6 -0
- package/dist/client/theme-default/support/translation.js +33 -47
- package/dist/client/theme-default/support/utils.d.ts +7 -0
- package/dist/client/theme-default/support/utils.js +39 -30
- package/dist/client/theme-default/without-fonts.d.ts +25 -0
- package/dist/client/theme-default/without-fonts.js +37 -36
- package/dist/node/chunk-BjrVv9r8.js +28627 -0
- package/dist/node/cli.d.ts +1 -0
- package/dist/node/cli.js +160 -423
- package/dist/node/index.d.ts +1761 -2476
- package/dist/node/index.js +1 -121
- package/dist/web-types.json +75 -0
- package/package.json +89 -98
- package/template/.vitepress/config.js +3 -1
- package/template/.vitepress/theme/style.css +3 -11
- package/theme.d.ts +30 -23
- package/types/default-theme.d.ts +109 -113
- package/types/docsearch.d.ts +61 -142
- package/types/shared.d.ts +469 -50
- package/dist/client/theme-default/components/VPNavBarAppearance.vue +0 -32
- package/dist/client/theme-default/components/VPNavBarMenu.vue +0 -40
- package/dist/client/theme-default/components/VPNavBarMenuGroup.vue +0 -42
- package/dist/client/theme-default/components/VPNavBarMenuLink.vue +0 -53
- package/dist/client/theme-default/components/VPNavBarSocialLinks.vue +0 -27
- package/dist/client/theme-default/components/VPNavBarTranslations.vue +0 -47
- package/dist/client/theme-default/components/VPNavScreenAppearance.vue +0 -40
- package/dist/client/theme-default/components/VPNavScreenMenu.vue +0 -26
- package/dist/client/theme-default/components/VPNavScreenMenuGroup.vue +0 -112
- package/dist/client/theme-default/components/VPNavScreenMenuGroupLink.vue +0 -40
- package/dist/client/theme-default/components/VPNavScreenMenuGroupSection.vue +0 -34
- package/dist/client/theme-default/components/VPNavScreenMenuLink.vue +0 -43
- package/dist/client/theme-default/components/VPNavScreenSocialLinks.vue +0 -14
- package/dist/client/theme-default/components/VPNavScreenTranslations.vue +0 -73
- package/dist/client/theme-default/components/icons/VPIconAlignJustify.vue +0 -8
- package/dist/client/theme-default/components/icons/VPIconAlignLeft.vue +0 -8
- package/dist/client/theme-default/components/icons/VPIconAlignRight.vue +0 -8
- package/dist/client/theme-default/components/icons/VPIconArrowLeft.vue +0 -7
- package/dist/client/theme-default/components/icons/VPIconArrowRight.vue +0 -7
- package/dist/client/theme-default/components/icons/VPIconChevronDown.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconChevronLeft.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconChevronRight.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconChevronUp.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconEdit.vue +0 -6
- package/dist/client/theme-default/components/icons/VPIconHeart.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconLanguages.vue +0 -9
- package/dist/client/theme-default/components/icons/VPIconMinus.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconMinusSquare.vue +0 -6
- package/dist/client/theme-default/components/icons/VPIconMoon.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconMoreHorizontal.vue +0 -7
- package/dist/client/theme-default/components/icons/VPIconPlus.vue +0 -5
- package/dist/client/theme-default/components/icons/VPIconPlusSquare.vue +0 -6
- package/dist/client/theme-default/components/icons/VPIconSun.vue +0 -13
- package/dist/client/theme-default/composables/aside.js +0 -17
- package/dist/client/theme-default/composables/local-nav.js +0 -18
- package/dist/node/chunk-C-d2RJOW.js +0 -470
- package/dist/node/chunk-CxQfvv8o.js +0 -49065
- package/dist/node/worker_shikiResolveLang.js +0 -13
|
@@ -1,26 +1,31 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import VPButton from
|
|
5
|
-
import VPImage from
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
1
|
+
<script setup>
|
|
2
|
+
import { computed, inject } from "vue";
|
|
3
|
+
import { layoutInfoInjectionKey } from "../composables/layout";
|
|
4
|
+
import VPButton from "./VPButton.vue";
|
|
5
|
+
import VPImage from "./VPImage.vue";
|
|
6
|
+
defineProps({
|
|
7
|
+
name: {
|
|
8
|
+
type: String,
|
|
9
|
+
required: false
|
|
10
|
+
},
|
|
11
|
+
text: {
|
|
12
|
+
type: String,
|
|
13
|
+
required: false
|
|
14
|
+
},
|
|
15
|
+
tagline: {
|
|
16
|
+
type: String,
|
|
17
|
+
required: false
|
|
18
|
+
},
|
|
19
|
+
image: {
|
|
20
|
+
type: [String, Object],
|
|
21
|
+
required: false
|
|
22
|
+
},
|
|
23
|
+
actions: {
|
|
24
|
+
type: Array,
|
|
25
|
+
required: false
|
|
26
|
+
}
|
|
27
|
+
});
|
|
28
|
+
const { heroImageSlotExists } = inject(layoutInfoInjectionKey, { heroImageSlotExists: computed(() => false) });
|
|
24
29
|
</script>
|
|
25
30
|
|
|
26
31
|
<template>
|
|
@@ -30,14 +35,15 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref<boolean>
|
|
|
30
35
|
<slot name="home-hero-info-before" />
|
|
31
36
|
<slot name="home-hero-info">
|
|
32
37
|
<h1 class="heading">
|
|
33
|
-
<span v-if="name" v-html="name" class="name clip"></span>
|
|
34
|
-
<span v-if="text" v-html="text" class="text"></span>
|
|
38
|
+
<span v-if="name" dir="auto" v-html="name" class="name clip"></span>
|
|
39
|
+
<span v-if="text" dir="auto" v-html="text" class="text"></span>
|
|
35
40
|
</h1>
|
|
36
|
-
<p v-if="tagline"
|
|
41
|
+
<p v-if="tagline" class="tagline"><bdi v-html="tagline" /></p>
|
|
37
42
|
</slot>
|
|
38
43
|
<slot name="home-hero-info-after" />
|
|
39
44
|
|
|
40
45
|
<div v-if="actions" class="actions">
|
|
46
|
+
<slot name="home-hero-actions-before-actions" />
|
|
41
47
|
<div v-for="action in actions" :key="action.link" class="action">
|
|
42
48
|
<VPButton
|
|
43
49
|
tag="a"
|
|
@@ -57,7 +63,7 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref<boolean>
|
|
|
57
63
|
<div class="image-container">
|
|
58
64
|
<div class="image-bg" />
|
|
59
65
|
<slot name="home-hero-image">
|
|
60
|
-
<VPImage v-if="image" class="image-src" :image
|
|
66
|
+
<VPImage v-if="image" class="image-src" :image />
|
|
61
67
|
</slot>
|
|
62
68
|
</div>
|
|
63
69
|
</div>
|
|
@@ -68,18 +74,18 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref<boolean>
|
|
|
68
74
|
<style scoped>
|
|
69
75
|
.VPHero {
|
|
70
76
|
margin-top: calc((var(--vp-nav-height) + var(--vp-layout-top-height, 0px)) * -1);
|
|
71
|
-
padding: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) +
|
|
77
|
+
padding: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 3rem) 1.5rem 3rem;
|
|
72
78
|
}
|
|
73
79
|
|
|
74
|
-
@media (min-width:
|
|
80
|
+
@media (min-width: 40rem) {
|
|
75
81
|
.VPHero {
|
|
76
|
-
padding: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) +
|
|
82
|
+
padding: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 5rem) 3rem 4rem;
|
|
77
83
|
}
|
|
78
84
|
}
|
|
79
85
|
|
|
80
|
-
@media (min-width:
|
|
86
|
+
@media (min-width: 60rem) {
|
|
81
87
|
.VPHero {
|
|
82
|
-
padding: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) +
|
|
88
|
+
padding: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 5rem) 4rem 4rem;
|
|
83
89
|
}
|
|
84
90
|
}
|
|
85
91
|
|
|
@@ -87,10 +93,10 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref<boolean>
|
|
|
87
93
|
display: flex;
|
|
88
94
|
flex-direction: column;
|
|
89
95
|
margin: 0 auto;
|
|
90
|
-
max-width:
|
|
96
|
+
max-width: 72rem;
|
|
91
97
|
}
|
|
92
98
|
|
|
93
|
-
@media (min-width:
|
|
99
|
+
@media (min-width: 60rem) {
|
|
94
100
|
.container {
|
|
95
101
|
flex-direction: row;
|
|
96
102
|
}
|
|
@@ -108,20 +114,20 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref<boolean>
|
|
|
108
114
|
text-align: center;
|
|
109
115
|
}
|
|
110
116
|
|
|
111
|
-
@media (min-width:
|
|
117
|
+
@media (min-width: 60rem) {
|
|
112
118
|
.VPHero.has-image .container {
|
|
113
|
-
text-align:
|
|
119
|
+
text-align: start;
|
|
114
120
|
}
|
|
115
121
|
}
|
|
116
122
|
|
|
117
|
-
@media (min-width:
|
|
123
|
+
@media (min-width: 60rem) {
|
|
118
124
|
.main {
|
|
119
125
|
order: 1;
|
|
120
126
|
width: calc((100% / 3) * 2);
|
|
121
127
|
}
|
|
122
128
|
|
|
123
129
|
.VPHero.has-image .main {
|
|
124
|
-
max-width:
|
|
130
|
+
max-width: 37rem;
|
|
125
131
|
}
|
|
126
132
|
}
|
|
127
133
|
|
|
@@ -133,12 +139,17 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref<boolean>
|
|
|
133
139
|
.name,
|
|
134
140
|
.text {
|
|
135
141
|
width: fit-content;
|
|
136
|
-
max-width:
|
|
137
|
-
letter-spacing: -0.
|
|
138
|
-
line-height:
|
|
139
|
-
font-size:
|
|
142
|
+
max-width: 24.5rem;
|
|
143
|
+
letter-spacing: -0.025rem;
|
|
144
|
+
line-height: 1.25;
|
|
145
|
+
font-size: 2rem;
|
|
140
146
|
font-weight: 700;
|
|
141
147
|
white-space: pre-wrap;
|
|
148
|
+
|
|
149
|
+
&:lang(ja) {
|
|
150
|
+
font-feature-settings: 'palt';
|
|
151
|
+
word-break: auto-phrase;
|
|
152
|
+
}
|
|
142
153
|
}
|
|
143
154
|
|
|
144
155
|
.VPHero.has-image .name,
|
|
@@ -157,20 +168,20 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref<boolean>
|
|
|
157
168
|
-webkit-text-fill-color: var(--vp-home-hero-name-color);
|
|
158
169
|
}
|
|
159
170
|
|
|
160
|
-
@media (min-width:
|
|
171
|
+
@media (min-width: 40rem) {
|
|
161
172
|
.name,
|
|
162
173
|
.text {
|
|
163
|
-
max-width:
|
|
164
|
-
line-height:
|
|
165
|
-
font-size:
|
|
174
|
+
max-width: 36rem;
|
|
175
|
+
line-height: 1.1666667;
|
|
176
|
+
font-size: 3rem;
|
|
166
177
|
}
|
|
167
178
|
}
|
|
168
179
|
|
|
169
|
-
@media (min-width:
|
|
180
|
+
@media (min-width: 60rem) {
|
|
170
181
|
.name,
|
|
171
182
|
.text {
|
|
172
|
-
line-height:
|
|
173
|
-
font-size:
|
|
183
|
+
line-height: 1.1428571;
|
|
184
|
+
font-size: 3.5rem;
|
|
174
185
|
}
|
|
175
186
|
|
|
176
187
|
.VPHero.has-image .name,
|
|
@@ -180,10 +191,10 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref<boolean>
|
|
|
180
191
|
}
|
|
181
192
|
|
|
182
193
|
.tagline {
|
|
183
|
-
padding-top:
|
|
184
|
-
max-width:
|
|
185
|
-
line-height:
|
|
186
|
-
font-size:
|
|
194
|
+
padding-top: 0.5rem;
|
|
195
|
+
max-width: 24.5rem;
|
|
196
|
+
line-height: 1.5555556;
|
|
197
|
+
font-size: 1.125rem;
|
|
187
198
|
font-weight: 500;
|
|
188
199
|
white-space: pre-wrap;
|
|
189
200
|
color: var(--vp-c-text-2);
|
|
@@ -193,19 +204,19 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref<boolean>
|
|
|
193
204
|
margin: 0 auto;
|
|
194
205
|
}
|
|
195
206
|
|
|
196
|
-
@media (min-width:
|
|
207
|
+
@media (min-width: 40rem) {
|
|
197
208
|
.tagline {
|
|
198
|
-
padding-top:
|
|
199
|
-
max-width:
|
|
200
|
-
line-height:
|
|
201
|
-
font-size:
|
|
209
|
+
padding-top: 0.75rem;
|
|
210
|
+
max-width: 36rem;
|
|
211
|
+
line-height: 1.6;
|
|
212
|
+
font-size: 1.25rem;
|
|
202
213
|
}
|
|
203
214
|
}
|
|
204
215
|
|
|
205
|
-
@media (min-width:
|
|
216
|
+
@media (min-width: 60rem) {
|
|
206
217
|
.tagline {
|
|
207
|
-
line-height:
|
|
208
|
-
font-size:
|
|
218
|
+
line-height: 1.5;
|
|
219
|
+
font-size: 1.5rem;
|
|
209
220
|
}
|
|
210
221
|
|
|
211
222
|
.VPHero.has-image .tagline {
|
|
@@ -216,21 +227,21 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref<boolean>
|
|
|
216
227
|
.actions {
|
|
217
228
|
display: flex;
|
|
218
229
|
flex-wrap: wrap;
|
|
219
|
-
margin: -
|
|
220
|
-
padding-top:
|
|
230
|
+
margin: -0.375rem;
|
|
231
|
+
padding-top: 1.5rem;
|
|
221
232
|
}
|
|
222
233
|
|
|
223
234
|
.VPHero.has-image .actions {
|
|
224
235
|
justify-content: center;
|
|
225
236
|
}
|
|
226
237
|
|
|
227
|
-
@media (min-width:
|
|
238
|
+
@media (min-width: 40rem) {
|
|
228
239
|
.actions {
|
|
229
|
-
padding-top:
|
|
240
|
+
padding-top: 2rem;
|
|
230
241
|
}
|
|
231
242
|
}
|
|
232
243
|
|
|
233
|
-
@media (min-width:
|
|
244
|
+
@media (min-width: 60rem) {
|
|
234
245
|
.VPHero.has-image .actions {
|
|
235
246
|
justify-content: flex-start;
|
|
236
247
|
}
|
|
@@ -238,21 +249,21 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref<boolean>
|
|
|
238
249
|
|
|
239
250
|
.action {
|
|
240
251
|
flex-shrink: 0;
|
|
241
|
-
padding:
|
|
252
|
+
padding: 0.375rem;
|
|
242
253
|
}
|
|
243
254
|
|
|
244
255
|
.image {
|
|
245
256
|
order: 1;
|
|
246
|
-
margin: -
|
|
257
|
+
margin: -4.75rem -1.5rem -3rem;
|
|
247
258
|
}
|
|
248
259
|
|
|
249
|
-
@media (min-width:
|
|
260
|
+
@media (min-width: 40rem) {
|
|
250
261
|
.image {
|
|
251
|
-
margin: -
|
|
262
|
+
margin: -6.75rem -1.5rem -3rem;
|
|
252
263
|
}
|
|
253
264
|
}
|
|
254
265
|
|
|
255
|
-
@media (min-width:
|
|
266
|
+
@media (min-width: 60rem) {
|
|
256
267
|
.image {
|
|
257
268
|
flex-grow: 1;
|
|
258
269
|
order: 2;
|
|
@@ -264,79 +275,78 @@ const heroImageSlotExists = inject('hero-image-slot-exists') as Ref<boolean>
|
|
|
264
275
|
.image-container {
|
|
265
276
|
position: relative;
|
|
266
277
|
margin: 0 auto;
|
|
267
|
-
width:
|
|
268
|
-
height:
|
|
278
|
+
width: 20rem;
|
|
279
|
+
height: 20rem;
|
|
269
280
|
}
|
|
270
281
|
|
|
271
|
-
@media (min-width:
|
|
282
|
+
@media (min-width: 40rem) {
|
|
272
283
|
.image-container {
|
|
273
|
-
width:
|
|
274
|
-
height:
|
|
284
|
+
width: 24.5rem;
|
|
285
|
+
height: 24.5rem;
|
|
275
286
|
}
|
|
276
287
|
}
|
|
277
288
|
|
|
278
|
-
@media (min-width:
|
|
289
|
+
@media (min-width: 60rem) {
|
|
279
290
|
.image-container {
|
|
280
291
|
display: flex;
|
|
281
292
|
justify-content: center;
|
|
282
293
|
align-items: center;
|
|
283
294
|
width: 100%;
|
|
284
295
|
height: 100%;
|
|
285
|
-
|
|
286
|
-
transform: translate(-32px, -32px);
|
|
296
|
+
transform: translate(calc(-2rem * var(--vp-direction-multiplier)), -2rem);
|
|
287
297
|
}
|
|
288
298
|
}
|
|
289
299
|
|
|
290
300
|
.image-bg {
|
|
291
301
|
position: absolute;
|
|
292
302
|
top: 50%;
|
|
293
|
-
/*rtl:ignore*/
|
|
294
303
|
left: 50%;
|
|
295
304
|
border-radius: 50%;
|
|
296
|
-
width:
|
|
297
|
-
height:
|
|
305
|
+
width: 12rem;
|
|
306
|
+
height: 12rem;
|
|
298
307
|
background-image: var(--vp-home-hero-image-background-image);
|
|
308
|
+
will-change: filter;
|
|
299
309
|
filter: var(--vp-home-hero-image-filter);
|
|
300
|
-
/*rtl:ignore*/
|
|
301
310
|
transform: translate(-50%, -50%);
|
|
302
311
|
}
|
|
303
312
|
|
|
304
|
-
@media (min-width:
|
|
313
|
+
@media (min-width: 40rem) {
|
|
305
314
|
.image-bg {
|
|
306
|
-
width:
|
|
307
|
-
height:
|
|
315
|
+
width: 16rem;
|
|
316
|
+
height: 16rem;
|
|
308
317
|
}
|
|
309
318
|
}
|
|
310
319
|
|
|
311
|
-
@media (min-width:
|
|
320
|
+
@media (min-width: 60rem) {
|
|
312
321
|
.image-bg {
|
|
313
|
-
width:
|
|
314
|
-
height:
|
|
322
|
+
width: 20rem;
|
|
323
|
+
height: 20rem;
|
|
315
324
|
}
|
|
316
325
|
}
|
|
317
326
|
|
|
318
327
|
:deep(.image-src) {
|
|
319
328
|
position: absolute;
|
|
320
329
|
top: 50%;
|
|
321
|
-
/*rtl:ignore*/
|
|
322
330
|
left: 50%;
|
|
323
|
-
max-width:
|
|
324
|
-
max-height:
|
|
325
|
-
|
|
331
|
+
max-width: 12rem;
|
|
332
|
+
max-height: 12rem;
|
|
333
|
+
width: 100%;
|
|
334
|
+
height: 100%;
|
|
335
|
+
object-fit: contain;
|
|
326
336
|
transform: translate(-50%, -50%);
|
|
327
337
|
}
|
|
328
338
|
|
|
329
|
-
@media (min-width:
|
|
339
|
+
@media (min-width: 40rem) {
|
|
330
340
|
:deep(.image-src) {
|
|
331
|
-
max-width:
|
|
332
|
-
max-height:
|
|
341
|
+
max-width: 16rem;
|
|
342
|
+
max-height: 16rem;
|
|
333
343
|
}
|
|
334
344
|
}
|
|
335
345
|
|
|
336
|
-
@media (min-width:
|
|
346
|
+
@media (min-width: 60rem) {
|
|
337
347
|
:deep(.image-src) {
|
|
338
|
-
max-width:
|
|
339
|
-
max-height:
|
|
348
|
+
max-width: 20rem;
|
|
349
|
+
max-height: 20rem;
|
|
340
350
|
}
|
|
341
351
|
}
|
|
342
352
|
</style>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
declare var __VLS_1: {}, __VLS_10: {}, __VLS_13: {}, __VLS_16: {}, __VLS_19: {}, __VLS_22: {}, __VLS_25: {}, __VLS_27: {}, __VLS_29: {}, __VLS_36: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
'home-hero-before'?: (props: typeof __VLS_1) => any;
|
|
4
|
+
} & {
|
|
5
|
+
'home-hero-info-before'?: (props: typeof __VLS_10) => any;
|
|
6
|
+
} & {
|
|
7
|
+
'home-hero-info'?: (props: typeof __VLS_13) => any;
|
|
8
|
+
} & {
|
|
9
|
+
'home-hero-info-after'?: (props: typeof __VLS_16) => any;
|
|
10
|
+
} & {
|
|
11
|
+
'home-hero-actions-after'?: (props: typeof __VLS_19) => any;
|
|
12
|
+
} & {
|
|
13
|
+
'home-hero-actions-before-actions'?: (props: typeof __VLS_22) => any;
|
|
14
|
+
} & {
|
|
15
|
+
'home-hero-image'?: (props: typeof __VLS_25) => any;
|
|
16
|
+
} & {
|
|
17
|
+
'home-hero-after'?: (props: typeof __VLS_27) => any;
|
|
18
|
+
} & {
|
|
19
|
+
'home-features-before'?: (props: typeof __VLS_29) => any;
|
|
20
|
+
} & {
|
|
21
|
+
'home-features-after'?: (props: typeof __VLS_36) => any;
|
|
22
|
+
};
|
|
23
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
24
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
25
|
+
declare const _default: typeof __VLS_export;
|
|
26
|
+
export default _default;
|
|
27
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
28
|
+
new (): {
|
|
29
|
+
$slots: S;
|
|
30
|
+
};
|
|
31
|
+
};
|
|
@@ -1,24 +1,23 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
|
|
7
|
-
const { frontmatter, theme } = useData()
|
|
1
|
+
<script setup>
|
|
2
|
+
import { useData } from "../composables/data";
|
|
3
|
+
import VPHomeContent from "./VPHomeContent.vue";
|
|
4
|
+
import VPHomeFeatures from "./VPHomeFeatures.vue";
|
|
5
|
+
import VPHomeHero from "./VPHomeHero.vue";
|
|
6
|
+
const { frontmatter, theme } = useData();
|
|
8
7
|
</script>
|
|
9
8
|
|
|
10
9
|
<template>
|
|
11
|
-
<div
|
|
12
|
-
class="VPHome"
|
|
13
|
-
:class="{
|
|
14
|
-
|
|
15
|
-
}">
|
|
10
|
+
<div
|
|
11
|
+
class="VPHome"
|
|
12
|
+
:class="{ 'external-link-icon-enabled': theme.externalLinkIcon }"
|
|
13
|
+
>
|
|
16
14
|
<slot name="home-hero-before" />
|
|
17
15
|
<VPHomeHero>
|
|
18
16
|
<template #home-hero-info-before><slot name="home-hero-info-before" /></template>
|
|
19
17
|
<template #home-hero-info><slot name="home-hero-info" /></template>
|
|
20
18
|
<template #home-hero-info-after><slot name="home-hero-info-after" /></template>
|
|
21
19
|
<template #home-hero-actions-after><slot name="home-hero-actions-after" /></template>
|
|
20
|
+
<template #home-hero-actions-before-actions><slot name="home-hero-actions-before-actions" /></template>
|
|
22
21
|
<template #home-hero-image><slot name="home-hero-image" /></template>
|
|
23
22
|
</VPHomeHero>
|
|
24
23
|
<slot name="home-hero-after" />
|
|
@@ -36,12 +35,13 @@ const { frontmatter, theme } = useData()
|
|
|
36
35
|
|
|
37
36
|
<style scoped>
|
|
38
37
|
.VPHome {
|
|
39
|
-
|
|
38
|
+
overflow-x: clip;
|
|
39
|
+
margin-bottom: 6rem;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
@media (min-width:
|
|
42
|
+
@media (min-width: 48rem) {
|
|
43
43
|
.VPHome {
|
|
44
|
-
margin-bottom:
|
|
44
|
+
margin-bottom: 8rem;
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
</style>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
declare var __VLS_1: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_1) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
6
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
7
|
+
declare const _default: typeof __VLS_export;
|
|
8
|
+
export default _default;
|
|
9
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
10
|
+
new (): {
|
|
11
|
+
$slots: S;
|
|
12
|
+
};
|
|
13
|
+
};
|
|
@@ -1,17 +1,5 @@
|
|
|
1
|
-
<script setup lang="ts">
|
|
2
|
-
import { useWindowSize } from '@vueuse/core'
|
|
3
|
-
|
|
4
|
-
const { width: vw } = useWindowSize({
|
|
5
|
-
initialWidth: 0,
|
|
6
|
-
includeScrollbar: false
|
|
7
|
-
})
|
|
8
|
-
</script>
|
|
9
|
-
|
|
10
1
|
<template>
|
|
11
|
-
<div
|
|
12
|
-
class="vp-doc container"
|
|
13
|
-
:style="vw ? { '--vp-offset': `calc(50% - ${vw / 2}px)` } : {}"
|
|
14
|
-
>
|
|
2
|
+
<div class="VPHomeContent vp-doc container">
|
|
15
3
|
<slot />
|
|
16
4
|
</div>
|
|
17
5
|
</template>
|
|
@@ -20,35 +8,29 @@ const { width: vw } = useWindowSize({
|
|
|
20
8
|
.container {
|
|
21
9
|
margin: auto;
|
|
22
10
|
width: 100%;
|
|
23
|
-
max-width:
|
|
24
|
-
padding: 0
|
|
11
|
+
max-width: 80rem;
|
|
12
|
+
padding: 0 1.5rem;
|
|
25
13
|
}
|
|
26
14
|
|
|
27
|
-
@media (min-width:
|
|
15
|
+
@media (min-width: 40rem) {
|
|
28
16
|
.container {
|
|
29
|
-
padding: 0
|
|
17
|
+
padding: 0 3rem;
|
|
30
18
|
}
|
|
31
19
|
}
|
|
32
20
|
|
|
33
|
-
@media (min-width:
|
|
21
|
+
@media (min-width: 60rem) {
|
|
34
22
|
.container {
|
|
35
23
|
width: 100%;
|
|
36
|
-
padding: 0
|
|
24
|
+
padding: 0 4rem;
|
|
37
25
|
}
|
|
38
26
|
}
|
|
39
27
|
|
|
28
|
+
/* stretch to full viewport width, overflow is clipped by .VPHome */
|
|
40
29
|
.vp-doc :deep(.VPHomeSponsors),
|
|
41
30
|
.vp-doc :deep(.VPTeamPage) {
|
|
42
|
-
margin-
|
|
43
|
-
margin-right: var(--vp-offset, calc(50% - 50vw));
|
|
44
|
-
}
|
|
45
|
-
|
|
46
|
-
.vp-doc :deep(.VPHomeSponsors h2) {
|
|
47
|
-
border-top: none;
|
|
48
|
-
letter-spacing: normal;
|
|
31
|
+
margin-inline: calc(50% - 50vw);
|
|
49
32
|
}
|
|
50
33
|
|
|
51
|
-
.vp-doc :deep(.VPHomeSponsors a),
|
|
52
34
|
.vp-doc :deep(.VPTeamPage a) {
|
|
53
35
|
text-decoration: none;
|
|
54
36
|
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
2
|
+
declare const _default: typeof __VLS_export;
|
|
3
|
+
export default _default;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import { useData } from
|
|
3
|
-
import VPFeatures from
|
|
4
|
-
|
|
5
|
-
const { frontmatter: fm } = useData()
|
|
1
|
+
<script setup>
|
|
2
|
+
import { useData } from "../composables/data";
|
|
3
|
+
import VPFeatures from "./VPFeatures.vue";
|
|
4
|
+
const { frontmatter: fm } = useData();
|
|
6
5
|
</script>
|
|
7
6
|
|
|
8
7
|
<template>
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
declare var __VLS_8: {}, __VLS_11: {}, __VLS_14: {}, __VLS_17: {}, __VLS_20: {}, __VLS_23: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
'home-hero-info-before'?: (props: typeof __VLS_8) => any;
|
|
4
|
+
} & {
|
|
5
|
+
'home-hero-info'?: (props: typeof __VLS_11) => any;
|
|
6
|
+
} & {
|
|
7
|
+
'home-hero-info-after'?: (props: typeof __VLS_14) => any;
|
|
8
|
+
} & {
|
|
9
|
+
'home-hero-actions-after'?: (props: typeof __VLS_17) => any;
|
|
10
|
+
} & {
|
|
11
|
+
'home-hero-actions-before-actions'?: (props: typeof __VLS_20) => any;
|
|
12
|
+
} & {
|
|
13
|
+
'home-hero-image'?: (props: typeof __VLS_23) => any;
|
|
14
|
+
};
|
|
15
|
+
declare const __VLS_base: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
export default _default;
|
|
19
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
20
|
+
new (): {
|
|
21
|
+
$slots: S;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
<script setup
|
|
2
|
-
import { useData } from
|
|
3
|
-
import VPHero from
|
|
4
|
-
|
|
5
|
-
const { frontmatter: fm } = useData()
|
|
1
|
+
<script setup>
|
|
2
|
+
import { useData } from "../composables/data";
|
|
3
|
+
import VPHero from "./VPHero.vue";
|
|
4
|
+
const { frontmatter: fm } = useData();
|
|
6
5
|
</script>
|
|
7
6
|
|
|
8
7
|
<template>
|
|
@@ -19,6 +18,7 @@ const { frontmatter: fm } = useData()
|
|
|
19
18
|
<template #home-hero-info><slot name="home-hero-info" /></template>
|
|
20
19
|
<template #home-hero-info-after><slot name="home-hero-info-after" /></template>
|
|
21
20
|
<template #home-hero-actions-after><slot name="home-hero-actions-after" /></template>
|
|
21
|
+
<template #home-hero-actions-before-actions><slot name="home-hero-actions-before-actions" /></template>
|
|
22
22
|
<template #home-hero-image><slot name="home-hero-image" /></template>
|
|
23
23
|
</VPHero>
|
|
24
24
|
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export interface Sponsors {
|
|
2
|
+
tier: string;
|
|
3
|
+
size?: 'medium' | 'big';
|
|
4
|
+
items: Sponsor[];
|
|
5
|
+
}
|
|
6
|
+
export interface Sponsor {
|
|
7
|
+
name: string;
|
|
8
|
+
img: string;
|
|
9
|
+
url: string;
|
|
10
|
+
}
|
|
11
|
+
interface Props {
|
|
12
|
+
message?: string;
|
|
13
|
+
actionText?: string;
|
|
14
|
+
actionLink?: string;
|
|
15
|
+
data: Sponsors[];
|
|
16
|
+
}
|
|
17
|
+
declare const __VLS_export: import("vue").DefineComponent<Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<Props> & Readonly<{}>, {
|
|
18
|
+
actionText: string;
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|