Skip to content

Commit f4f4e93

Browse files
authored
homepage: update image use webp (#24)
1 parent 28e59d2 commit f4f4e93

File tree

10 files changed

+4
-4
lines changed

10 files changed

+4
-4
lines changed

docusaurus.config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ const config: Config = {
115115

116116
themeConfig: {
117117
// Replace with your project's social card
118-
image: 'img/docusaurus-social-card.jpg',
118+
image: 'img/social-card.webp',
119119
navbar: {
120120
title: 'Bigtreetech Wiki',
121121
logo: {

src/components/HomepageFeatures/index.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ const FeatureList: FeatureItem[] = [
1717
<>
1818
<a href="./docs/intro">
1919
<img
20-
src={require('@site/static/img/maxez-main.png').default}
20+
src={require('@site/static/img/maxez-main.webp').default}
2121
alt=""
2222
/>
2323
<br/>
@@ -32,7 +32,7 @@ const FeatureList: FeatureItem[] = [
3232
<>
3333
<a href="./docs/extruder">
3434
<img
35-
src={require('@site/static/img/h2-v2x.png').default}
35+
src={require('@site/static/img/h2-v2x.webp').default}
3636
alt=""
3737
/>
3838
<br/>
@@ -47,7 +47,7 @@ const FeatureList: FeatureItem[] = [
4747
<>
4848
<a href="./docs/module">
4949
<img
50-
src={require('@site/static/img/lis2dw-main.png').default}
50+
src={require('@site/static/img/lis2dw-main.webp').default}
5151
alt=""
5252
/>
5353
<br/>
-54.4 KB
Binary file not shown.

static/img/h2-v2x.png

-666 KB
Binary file not shown.

static/img/h2-v2x.webp

380 KB
Loading

static/img/lis2dw-main.png

-308 KB
Binary file not shown.

static/img/lis2dw-main.webp

167 KB
Loading

static/img/maxez-main.png

-508 KB
Binary file not shown.

static/img/maxez-main.webp

328 KB
Loading

static/img/social-card.webp

8.4 KB
Loading

0 commit comments

Comments
 (0)