From c75ef33f025e8fbe13190e04e6d80d0b7943a16b Mon Sep 17 00:00:00 2001 From: Per Hoener Date: Sat, 19 Sep 2026 17:02:11 +0200 Subject: [PATCH] feat: refine playground photo story --- src/app/[...slug]/page.tsx | 7 ++++--- src/styles/goldebek.css | 6 +++--- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/app/[...slug]/page.tsx b/src/app/[...slug]/page.tsx index fa99cba..58c6b2f 100644 --- a/src/app/[...slug]/page.tsx +++ b/src/app/[...slug]/page.tsx @@ -23,11 +23,12 @@ const pageHeroImages: Record = { "leben/doerpshuus": { src:"/images/backgrounds/goldebek-doerpshuus", position:"center 45%" }, "leben/spielplatz": { src:"/images/content/playground/spielplatz-am-langbarg-kletter-und-rutschbereich-md", position:"center 54%" }, }; -const playgroundGallery = [ +const completedPlaygroundPhotos = [ { src:"/images/content/playground/spielplatz-am-langbarg-gesamtansicht-md.jpeg", alt:"Weite Ansicht des Spielplatzes am Langbarg mit Spielgeräten und Freifläche." }, - { src:"/images/content/playground/spielplatz-am-langbarg-spielgeraete-md.jpeg", alt:"Spielgeräte und Sandfläche auf dem Spielplatz am Langbarg." }, { src:"/images/content/playground/spielplatz-am-langbarg-kletter-und-rutschbereich-md.jpeg", alt:"Spielplatz am Langbarg mit Kletter- und Rutschbereich." }, { src:"/images/content/playground/spielplatz-am-langbarg-schaukel-und-rutsche-md.jpeg", alt:"Spielbereich mit Schaukel und Rutsche auf dem Spielplatz am Langbarg." }, +]; +const playgroundConstructionPhotos = [ { src:"/images/content/playground/spielplatz-am-langbarg-planungsentwurf-md.jpeg", alt:"Abfotografierte Planzeichnung für den Spielplatz am Langbarg." }, { src:"/images/content/playground/spielplatz-am-langbarg-bauzaun-md.jpeg", alt:"Bauzustand des Spielplatzgeländes mit abgegrenzter Fläche." }, { src:"/images/content/playground/spielplatz-am-langbarg-baugrund-md.jpeg", alt:"Bauzustand des Spielplatzgeländes mit vorbereiteter Fläche." }, @@ -79,7 +80,7 @@ function SpecialContent({ type }: { type?: string }) { return <>
Adresse
{item.address}
Service-Telefon
{item.phone}
Kapazität
{item.capacity.hall} Personen im Dörpshuus, {item.capacity.fireBrigadeRoom} im Kameradschaftsraum, maximal {item.capacity.total} insgesamt
Gebühren
Einwohner {item.fees.residents} · Kameradschaftsraum {item.fees.fireBrigadeRoom} · Auswärtige {item.fees.nonResidents} · Kaution {item.fees.deposit} · Endreinigung {item.fees.finalCleaning} · Fehlbenutzung Notausgang {item.fees.emergencyExitMisuse}

Flyer und Nutzungsbedingungen

Der vierseitige Flyer kann direkt hier gelesen oder als PDF heruntergeladen werden.

Die PDF-Vorschau wird von Ihrem Browser nicht unterstützt. Flyer öffnen.

Flyer herunterladen (PDF)
; } if (type === "playground") { - return

Fertige Anlage, Planung und Bauphasen.

{playgroundGallery.map((image) =>
{image.alt}
{image.alt}
)}
; + return

Ein Blick auf die fertige Anlage am Langbarg.

{completedPlaygroundPhotos.map((image, index) =>
{image.alt}
)}
Planung und Bauphase ansehen

Diese Bilder dokumentieren den Weg von der Planung bis zur fertigen Anlage.

{playgroundConstructionPhotos.map((image) =>
{image.alt}
)}
; } if (type === "museum") { const item = servicesJson.museum; diff --git a/src/styles/goldebek.css b/src/styles/goldebek.css index 55ef9ae..4b5a50f 100644 --- a/src/styles/goldebek.css +++ b/src/styles/goldebek.css @@ -58,9 +58,9 @@ a:focus-visible,button:focus-visible { outline:3px solid var(--gold-500); outlin .contact-panel{display:grid;grid-template-columns:170px 1fr;gap:2rem;max-width:760px;padding:2rem;margin-bottom:3rem;background:var(--blue-950);color:white}.contact-panel h2{color:white}.contact-panel address{font-style:normal}.contact-panel a{text-underline-offset:4px}.portrait-image{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:cover;object-position:center;margin-bottom:1.4rem;background:#dbe7e8}.portrait-image--mayor{margin:0} .people-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:.8rem}.people-grid article{padding:1.4rem;border:1px solid var(--line)}.people-grid h3{margin-bottom:.3rem}.people-grid p{color:var(--muted);font-size:.85rem} .document-panel{max-width:1000px;padding-top:3rem}.document-embed{display:block;width:100%;height:min(76vh,900px);margin:1.4rem 0;border:1px solid var(--line);background:#f1f4f0} -.image-gallery{margin:0 0 4rem}.image-gallery__heading{max-width:700px;margin-bottom:1.5rem}.image-gallery__heading h2{font-size:clamp(1.7rem,3vw,2.4rem);margin-bottom:.6rem}.image-gallery__heading p{color:var(--muted)}.image-gallery__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.image-gallery figure{margin:0;background:#f1f4f0}.image-gallery img{display:block;width:100%;aspect-ratio:4 / 3;object-fit:cover}.image-gallery figcaption{padding:.8rem 1rem;color:var(--muted);font-size:.82rem;line-height:1.45} +.playground-gallery{margin:0 0 4.5rem}.playground-gallery__heading{max-width:700px;margin-bottom:1.5rem}.playground-gallery__heading h2{font-size:clamp(1.7rem,3vw,2.4rem);margin-bottom:.6rem}.playground-gallery__heading p{color:var(--muted)}.playground-gallery__finished{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.playground-gallery figure{margin:0;overflow:hidden;background:#e7eee7}.playground-gallery__lead{grid-column:1 / -1}.playground-gallery img{display:block;width:100%;height:100%;aspect-ratio:16 / 10;object-fit:cover;object-position:center}.playground-gallery__lead img{aspect-ratio:16 / 7}.playground-gallery__archive{margin-top:1.5rem;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.playground-gallery__archive summary{display:flex;align-items:center;min-height:58px;cursor:pointer;color:var(--blue-800);font-weight:700;text-underline-offset:4px}.playground-gallery__archive summary:hover{color:var(--blue-950);text-decoration:underline}.playground-gallery__archive>p{max-width:640px;color:var(--muted)}.playground-gallery__archive-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;padding:0 0 1.5rem}.playground-gallery__archive-grid img{aspect-ratio:3 / 2}.playground-gallery__archive-grid figure:first-child img{object-fit:contain;background:#f1f4f0} .route-number{display:inline-flex;align-items:center;gap:1rem;padding:1.2rem 1.8rem;margin-bottom:3rem;color:white;background:var(--blue-950)}.route-number span{text-transform:uppercase;letter-spacing:.1em;font-size:.72rem}.route-number strong{font-size:2rem} .editorial-warning{padding:1.4rem;margin-bottom:2.5rem;border:2px solid #a86a00;background:#fff7df}.editorial-warning p{margin:.4rem 0 0} .prose h2{font-size:1.6rem}.prose p{max-width:720px} -@media(max-width:900px){.news-grid,.quick-grid--four,.data-grid,.people-grid,.image-gallery__grid{grid-template-columns:repeat(2,1fr)}.discover-section{grid-template-columns:1fr}.discover-photo{min-height:420px}.feature-grid,.project-links{grid-template-columns:1fr}.feature-grid>a{min-height:auto}.feature-grid span{margin-bottom:1.5rem}} -@media(max-width:620px){.news-grid,.quick-grid--four,.data-grid,.people-grid,.card-grid,.image-gallery__grid{grid-template-columns:1fr}.page-hero{min-height:380px}.section-heading,.contact-band{align-items:flex-start;flex-direction:column}.event-card{grid-template-columns:64px 1fr;padding:1rem;gap:1rem}.event-date{min-height:70px}.detail-list div,.contact-panel{grid-template-columns:1fr;gap:.25rem}.contact-panel{gap:1.25rem}.portrait-image--mayor{max-width:220px}.timeline{max-height:68vh}.timeline li{grid-template-columns:1fr;gap:.75rem;min-height:56vh;padding:2rem}.discover-photo{min-height:300px}.document-embed{height:60vh}} +@media(max-width:900px){.news-grid,.quick-grid--four,.data-grid,.people-grid{grid-template-columns:repeat(2,1fr)}.discover-section{grid-template-columns:1fr}.discover-photo{min-height:420px}.feature-grid,.project-links{grid-template-columns:1fr}.feature-grid>a{min-height:auto}.feature-grid span{margin-bottom:1.5rem}} +@media(max-width:620px){.news-grid,.quick-grid--four,.data-grid,.people-grid,.card-grid,.playground-gallery__finished,.playground-gallery__archive-grid{grid-template-columns:1fr}.page-hero{min-height:380px}.section-heading,.contact-band{align-items:flex-start;flex-direction:column}.event-card{grid-template-columns:64px 1fr;padding:1rem;gap:1rem}.event-date{min-height:70px}.detail-list div,.contact-panel{grid-template-columns:1fr;gap:.25rem}.contact-panel{gap:1.25rem}.portrait-image--mayor{max-width:220px}.timeline{max-height:68vh}.timeline li{grid-template-columns:1fr;gap:.75rem;min-height:56vh;padding:2rem}.discover-photo{min-height:300px}.document-embed{height:60vh}.playground-gallery__lead img{aspect-ratio:16 / 10}}