diff --git a/components/GallerySection.tsx b/components/GallerySection.tsx index 1e3a886..3d3ff4a 100644 --- a/components/GallerySection.tsx +++ b/components/GallerySection.tsx @@ -9,6 +9,7 @@ interface GalleryPhoto { title: string; caption: string; frameSrc: string; + frameStyle: "gold" | "silver" | "bronze"; width: number; height: number; top: string; @@ -19,128 +20,137 @@ interface GalleryPhoto { } const GALLERY_ITEMS: GalleryPhoto[] = [ - // Top Row (mirroring Sirius, Umbridge/McGonagall, Bellatrix) + // Top Row (Sirius, McGonagall/Umbridge, Bellatrix) { id: "mem-1", - imageSrc: "/gallery/event-1.jpg", + imageSrc: "/gallery/event-1.webp", title: "The Gathering", - caption: "Attendees kicking off the day at WCE.", - frameSrc: "/frames/frame-square.png", - width: 230, - height: 290, - top: "3%", - left: "7%", + caption: "Attendees kicking off the day at WCE Sangli.", + frameSrc: "/frames/frame-square.webp", + frameStyle: "gold", + width: 165, + height: 190, + top: "25px", + left: "55px", floatDuration: 6.2, - rotationDrift: 1.8, + rotationDrift: 0.9, }, { id: "mem-2", - imageSrc: "/gallery/event-2.jpg", + imageSrc: "/gallery/event-2.webp", title: "Microservices Workshop", - caption: "Hands-on microservice architectures and deployments.", - frameSrc: "/frames/frame-oval.png", - width: 240, - height: 290, - top: "2%", - left: "40%", - floatDuration: 7.8, - rotationDrift: -1.5, + caption: "Hands-on microservice architectures, containers, and deployments.", + frameSrc: "/frames/frame-oval.webp", + frameStyle: "gold", + width: 200, + height: 135, + top: "20px", + left: "370px", + floatDuration: 7.2, + rotationDrift: -0.8, }, { id: "mem-3", - imageSrc: "/gallery/event-3.jpg", + imageSrc: "/gallery/event-3.webp", title: "Git & GitHub Labs", - caption: "Demystifying commits, branching, and interactive rebasing.", - frameSrc: "/frames/frame-gothic.png", - width: 230, - height: 290, - top: "4%", - left: "73%", - floatDuration: 6.8, - rotationDrift: 2.0, + caption: "Demystifying commits, branching, pull requests, and interactive rebasing.", + frameSrc: "/frames/frame-gothic.webp", + frameStyle: "gold", + width: 165, + height: 190, + top: "25px", + left: "720px", + floatDuration: 6.6, + rotationDrift: 1.1, }, - // Middle Tier (mirroring Lucius, Grand Centerpiece Dumbledore, Snape) + // Middle Row (Lucius Malfoy, Grand Centerpiece Dumbledore, Severus Snape) { id: "mem-4", - imageSrc: "/gallery/event-4.jpg", + imageSrc: "/gallery/event-4.webp", title: "Terminal Sorcery", - caption: "Late afternoon problem solving and mentoring.", - frameSrc: "/frames/frame-square.png", - width: 240, - height: 300, - top: "34%", - left: "13%", - floatDuration: 5.9, - rotationDrift: -1.9, + caption: "Late afternoon command-line mastery and debugging puzzles.", + frameSrc: "/frames/frame-square.webp", + frameStyle: "gold", + width: 165, + height: 215, + top: "195px", + left: "180px", + floatDuration: 5.8, + rotationDrift: -0.9, }, { id: "mem-5", - imageSrc: "/gallery/event-5.jpg", + imageSrc: "/gallery/event-5.webp", title: "The Grand Assembly", caption: "The keynote hall alive with open source passion and energy.", - frameSrc: "/frames/frame-gothic.png", - width: 295, - height: 380, - top: "26%", - left: "38%", - floatDuration: 8.4, - rotationDrift: 1.2, + frameSrc: "/frames/frame-gothic.webp", + frameStyle: "silver", + width: 220, + height: 280, + top: "165px", + left: "360px", + floatDuration: 8.0, + rotationDrift: 0.6, isCenterpiece: true, }, { id: "mem-6", - imageSrc: "/gallery/event-6.jpg", + imageSrc: "/gallery/event-6.webp", title: "Code & Collaboration", caption: "Peer programming, architecture debates, and lightning hacks.", - frameSrc: "/frames/frame-square.png", - width: 240, - height: 300, - top: "33%", - left: "69%", - floatDuration: 6.6, - rotationDrift: 1.7, + frameSrc: "/frames/frame-square.webp", + frameStyle: "gold", + width: 165, + height: 215, + top: "195px", + left: "595px", + floatDuration: 6.5, + rotationDrift: 0.9, }, - // Bottom Row (mirroring Hagrid, Hedwig/Rita, Lockhart) + // Bottom Row (Hagrid, Rita/Hedwig, Gilderoy Lockhart) { id: "mem-7", - imageSrc: "/gallery/event-7.jpg", - title: "The Mentorship Circle", - caption: "Senior engineers guiding newcomers through their first contributions.", - frameSrc: "/frames/frame-square.png", - width: 250, - height: 310, - top: "66%", - left: "9%", + imageSrc: "/gallery/event-7.webp", + title: "The Learning Circle", + caption: "Guiding newcomers through their first contributions.", + frameSrc: "/frames/frame-square.webp", + frameStyle: "bronze", + width: 165, + height: 220, + top: "360px", + left: "55px", floatDuration: 6.4, - rotationDrift: 2.1, + rotationDrift: 1.0, }, { id: "mem-8", - imageSrc: "/gallery/event-8.jpg", + imageSrc: "/gallery/event-8.webp", title: "Open Source Odyssey", caption: "Exploring distributed systems and real-world Linux tools.", - frameSrc: "/frames/frame-oval.png", - width: 235, - height: 290, - top: "68%", - left: "40.5%", - floatDuration: 7.4, - rotationDrift: -1.6, + frameSrc: "/frames/frame-oval.webp", + frameStyle: "gold", + width: 200, + height: 125, + top: "465px", + left: "370px", + floatDuration: 7.0, + rotationDrift: -0.8, }, { id: "mem-9", - imageSrc: "/gallery/event-9.jpg", + imageSrc: "/gallery/event-9.webp", title: "The Finale", caption: "Certificates, swags, and closing open source celebrations.", - frameSrc: "/frames/frame-gothic.png", - width: 240, - height: 300, - top: "65%", - left: "72%", - floatDuration: 6.9, - rotationDrift: -1.8, + frameSrc: "/frames/frame-gothic.webp", + frameStyle: "gold", + width: 165, + height: 220, + top: "360px", + left: "720px", + floatDuration: 6.8, + rotationDrift: -1.0, }, ]; @@ -199,13 +209,13 @@ export default function GallerySection() { }; return ( -