@ -7,6 +7,7 @@ export default function Gallery({ response }) {
let images = [];
for(const key in response) {
let item = response[key];
if(item['fields']['image'] != null) item['fields']['link'] = item['fields']['image'][0]['url'];
images.push(item['fields']);
}
@ -13,6 +13,10 @@
position: relative;
.gallery > div > img {
margin-bottom: -5px;
.overlay {
position: absolute;
display: flex;