Skip to content

Commit

Permalink
chore: bump lazy load image to img
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <[email protected]>
  • Loading branch information
Peefy committed Mar 19, 2024
1 parent fbc74c4 commit 6bffa3c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ import useBaseUrl from "@docusaurus/useBaseUrl";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import styles from "./index.module.css";
import { ExampleScroller } from "../components/ExampleScroller";
import ThemedImage from "@theme/ThemedImage";
import Translate from "@docusaurus/Translate";
import { LazyLoadImage } from "react-lazy-load-image-component";

import { HiLightningBolt } from "react-icons/hi";
import {
Expand Down Expand Up @@ -218,10 +216,10 @@ function ToolSection() {
</p>

<div className={styles.imageContainer}>
<LazyLoadImage
<img
className={styles.toolLogo}
alt="Tool image"
src={useBaseUrl("/img/registry-and-ide.png")}
src="/img/registry-and-ide.png"
/>
</div>
</div>
Expand Down

0 comments on commit 6bffa3c

Please sign in to comment.