feat: refine playground photo story
Deploy / validate-dispatch (push) Successful in 0s
Deploy / scheduled-rebuild-dev (push) Skipped
Deploy / rollback-dev (push) Skipped
Deploy / changes (push) Successful in 4s
Deploy / context (push) Successful in 1s
Deploy / scheduled-rebuild-master (push) Skipped
Deploy / rollback-master (push) Skipped
Deploy / app-quality (push) Successful in 1m6s
Deploy / secret-scan (push) Successful in 5s
Deploy / security-deps (push) Successful in 5s
Deploy / app-image (push) Successful in 58s
Deploy / deploy-master (push) Skipped
Deploy / deploy-dev (push) Successful in 12s

This commit is contained in:
Per Hoener
2026-09-19 17:02:11 +02:00
parent b50a172c1c
commit c75ef33f02
2 changed files with 7 additions and 6 deletions
+4 -3
View File
@@ -23,11 +23,12 @@ const pageHeroImages: Record<string, { src:string; position?:string }> = {
"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 <><dl className="detail-list"><div><dt>Adresse</dt><dd>{item.address}</dd></div><div><dt>Service-Telefon</dt><dd><a href={phoneUrl(item.phone)}>{item.phone}</a></dd></div><div><dt>Kapazität</dt><dd>{item.capacity.hall} Personen im Dörpshuus, {item.capacity.fireBrigadeRoom} im Kameradschaftsraum, maximal {item.capacity.total} insgesamt</dd></div><div><dt>Gebühren</dt><dd>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}</dd></div></dl><section className="document-panel"><h2>Flyer und Nutzungsbedingungen</h2><p>Der vierseitige Flyer kann direkt hier gelesen oder als PDF heruntergeladen werden.</p><object className="document-embed" data="/downloads/doerpshuus-flyer.pdf" type="application/pdf" aria-label="Dörpshuus-Flyer mit Nutzungsbedingungen"><p>Die PDF-Vorschau wird von Ihrem Browser nicht unterstützt. <a href="/downloads/doerpshuus-flyer.pdf">Flyer öffnen</a>.</p></object><a className="button button--secondary" href="/downloads/doerpshuus-flyer.pdf" download>Flyer herunterladen (PDF)</a></section></>;
}
if (type === "playground") {
return <section className="image-gallery" aria-labelledby="playground-gallery-heading"><div className="image-gallery__heading"><h2 id="playground-gallery-heading">Bilder vom Spielplatz</h2><p>Fertige Anlage, Planung und Bauphasen.</p></div><div className="image-gallery__grid">{playgroundGallery.map((image) => <figure key={image.src}><Image src={image.src} alt={image.alt} width={1440} height={1080} sizes="(max-width: 620px) 100vw, (max-width: 900px) 50vw, 33vw" /><figcaption>{image.alt}</figcaption></figure>)}</div></section>;
return <section className="playground-gallery" aria-labelledby="playground-gallery-heading"><div className="playground-gallery__heading"><h2 id="playground-gallery-heading">Der neue Spielplatz</h2><p>Ein Blick auf die fertige Anlage am Langbarg.</p></div><div className="playground-gallery__finished">{completedPlaygroundPhotos.map((image, index) => <figure className={index === 0 ? "playground-gallery__lead" : undefined} key={image.src}><Image src={image.src} alt={image.alt} width={1440} height={1080} sizes={index === 0 ? "(max-width: 900px) 100vw, 800px" : "(max-width: 900px) 100vw, 400px"} /></figure>)}</div><details className="playground-gallery__archive"><summary>Planung und Bauphase ansehen</summary><p>Diese Bilder dokumentieren den Weg von der Planung bis zur fertigen Anlage.</p><div className="playground-gallery__archive-grid">{playgroundConstructionPhotos.map((image) => <figure key={image.src}><Image src={image.src} alt={image.alt} width={1440} height={1080} sizes="(max-width: 620px) 100vw, 50vw" /></figure>)}</div></details></section>;
}
if (type === "museum") {
const item = servicesJson.museum;