images updated

This commit is contained in:
Selvi 2025-08-22 19:50:34 +05:30
commit cd361719d6
23 changed files with 18 additions and 16 deletions

View File

@ -44,7 +44,7 @@ export default function HomePhotoGallerySection() {
setGalleryImages(formatted); setGalleryImages(formatted);
// Unique years, sorted latest first // Unique years, sorted latest first
const uniqueYears:any = [...new Set(eventsData.map((event: any) => event.year))] const uniqueYears: any = [...new Set(eventsData.map((event: any) => event.year))]
setYears(uniqueYears); setYears(uniqueYears);
@ -64,7 +64,7 @@ export default function HomePhotoGallerySection() {
const filteredImages = galleryImages.filter((img) => img.year === activeYear) const filteredImages = galleryImages.filter((img) => img.year === activeYear)
console.log("filteredImages", filteredImages) console.log("filteredImages", filteredImages)
const handleImageClick = (index: number) => { const handleImageClick = (index: number) => {
const actualIndex = galleryImages.findIndex( const actualIndex = galleryImages.findIndex(
@ -103,12 +103,12 @@ export default function HomePhotoGallerySection() {
<div className="row gx-5"> <div className="row gx-5">
<div className="col-lg-10"> <div className="col-lg-10">
<div className="row mt-4"> <div className="row mt-4">
{filteredImages.slice(0, 8).map((img:any, index) => ( {filteredImages.slice(0, 8).map((img: any, index) => (
<div <div
key={index} key={index}
className="col-lg-3 col-md-6 mb-4" className="col-lg-3 col-md-6 mb-4"
data-aos="zoom-in" data-aos="zoom-in"
data-aos-duration={ 1000} data-aos-duration={1000}
> >
<div className="blog4-boxarea"> <div className="blog4-boxarea">
<div <div
@ -135,6 +135,16 @@ export default function HomePhotoGallerySection() {
</p> </p>
</div> </div>
)} )}
<div
className="btn-area1 text-center"
data-aos="fade-left"
data-aos-duration={1200}
>
<Link href="/photo-gallery" className="vl-btn3">
Go To Gallery
</Link>
</div>
</div> </div>
</div> </div>
@ -154,18 +164,10 @@ export default function HomePhotoGallerySection() {
</div> </div>
</div> </div>
<div className="col-lg-12"> {/* <div className="col-lg-12">
<div className="space32" /> <div className="space32" />
<div
className="btn-area1 text-center" </div> */}
data-aos="fade-left"
data-aos-duration={1200}
>
<Link href="/photo-gallery" className="vl-btn3">
Go To Gallery
</Link>
</div>
</div>
</div> </div>
</div> </div>
</div> </div>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 610 KiB

After

Width:  |  Height:  |  Size: 226 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 482 KiB

After

Width:  |  Height:  |  Size: 163 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 707 KiB

After

Width:  |  Height:  |  Size: 312 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 587 KiB

After

Width:  |  Height:  |  Size: 246 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 778 KiB

After

Width:  |  Height:  |  Size: 358 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 926 KiB

After

Width:  |  Height:  |  Size: 435 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 439 KiB

After

Width:  |  Height:  |  Size: 179 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 598 KiB

After

Width:  |  Height:  |  Size: 292 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 727 KiB

After

Width:  |  Height:  |  Size: 339 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 455 KiB

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 641 KiB

After

Width:  |  Height:  |  Size: 284 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 901 KiB

After

Width:  |  Height:  |  Size: 364 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 485 KiB

After

Width:  |  Height:  |  Size: 182 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 611 KiB

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 443 KiB

After

Width:  |  Height:  |  Size: 154 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 434 KiB

After

Width:  |  Height:  |  Size: 164 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 82 KiB

After

Width:  |  Height:  |  Size: 304 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 597 KiB

After

Width:  |  Height:  |  Size: 242 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 406 KiB

After

Width:  |  Height:  |  Size: 156 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 533 KiB

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 362 KiB

After

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 476 KiB

After

Width:  |  Height:  |  Size: 184 KiB