Migrate to Next

This commit is contained in:
2022-11-11 22:41:53 +00:00
parent 58e38dbedd
commit 4aaad4d704
352 changed files with 15583 additions and 21335 deletions

View File

@@ -0,0 +1,11 @@
import React from "react";
import Image from "next/image";
import styles from "./GalleryThumb.module.css";
export default function GalleryThumb({ image, label, onClick }) {
return (
<button className={styles.block} onClick={onClick} aria-label={label}>
<Image src={image} layout="fill" objectFit="fill" aria-hidden="true" />
</button>
);
}