Skip to content

Commit 58072dd

Browse files
committed
fix: replace PNG images with WEBP format for Past Editions cards
1 parent fd9ff9d commit 58072dd

13 files changed

Lines changed: 2 additions & 2 deletions

File tree

components/Cards/PastEditionCard/PastEditionCard.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React, { JSX } from 'react';
22
import Image from 'next/image';
3-
import ILink from '../illustration/link';
3+
import ILink from '../../illustration/link';
44

55
interface PastEditonCardProp {
66
url: string;
@@ -27,7 +27,7 @@ const PastEditonCard = ({ url }: PastEditonCardProp): JSX.Element => {
2727

2828
<div className="relative w-full h-[250px] my-4 rounded-lg overflow-hidden">
2929
<Image
30-
src={`/img/past-editions/${year}.png`}
30+
src={`/img/past-editions/${year}.webp`}
3131
alt={`AsyncAPI Conference ${year}`}
3232
fill
3333
className="object-cover"

public/img/past-editions/2020.png

-1.67 MB
Binary file not shown.

public/img/past-editions/2020.webp

109 KB
Loading

public/img/past-editions/2021.png

-222 KB
Binary file not shown.

public/img/past-editions/2021.webp

27.4 KB
Loading

public/img/past-editions/2022.png

-76.9 KB
Binary file not shown.

public/img/past-editions/2022.webp

19.7 KB
Loading

public/img/past-editions/2023.png

-243 KB
Binary file not shown.

public/img/past-editions/2023.webp

25.1 KB
Loading

public/img/past-editions/2024.png

-452 KB
Binary file not shown.

0 commit comments

Comments
 (0)