Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
315 changes: 172 additions & 143 deletions components/GallerySection.tsx

Large diffs are not rendered by default.

489 changes: 313 additions & 176 deletions frontend/index.html

Large diffs are not rendered by default.

Binary file removed frontend/public/frames/frame-gothic.png
Binary file not shown.
Binary file removed frontend/public/frames/frame-gothic.png.png
Binary file not shown.
Binary file added frontend/public/frames/frame-gothic.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed frontend/public/frames/frame-oval.png
Binary file not shown.
Binary file removed frontend/public/frames/frame-oval.png.png
Binary file not shown.
Binary file added frontend/public/frames/frame-oval.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/frames/frame-rectangular.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed frontend/public/frames/frame-sqaure.png
Binary file not shown.
Binary file removed frontend/public/frames/frame-sqaure.png.png
Binary file not shown.
Binary file removed frontend/public/frames/frame-square.png
Binary file not shown.
Binary file added frontend/public/frames/frame-square.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed frontend/public/gallery/event-1.jpeg
Binary file not shown.
Binary file removed frontend/public/gallery/event-1.jpg
Binary file not shown.
Binary file added frontend/public/gallery/event-1.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed frontend/public/gallery/event-2.jpeg
Binary file not shown.
Binary file removed frontend/public/gallery/event-2.jpg
Binary file not shown.
Binary file added frontend/public/gallery/event-2.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed frontend/public/gallery/event-3.jpeg
Binary file not shown.
Binary file removed frontend/public/gallery/event-3.jpg
Binary file not shown.
Binary file added frontend/public/gallery/event-3.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed frontend/public/gallery/event-4.jpeg
Binary file not shown.
Binary file removed frontend/public/gallery/event-4.jpg
Binary file not shown.
Binary file added frontend/public/gallery/event-4.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed frontend/public/gallery/event-5.jpeg
Binary file not shown.
Binary file removed frontend/public/gallery/event-5.jpg
Binary file not shown.
Binary file added frontend/public/gallery/event-5.webp
Binary file removed frontend/public/gallery/event-6.jpeg
Diff not rendered.
Binary file removed frontend/public/gallery/event-6.jpg
Diff not rendered.
Binary file added frontend/public/gallery/event-6.webp
Binary file removed frontend/public/gallery/event-7.jpeg
Diff not rendered.
Binary file removed frontend/public/gallery/event-7.jpg
Diff not rendered.
Binary file added frontend/public/gallery/event-7.webp
Binary file removed frontend/public/gallery/event-8.jpeg
Diff not rendered.
Binary file removed frontend/public/gallery/event-8.jpg
Diff not rendered.
Binary file added frontend/public/gallery/event-8.webp
Binary file removed frontend/public/gallery/event-9.jpeg
Diff not rendered.
Binary file removed frontend/public/gallery/event-9.jpg
Diff not rendered.
Binary file added frontend/public/gallery/event-9.webp
383 changes: 206 additions & 177 deletions frontend/src/components/GallerySection.tsx

Large diffs are not rendered by default.

159 changes: 84 additions & 75 deletions frontend/src/scripts/gallery.js
Original file line number Diff line number Diff line change
@@ -1,131 +1,140 @@
/**
* Anti-Gravity Floating Photo Wall & Lightbox Slider
* Arranged in a salon-wall composition inspired by the grand portrait gallery
* Arranged in a pinned salon-wall composition inspired by the grand portrait gallery
*/

export const GALLERY_ITEMS = [
// Top Row (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 Sangli.',
frameSrc: '/frames/frame-square.png',
width: 230,
height: 290,
top: '3%',
left: '7%',
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, containers, and deployments.',
frameSrc: '/frames/frame-oval.png',
width: 240,
height: 290,
top: '2%',
left: '40%',
floatDuration: 7.8,
rotationDrift: -1.5,
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, pull requests, and interactive rebasing.',
frameSrc: '/frames/frame-gothic.png',
width: 230,
height: 290,
top: '4%',
left: '73%',
floatDuration: 6.8,
rotationDrift: 2.0,
frameSrc: '/frames/frame-gothic.webp',
frameStyle: 'gold',
width: 165,
height: 190,
top: '25px',
left: '720px',
floatDuration: 6.6,
rotationDrift: 1.1,
},

// Middle Tier (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 command-line mastery and debugging puzzles.',
frameSrc: '/frames/frame-square.png',
width: 240,
height: 300,
top: '34%',
left: '13%',
floatDuration: 5.9,
rotationDrift: -1.9,
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 (Hagrid, Hedwig/Rita, Lockhart)
// Bottom Row (Hagrid, Rita/Hedwig, Gilderoy Lockhart)
{
id: 'mem-7',
imageSrc: '/gallery/event-7.jpg',
imageSrc: '/gallery/event-7.webp',
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%',
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,
},
];

Expand Down Expand Up @@ -223,7 +232,7 @@ export function initGallery(root) {
if (modalCaption) modalCaption.textContent = item.caption;
if (modalCounter) modalCounter.textContent = `${idx + 1} / ${GALLERY_ITEMS.length}`;
if (modalBezel) {
modalBezel.src = item.frameSrc;
modalBezel.src = '/frames/frame-square.webp';
modalBezel.alt = `${item.title} Frame`;
}
}
Expand Down
1 change: 1 addition & 0 deletions frontend/src/scripts/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ function init() {
initSessions(document.querySelector('[data-sessions]'));
initEventCards();
initGallery(document.querySelector('[data-gallery]'));
initRegistration();
initOffscreenPause(document.querySelectorAll('main > section'));

// If page is loaded with #registration or #register hash, scroll smoothly to section
Expand Down
Loading
Loading