diff --git a/frontend/src/pages/mobile/schedule/ScheduleDetail.jsx b/frontend/src/pages/mobile/schedule/ScheduleDetail.jsx index bb0a593..fd16e67 100644 --- a/frontend/src/pages/mobile/schedule/ScheduleDetail.jsx +++ b/frontend/src/pages/mobile/schedule/ScheduleDetail.jsx @@ -574,6 +574,12 @@ function MobileEventSection({ schedule }) { ? `https://map.kakao.com/link/map/${encodeURIComponent(venue.name)},${venue.lat},${venue.lng}` : null; const [mapOpen, setMapOpen] = useState(false); + const [lightbox, setLightbox] = useState({ open: false, index: 0 }); + const lightboxImages = posters.map((p) => p.originalUrl || p.mediumUrl); + const openLightbox = (index) => { + setLightbox({ open: true, index }); + window.history.pushState({ lightbox: true }, ''); + }; const linkLabel = (url) => { try { return new URL(url).hostname.replace(/^www\./, ''); } catch { return url; } }; @@ -603,11 +609,11 @@ function MobileEventSection({ schedule }) {