Skip to content

Commit 6837235

Browse files
committed
chore: merge main
2 parents f51756e + 4e3448a commit 6837235

File tree

126 files changed

+971
-1267
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+971
-1267
lines changed

docs/.vitepress/buildEnd.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export const buildEnd = async (config: SiteConfig): Promise<void> => {
1414
id: blogUrl,
1515
link: blogUrl,
1616
language: 'en',
17-
image: 'https://vite.dev/og-image.png',
17+
image: 'https://vite.dev/og-image.jpg',
1818
favicon: 'https://vite.dev/logo.svg',
1919
copyright: 'Copyright © 2019-present VoidZero Inc. & Vite Contributors',
2020
})
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
interface Window {
2+
__VITE_BANNER_ID__: string
3+
}

docs/.vitepress/theme/components/AsideSponsors.vue

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ const sponsors = computed(() => {
2424
href="https://viteconf.org/?utm=vite-sidebar"
2525
target="_blank"
2626
>
27-
<img width="22" height="22" src="/viteconf.svg" alt="ViteConf Logo" />
27+
<img
28+
width="22"
29+
height="22"
30+
src="../../../images/viteconf.svg"
31+
alt="ViteConf Logo"
32+
/>
2833
<span>
2934
<p class="extra-info">Building Together</p>
3035
<p class="heading">ViteConf 2025</p>

docs/.vitepress/theme/components/SponsorBanner.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script setup>
1+
<script setup lang="ts">
22
/**
33
* Adding a new banner:
44
* 1. uncomment the banner slot in ../index.ts
@@ -15,7 +15,7 @@ const open = ref(true)
1515
function dismiss() {
1616
open.value = false
1717
document.documentElement.classList.add('banner-dismissed')
18-
localStorage.setItem(`vite-docs-banner-${__VITE_BANNER_ID__}`, 'true')
18+
localStorage.setItem(`vite-docs-banner-${window.__VITE_BANNER_ID__}`, 'true')
1919
}
2020
</script>
2121

docs/.vitepress/theme/components/landing/1. hero-section/HeroDiagram.vue

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<script setup lang="ts">
22
import { gsap } from 'gsap'
33
import { MotionPathPlugin } from 'gsap/dist/MotionPathPlugin'
4-
import { onMounted, onUnmounted, Ref, ref } from 'vue'
4+
import { onMounted, onUnmounted, type Ref, ref } from 'vue'
55
import SvgInputs from './svg-elements/SvgInputs.vue'
66
import SvgOutputs from './svg-elements/SvgOutputs.vue'
77
import SvgBlueIndicator from './svg-elements/SvgBlueIndicator.vue'
88
import SvgPinkIndicator from './svg-elements/SvgPinkIndicator.vue'
99
import { ScrollTrigger } from 'gsap/dist/ScrollTrigger'
10-
import { SvgNodeProps } from '../common/SvgNode.vue'
10+
import type { SvgNodeProps } from '../common/SvgNode.vue'
1111
1212
gsap.registerPlugin(MotionPathPlugin)
1313
@@ -470,7 +470,7 @@ onMounted(() => {
470470
</div>
471471
<div class="vite-chip__filter" />
472472
<img
473-
:src="isUwu ? '/logo-uwu.png' : '/logo.svg'"
473+
:src="isUwu ? '/logo-uwu.webp' : '/logo.svg'"
474474
:alt="isUwu ? 'Vite Kawaii Logo by @icarusgkx' : 'Vite Logo'"
475475
class="vite-chip__logo"
476476
:class="{ uwu: isUwu }"
@@ -715,7 +715,7 @@ onMounted(() => {
715715
}
716716
717717
background:
718-
url('/noise.png'),
718+
url('../common/noise.webp'),
719719
radial-gradient(
720720
circle at right center,
721721
rgb(86, 50, 119) 0%,
@@ -732,7 +732,7 @@ onMounted(() => {
732732
733733
@media (min-width: 1024px) {
734734
background:
735-
url('/noise.png'),
735+
url('../common/noise.webp'),
736736
radial-gradient(
737737
circle at right center,
738738
rgba(75, 41, 105, 0.5) 0%,
@@ -751,7 +751,7 @@ onMounted(() => {
751751
752752
@media (min-width: 1500px) {
753753
background:
754-
url('/noise.png'),
754+
url('../common/noise.webp'),
755755
radial-gradient(
756756
circle at right center,
757757
rgba(75, 41, 105, 0.5) 0%,
@@ -770,7 +770,7 @@ onMounted(() => {
770770
771771
@media (min-width: 1800px) {
772772
background:
773-
url('/noise.png'),
773+
url('../common/noise.webp'),
774774
radial-gradient(
775775
circle at right center,
776776
rgba(75, 41, 105, 0.5) 0%,

docs/.vitepress/theme/components/landing/1. hero-section/HeroSection.vue

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,12 @@ import HeroDiagram from './HeroDiagram.vue'
1111
class="hero__pill"
1212
target="_blank"
1313
>
14-
<img src="/viteconf.svg" alt="Viteconf logo" width="20" height="20" />
14+
<img
15+
src="../../../../../images/viteconf.svg"
16+
alt="Viteconf logo"
17+
width="20"
18+
height="20"
19+
/>
1520
<span>ViteConf 2025</span>
1621
</a>
1722

@@ -31,7 +36,7 @@ import HeroDiagram from './HeroDiagram.vue'
3136
target="_blank"
3237
class="btn btn--outline"
3338
>
34-
<img src="/github.svg" alt="GitHub logo" width="20" height="20" />
39+
<img src="./github.svg" alt="GitHub logo" width="20" height="20" />
3540
GitHub
3641
</a>
3742
</div>

docs/.vitepress/theme/components/landing/1. hero-section/svg-elements/SvgInputs.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
2-
import SvgNode, { SvgNodeProps } from '../../common/SvgNode.vue'
3-
import { Ref } from 'vue'
2+
import SvgNode, { type SvgNodeProps } from '../../common/SvgNode.vue'
3+
import type { Ref } from 'vue'
44
55
defineProps({
66
inputLines: {

docs/.vitepress/theme/components/landing/1. hero-section/svg-elements/SvgOutputs.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<script setup lang="ts">
2-
import SvgNode, { SvgNodeProps } from '../../common/SvgNode.vue'
3-
import { Ref } from 'vue'
2+
import SvgNode, { type SvgNodeProps } from '../../common/SvgNode.vue'
3+
import type { Ref } from 'vue'
44
55
defineProps({
66
outputLines: {

docs/.vitepress/theme/components/landing/2. feature-section/FeatureCI.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { Ref, ref } from 'vue'
2+
import { type Ref, ref } from 'vue'
33
import SvgNode from '../common/SvgNode.vue'
44
import { gsap } from 'gsap'
55
import { useSlideIn } from '../../../composables/useSlideIn'

0 commit comments

Comments
 (0)