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;
+3 -3
View File
@@ -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}}