Skip to content

Commit 546588a

Browse files
authored
docs: minor fixes (vitejs#20475)
1 parent e9cdfb9 commit 546588a

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ function dismiss() {
8080
Register
8181
</a>
8282
</p>
83-
<button @click="dismiss">
83+
<button aria-label="close" @click="dismiss">
8484
<svg
8585
class="close"
8686
xmlns="http://www.w3.org/2000/svg"

docs/.vitepress/theme/components/landing/3. frameworks-section/FrameworkCard.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ const props = withDefaults(defineProps<Props>(), {
5656
v-if="props.framework.logo"
5757
:src="props.framework.logo"
5858
:alt="props.framework.name"
59+
loading="lazy"
5960
/>
6061
</component>
6162
</template>

docs/.vitepress/theme/components/landing/4. community-section/CommunityCard.vue

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ defineProps<{
3636
:src="testimonial.avatar"
3737
:alt="testimonial.name"
3838
class="card__avatar"
39+
loading="lazy"
3940
/>
4041
<div class="card__meta">
4142
<span class="card__name">

docs/.vitepress/theme/components/landing/4. community-section/CommunitySection.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ SolidJS in mind, they should scale from our simplest template to opinionated sta
5353
name: 'David Cramer',
5454
handle: '@zeeg',
5555
avatar:
56-
'https://pbs.twimg.com/profile_images/1706891973553168384/zdAPOznc_400x400.jpg',
56+
'https://pbs.twimg.com/profile_images/1911613315765133312/HVkULegC_400x400.jpg',
5757
comment: ['Vite has been a game changer for the industry.'],
5858
},
5959
{
@@ -69,7 +69,7 @@ SolidJS in mind, they should scale from our simplest template to opinionated sta
6969
name: 'Christoph Nakazawa',
7070
handle: '@cpojer',
7171
avatar:
72-
'https://pbs.twimg.com/profile_images/1854151427595407360/4GyUCgEH_400x400.jpg',
72+
'https://pbs.twimg.com/profile_images/1910252462126313472/gXgT-jxL_400x400.jpg',
7373
comment: ['Vite is gonna eat the (JavaScript) world.'],
7474
},
7575
{

docs/.vitepress/theme/components/landing/5. sponsor-section/SponsorSection.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ const { data } = useSponsor()
4545
alt="Vite is made possible by our contributors, partner companies, and sponsors"
4646
width="58"
4747
height="55"
48+
loading="lazy"
4849
/>
4950
<h2>Free &amp; open source</h2>
5051
<h4>
@@ -55,7 +56,7 @@ const { data } = useSponsor()
5556
<h4>Brought to you by</h4>
5657
<div class="voidzero">
5758
<a :href="voidZero.url" target="_blank">
58-
<img :src="voidZero.img" />
59+
<img :src="voidZero.img" alt="VoidZero logo" loading="lazy" />
5960
</a>
6061
</div>
6162

docs/guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
## Overview
88

9-
Vite (French word for "quick", pronounced `/vit/`<button style="border:none;padding:3px;border-radius:4px;vertical-align:bottom" id="play-vite-audio" onclick="document.getElementById('vite-audio').play();"><svg style="height:2em;width:2em"><use href="/voice.svg?no-inline#voice" /></svg></button>, like "veet") is a build tool that aims to provide a faster and leaner development experience for modern web projects. It consists of two major parts:
9+
Vite (French word for "quick", pronounced `/vit/`<button style="border:none;padding:3px;border-radius:4px;vertical-align:bottom" id="play-vite-audio" aria-label="pronounce" onclick="document.getElementById('vite-audio').play();"><svg style="height:2em;width:2em"><use href="/voice.svg?no-inline#voice" /></svg></button>, like "veet") is a build tool that aims to provide a faster and leaner development experience for modern web projects. It consists of two major parts:
1010

1111
- A dev server that provides [rich feature enhancements](./features) over [native ES modules](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules), for example extremely fast [Hot Module Replacement (HMR)](./features#hot-module-replacement).
1212

0 commit comments

Comments
 (0)