diff --git a/_site/assets/css/styles.css b/_site/assets/css/styles.css index b45d78c..11a0015 100644 --- a/_site/assets/css/styles.css +++ b/_site/assets/css/styles.css @@ -267,4 +267,4 @@ select { .thumbnail.active { opacity: 1; -} \ No newline at end of file +} \ No newline at end of file diff --git a/_site/index.html b/_site/index.html index a8012cb..54683a1 100644 --- a/_site/index.html +++ b/_site/index.html @@ -225,16 +225,19 @@

A MAGNO

// Add images to gallery and create thumbnails folderImages.forEach((image, index) => { - // Create main photo item const photoItem = document.createElement('div'); photoItem.className = 'photo-item'; + photoItem.innerHTML = ` - -
-
${folderInfo.location}
-
${folderInfo.year}
+
+ +
+
${folderInfo.location}
+
${folderInfo.year}
+
`; + photoGrid.appendChild(photoItem); // Create thumbnail diff --git a/assets/css/styles.css b/assets/css/styles.css index 778c107..a6a0abb 100644 --- a/assets/css/styles.css +++ b/assets/css/styles.css @@ -269,4 +269,4 @@ select { .thumbnail.active { opacity: 1; -} \ No newline at end of file +} \ No newline at end of file diff --git a/index.html b/index.html index 0117167..d138070 100644 --- a/index.html +++ b/index.html @@ -185,16 +185,19 @@

A MAGNO

// Add images to gallery and create thumbnails folderImages.forEach((image, index) => { - // Create main photo item const photoItem = document.createElement('div'); photoItem.className = 'photo-item'; + photoItem.innerHTML = ` - -
-
${folderInfo.location}
-
${folderInfo.year}
+
+ +
+
${folderInfo.location}
+
${folderInfo.year}
+
`; + photoGrid.appendChild(photoItem); // Create thumbnail