Skip to content

Commit 6e8c290

Browse files
committed
test image optimization
1 parent 902af86 commit 6e8c290

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

src/index.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,12 @@ import NewsLetter from './.vitepress/theme/components/NewsLetter.vue'
2323
<!-- TODO make dynamic based on data -->
2424
<section id="special-sponsor">
2525
<span>Special Sponsor</span>
26-
<a href="#"><img src="/images/hbuilder.png"></a>
26+
<a href="#">
27+
<picture>
28+
<source type="image/avif" srcset="/images/sponsors/hbuilder.avif">
29+
<img alt="hbuilder logo" width="97" height="36" src="/images/sponsors/hbuilder.png">
30+
</picture>
31+
</a>
2732
<span>Advanced IDE for Vue</span>
2833
</section>
2934

3.61 KB
Binary file not shown.

0 commit comments

Comments
 (0)