Update vitepress

This commit is contained in:
Eric Fennis
2024-11-26 08:27:23 +01:00
parent 775359260c
commit 7ec6d6b592
4 changed files with 412 additions and 270 deletions

View File

@@ -61,7 +61,10 @@ watch(absoluteStrokeWidth, (enabled) => {
<div class="card-column">
<h2 class="title">
Style as you please
<ResetButton @click="resetStyle"></ResetButton>
<ResetButton
@click="resetStyle"
aria-label="Reset style"
/>
</h2>
<p class="copy">
Lucide has a lot of customization options to match the icons with your UI.
@@ -124,6 +127,7 @@ watch(absoluteStrokeWidth, (enabled) => {
id="absolute-stroke-width"
name="absolute-stroke-width"
v-model="absoluteStrokeWidth"
aria-label="Enable absolute stroke width"
/>
</template>
</InputField>

View File

@@ -38,10 +38,10 @@ const links = computed(() => [
<div class="container">
<div class="sponsors">
<a href="https://vercel.com?utm_source=lucide&utm_campaign=oss" rel="noreferrer noopener">
<img src="/vercel.svg" alt="Powered by Vercel" width="200" />
<img src="/vercel.svg" alt="Powered by Vercel" loading="lazy" width="212" height="44" />
</a>
<a href="https://www.digitalocean.com/?refcode=b0877a2caebd&utm_campaign=Referral_Invite&utm_medium=Referral_Program&utm_source=badge" rel="noreferrer noopener">
<img src="/digitalocean.svg" alt="Digital Ocean" width="200" />
<img src="/digitalocean.svg" alt="Digital Ocean" loading="lazy" width="195" height="52"/>
</a>
</div>
<div class="links">

View File

@@ -33,7 +33,7 @@
"h3": "^1.8.0",
"nitropack": "2.8.1",
"rollup-plugin-copy": "^3.4.0",
"vitepress": "^1.3.1"
"vitepress": "^1.5.0"
},
"dependencies": {
"@floating-ui/vue": "^1.0.3",

670
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff