Import repositories from gitlab
This commit is contained in:
17
next/components/editionGallery/index.jsx
Normal file
17
next/components/editionGallery/index.jsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import ImageBlock from "../imageBlock";
|
||||
import styles from "./style.module.scss";
|
||||
|
||||
export default function EditionGallery({ images }) {
|
||||
return (
|
||||
<section className={styles.gallery}>
|
||||
{images.map(({ id, attributes: attr }) => (
|
||||
<div className={styles.galleryImage} key={id}>
|
||||
<ImageBlock
|
||||
alt={attr.alternativeText}
|
||||
src={`${process.env.NEXT_PUBLIC_IMG_URI}${attr.url}`}
|
||||
/>
|
||||
</div>
|
||||
))}
|
||||
</section>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user