diff --git a/package-lock.json b/package-lock.json
index e053de0..cbad77c 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -884,9 +884,9 @@
}
},
"node_modules/@eslint/plugin-kit": {
- "version": "0.3.3",
- "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.3.tgz",
- "integrity": "sha512-1+WqvgNMhmlAambTvT3KPtCl/Ibr68VldY2XY40SL1CE0ZXiakFR/cbTspaF5HsnpDMvcYYoJHfl4980NBjGag==",
+ "version": "0.3.4",
+ "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.3.4.tgz",
+ "integrity": "sha512-Ul5l+lHEcw3L5+k8POx6r74mxEYKG5kOb6Xpy2gCRW6zweT6TEhAf8vhxGgjhqrd/VO/Dirhsb+1hNpD1ue9hw==",
"dev": true,
"license": "Apache-2.0",
"dependencies": {
diff --git a/src/components/GallerySection.jsx b/src/components/GallerySection.jsx
index 1e6ce9d..dafefaf 100644
--- a/src/components/GallerySection.jsx
+++ b/src/components/GallerySection.jsx
@@ -17,7 +17,9 @@ export default function GalarySection() {
Explore our vibrant moments captured in stunning visuals.
- Go to Gallery >
+
+ Go to Gallery >
+
{/* Gallery Grid */}
diff --git a/src/config/gallary.js b/src/config/gallary.js
index 11e7e98..9ff50c7 100644
--- a/src/config/gallary.js
+++ b/src/config/gallary.js
@@ -1,40 +1,202 @@
const images = [
{
id: 1,
- src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1752424604/image-2_yjyxwo.png",
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749072/asme126_aeedta.jpg",
alt: "Gallery Image 1",
year: 2025,
},
{
id: 2,
- src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1752424605/image_r6mlez.png",
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749067/asme132_li9nos.jpg",
alt: "Gallery Image 2",
year: 2025,
},
{
id: 3,
- src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1752424604/image-3_yezplq.png",
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749064/asme125_jjn2ip.jpg",
alt: "Gallery Image 3",
year: 2025,
},
{
id: 4,
- src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1752424604/image-4_lwzmbl.png",
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749064/asme108_erz3ec.jpg",
alt: "Gallery Image 4",
year: 2024,
},
{
id: 5,
- src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1752424604/image-1_ruw6yy.png",
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749064/asme110_rjve6z.jpg",
alt: "Gallery Image 5",
year: 2024,
},
{
id: 6,
- src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1752425766/e8d1afdb4d097b5c14935394e296d28109b650e4_fominv.png",
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749063/asme93_tpbnrn.jpg",
alt: "Gallery Image 6",
year: 2024,
},
+ {
+ id: 7,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749063/asme101_dziwos.jpg",
+ alt: "Gallery Image 7",
+ year: 2024,
+ },
+ {
+ id: 8,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749064/asme100_uj4qp9.jpg",
+ alt: "Gallery Image 8",
+ year: 2024,
+ },
+ {
+ id: 9,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749063/asme95_xppoty.jpg",
+ alt: "Gallery Image 9",
+ year: 2024,
+ },
+ {
+ id: 10,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749063/asme92_vg1ekw.jpg",
+ alt: "Gallery Image 10",
+ year: 2024,
+ },
+ {
+ id: 11,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749062/asme81_ugfbch.jpg",
+ alt: "Gallery Image 11",
+ year: 2024,
+ },
+ {
+ id: 12,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749063/asme90_k0ajha.jpg",
+ alt: "Gallery Image 12",
+ year: 2024,
+ },
+ {
+ id: 13,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749062/asme83_bjlhkt.jpg",
+ alt: "Gallery Image 13",
+ year: 2024,
+ },
+ {
+ id: 14,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749062/asme69_gqvlmx.jpg",
+ alt: "Gallery Image 14",
+ year: 2024,
+ },
+ {
+ id: 15,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749062/asme82_fgfipo.jpg",
+ alt: "Gallery Image 15",
+ year: 2024,
+ },
+ {
+ id: 16,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749062/asme85_zbsd9a.jpg",
+ alt: "Gallery Image 16",
+ year: 2024,
+ },
+ {
+ id: 17,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749062/asme76_ix8eiu.jpg",
+ alt: "Gallery Image 17",
+ year: 2024,
+ },
+ {
+ id: 18,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749061/asme77_bekwmu.jpg",
+ alt: "Gallery Image 18",
+ year: 2024,
+ },
+ {
+ id: 19,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749061/asme56_myrsww.jpg",
+ alt: "Gallery Image 19",
+ year: 2024,
+ },
+ {
+ id: 20,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749061/asme63_b5ptz1.jpg",
+ alt: "Gallery Image 20",
+ year: 2024,
+ },
+ {
+ id: 21,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749061/asme17_rsnbhe.jpg",
+ alt: "Gallery Image 21",
+ year: 2024,
+ },
+ {
+ id: 22,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749060/asme47_sjvcsx.jpg",
+ alt: "Gallery Image 22",
+ year: 2024,
+ },
+ {
+ id: 23,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749060/asme58_c3evh8.jpg",
+ alt: "Gallery Image 23",
+ year: 2024,
+ },
+ {
+ id: 24,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749060/asme12_yftocz.jpg",
+ alt: "Gallery Image 24",
+ year: 2024,
+ },
+ {
+ id: 25,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749059/asme19_h0exya.jpg",
+ alt: "Gallery Image 25",
+ year: 2024,
+ },
+ {
+ id: 26,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749059/asme51_bvsohr.jpg",
+ alt: "Gallery Image 26",
+ year: 2024,
+ },
+ {
+ id: 27,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749058/asme16_emvjdz.jpg",
+ alt: "Gallery Image 27",
+ year: 2024,
+ },
+ {
+ id: 28,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749059/asme46_kohune.jpg",
+ alt: "Gallery Image 28",
+ year: 2024,
+ },
+ {
+ id: 29,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749059/asme20_f5b9vs.jpg",
+ alt: "Gallery Image 29",
+ year: 2024,
+ },
+ {
+ id: 30,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749058/asme14_agrxxh.jpg",
+ alt: "Gallery Image 30",
+ year: 2024,
+ },
+ {
+ id: 31,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749057/asme10_wjrfne.jpg",
+ alt: "Gallery Image 31",
+ year: 2024,
+ },
+ {
+ id: 32,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749057/asme1_co9kt5.jpg",
+ alt: "Gallery Image 32",
+ year: 2024,
+ },
+ {
+ id: 33,
+ src: "https://res.cloudinary.com/dsjxx976j/image/upload/v1754749057/asme6_evthjt.jpg",
+ alt: "Gallery Image 33",
+ year: 2024,
+ },
];
export default images;
diff --git a/src/pages/gallery/Gallery.jsx b/src/pages/gallery/Gallery.jsx
index b955655..054b4c7 100644
--- a/src/pages/gallery/Gallery.jsx
+++ b/src/pages/gallery/Gallery.jsx
@@ -1,6 +1,5 @@
import { useState, useEffect } from "react";
import images from "../../config/gallary";
-import heroImages from "../../config/gallaryPage";
const NavButton = ({ direction, onClick }) => {
const isNext = direction === "next";
@@ -61,7 +60,7 @@ export default function GallaryPage() {
useEffect(() => {
const interval = setInterval(() => {
- setCurrentSlide((prev) => (prev + 1) % heroImages.length);
+ setCurrentSlide((prev) => (prev + 1) % images.length);
}, 5000);
return () => clearInterval(interval);
}, []);
@@ -79,7 +78,7 @@ export default function GallaryPage() {
{/* Carousel Slides */}
- {heroImages.map((image, index) => (
+ {images.map((image, index) => (
- {heroImages.map((_, index) => (
+ {images.map((_, index) => (