Skip to content

Commit c8d3541

Browse files
authored
docs: minor fixes (#2085)
1 parent 9751ead commit c8d3541

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

.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
登録
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"

.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>

.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">

.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
{

.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>無料 &amp; オープンソース</h2>
5051
<h4>
@@ -55,7 +56,7 @@ const { data } = useSponsor()
5556
<h4>提供</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

guide/index.md

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

77
## 概要
88

9-
Vite(フランス語で「素早い」という意味の単語で `/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> ヴィートのように発音)は、現代の Web プロジェクトのために、より速く無駄のない開発体験を提供することを目的としたビルドツールです。2 つの主要な部分で構成されています:
9+
Vite(フランス語で「素早い」という意味の単語で `/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> ヴィートのように発音)は、現代の Web プロジェクトのために、より速く無駄のない開発体験を提供することを目的としたビルドツールです。2 つの主要な部分で構成されています:
1010

1111
- 非常に高速な [Hot Module Replacement (HMR)](./features#hot-module-replacement) など、[ネイティブ ES モジュール](https://developer.mozilla.org/ja/docs/Web/JavaScript/Guide/Modules)を利用した[豊富な機能拡張](./features)を提供する開発サーバー。
1212

0 commit comments

Comments
 (0)