chore: consolidate current project changes
Deploy / validate-dispatch (push) Successful in 1s
Deploy / scheduled-rebuild-dev (push) Skipped
Deploy / scheduled-rebuild-master (push) Skipped
Deploy / rollback-dev (push) Skipped
Deploy / rollback-master (push) Skipped
Deploy / changes (push) Successful in 4s
Deploy / app-quality (push) Successful in 1m5s
Deploy / secret-scan (push) Successful in 4s
Deploy / security-deps (push) Successful in 5s
Deploy / context (push) Successful in 0s
Deploy / app-image (push) Successful in 55s
Deploy / deploy-master (push) Skipped
Deploy / deploy-dev (push) Successful in 12s

This commit is contained in:
Per Hoener
2026-09-19 17:12:51 +02:00
parent c75ef33f02
commit 5ecd803850
14 changed files with 42 additions and 1948 deletions
+3 -3
View File
@@ -7,7 +7,7 @@ import clubsJson from "../../../data/clubs.json";
import councilJson from "../../../data/council.json";
import municipalityJson from "../../../data/municipality.json";
import servicesJson from "../../../data/services.json";
import coatOfArms from "../../../goldebek_website_briefing/DEU_Goldebek_wappen.svg";
import HistoryTimeline from "@/components/HistoryTimeline";
import PageHeader from "@/components/PageHeader";
import { getSource } from "@/lib/content";
import { formatGermanDate } from "@/lib/dates/events";
@@ -67,13 +67,13 @@ function phoneUrl(value: string) { return `tel:${value.replace(/[^+\d]/g, "")}`;
function SpecialContent({ type }: { type?: string }) {
if (type === "coat-of-arms") {
return <figure className="coat-of-arms"><Image src={coatOfArms} alt="Offizielles Wappen der Gemeinde Goldebek" /><figcaption>Das Gemeindewappen wird unverändert wiedergegeben.</figcaption></figure>;
return <figure className="coat-of-arms"><Image src="/images/goldebek-wappen.svg" alt="Offizielles Wappen der Gemeinde Goldebek" width={150} height={164} /><figcaption>Das Gemeindewappen wird unverändert wiedergegeben.</figcaption></figure>;
}
if (type === "facts") {
return <dl className="data-grid"><div><dt>Einwohner</dt><dd>{municipalityJson.population.value}</dd></div><div><dt>Fläche</dt><dd>{municipalityJson.areaKm2.toLocaleString("de-DE")} km²</dd></div><div><dt>Dichte</dt><dd>{municipalityJson.population.densityPerKm2} Einwohner/km²</dd></div><div><dt>Postleitzahl</dt><dd>{municipalityJson.postalCode}</dd></div><div><dt>Amt</dt><dd>{municipalityJson.administration}</dd></div></dl>;
}
if (type === "history") {
return <><p className="timeline-hint">Durch die Stationen der Dorfgeschichte scrollen</p><ol className="timeline" tabIndex={0} aria-label="Zeitleiste der Goldebeker Geschichte">{municipalityJson.history.map((item) => <li key={`${item.date}-${item.title}`}><time>{item.date}</time><div><h3>{item.title}</h3><p>{item.text}</p></div></li>)}</ol></>;
return <><p className="timeline-hint">Beim Scrollen rückt jeweils eine Station in den Mittelpunkt.</p><HistoryTimeline items={municipalityJson.history} /></>;
}
if (type === "doerpshuus") {
const item = servicesJson.doerpshuus;
+1 -2
View File
@@ -1,6 +1,5 @@
import type { Metadata, Viewport } from "next";
import type { ReactNode } from "react";
import coatOfArms from "../../goldebek_website_briefing/DEU_Goldebek_wappen.svg";
import Footer from "../components/Footer";
import Header from "../components/Header";
import { SITE_NAME, SITE_URL } from "../lib/site";
@@ -14,7 +13,7 @@ export const metadata: Metadata = {
},
description: "Offizielle Website der Gemeinde Goldebek in Nordfriesland.",
icons: {
icon: [{ url: coatOfArms.src, type: "image/svg+xml" }],
icon: [{ url: "/images/goldebek-wappen.svg", type: "image/svg+xml" }],
},
openGraph: {
type: "website",