Skip to content

Commit 32790b6

Browse files
committed
fix(deployment): 🐛 Fix broken image links
1 parent 24581b3 commit 32790b6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/pages/index.js

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from 'react';
22
import clsx from 'clsx';
33
import Layout from '@theme/Layout';
44
import Link from '@docusaurus/Link';
5+
import {Image} from '/components';
56
import styles from './index.module.css';
67
import useDocusaurusContext from '@docusaurus/useDocusaurusContext';
78

@@ -20,7 +21,7 @@ function HomepageHeader() {
2021
</div>
2122
</div>
2223
</header>
23-
<img src="/static/img/waves/accent-above-1.svg" className="waves" />
24+
<Image src="/static/img/waves/accent-above-1.svg" className="waves" />
2425
</>
2526
);
2627
}
@@ -79,7 +80,7 @@ import useBaseUrl from '@docusaurus/useBaseUrl';
7980
function EasyToDevelopFor() {
8081
return (
8182
<>
82-
<img src="/static/img/waves/accent-below-1.svg" className="waves" />
83+
<Image src="/static/img/waves/accent-below-1.svg" className="waves" />
8384
<div className={clsx('hero hero--primary', styles.inverted)}>
8485
<div className="container">
8586
<div className="row">
@@ -134,7 +135,7 @@ function EasyToDevelopFor() {
134135
</div>
135136
</div>
136137
</div>
137-
<img src="/static/img/waves/accent-above-3.svg" className="waves" />
138+
<Image src="/static/img/waves/accent-above-3.svg" className="waves" />
138139
</>
139140
);
140141
}

0 commit comments

Comments
 (0)