diff --git a/package.json b/package.json index b0aad6d..e9f4d88 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "2026.es.pycon.org", - "version": "1.17.27", + "version": "1.17.28", "description": "", "main": "index.js", "scripts": { diff --git a/public/venue/first_floor.png b/public/venue/first_floor.png new file mode 100644 index 0000000..a99bbc0 Binary files /dev/null and b/public/venue/first_floor.png differ diff --git a/public/venue/ground_floor.png b/public/venue/ground_floor.png new file mode 100644 index 0000000..d5e1354 Binary files /dev/null and b/public/venue/ground_floor.png differ diff --git a/src/components/FloorPlanLightbox.astro b/src/components/FloorPlanLightbox.astro new file mode 100644 index 0000000..90a203e --- /dev/null +++ b/src/components/FloorPlanLightbox.astro @@ -0,0 +1,323 @@ +--- +interface Props { + src: string + alt: string + title: string + expandLabel: string + closeLabel: string + zoomInLabel: string + zoomOutLabel: string + resetLabel: string + hint: string +} + +const { src, alt, title, expandLabel, closeLabel, zoomInLabel, zoomOutLabel, resetLabel, hint } = Astro.props + +const dialogId = `floor-plan-dialog-${Math.random().toString(36).slice(2, 9)}` +--- + + + + +
+ {alt} +
+ +
+

+ {title} +

+ +
+ +
+

+ {hint} +

+
+ + 100% + + +
+
+
+ + + + diff --git a/src/components/LocationPage.astro b/src/components/LocationPage.astro index 07ec8b8..8702161 100644 --- a/src/components/LocationPage.astro +++ b/src/components/LocationPage.astro @@ -1,6 +1,7 @@ --- import { locationTexts } from '../i18n/location' import { menuTexts } from '../i18n/menu' +import FloorPlanLightbox from './FloorPlanLightbox.astro' interface Props { lang: string @@ -183,6 +184,48 @@ const transportIcons = { + +
+

+ + {t['location.floorplans.title']} +

+
+
+

{t['location.floorplans.ground']}

+ +
+
+

{t['location.floorplans.first']}

+ +
+
+
+