feat: refresh page heroes and content placeholders
Deploy / validate-dispatch (push) Successful in 0s
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 3s
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 1s
Deploy / app-image (push) Successful in 58s
Deploy / deploy-master (push) Skipped
Deploy / deploy-dev (push) Successful in 11s
Deploy / validate-dispatch (push) Successful in 0s
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 3s
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 1s
Deploy / app-image (push) Successful in 58s
Deploy / deploy-master (push) Skipped
Deploy / deploy-dev (push) Successful in 11s
This commit is contained in:
+8
-9
@@ -1,7 +1,6 @@
|
||||
import type { Metadata } from "next";
|
||||
import Image from "next/image";
|
||||
import Link from "next/link";
|
||||
import heroImage from "../../goldebek_website_briefing/csm_nordfriesland_goldebek_mr_240316_127_36497ca77c.jpg";
|
||||
import villageImage from "../../goldebek_website_briefing/csm_nordfriesland_goldebek_mr_240316_126_0b279a7462.jpg";
|
||||
import EventCard from "@/components/EventCard";
|
||||
import JsonLd from "@/components/JsonLd";
|
||||
@@ -18,13 +17,13 @@ const quickLinks=[["Dörpshuus","/leben/doerpshuus","Raum für Feste und Begegnu
|
||||
|
||||
export default function HomePage(){const news=getNews().slice(0,3);const {upcoming}=partitionEvents(getEvents());return <>
|
||||
<JsonLd data={[{"@context":"https://schema.org","@type":"GovernmentOrganization","name":"Gemeinde Goldebek","url":SITE_URL,"address":{"@type":"PostalAddress","postalCode":"25862","addressLocality":"Goldebek","addressRegion":"Schleswig-Holstein","addressCountry":"DE"}},{"@context":"https://schema.org","@type":"WebSite","name":"Gemeinde Goldebek","url":SITE_URL,"inLanguage":"de-DE"}]}/>
|
||||
<section className="municipality-hero"><div className="hero-photo" aria-hidden="true"><Image src={heroImage} alt="" fill priority sizes="100vw" /></div><div className="container municipality-hero__grid"><div className="municipality-hero__copy"><p className="eyebrow">Gemeinde Goldebek · Nordfriesland</p><h1>Moin in Goldebek</h1><p className="lead">Goldebek liegt im nordöstlichen Nordfriesland zwischen Bredstedt und Wanderup. Landwirtschaft, Ehrenamt, Vereine und gemeinschaftliche Projekte prägen das Dorf.</p><div className="button-row"><Link className="button button--primary" href="/termine">Aktuelle Termine</Link><Link className="button button--secondary" href="/gemeinde/ueber-goldebek">Goldebek entdecken</Link></div></div><aside className="welcome-card" aria-labelledby="welcome-title"><p className="welcome-card__kicker">Gut zu wissen</p><h2 id="welcome-title">Gemeinsam im Dorf</h2><p>Hier finden Sie verlässliche Informationen der Gemeinde, kommende Termine und direkte Wege zu den wichtigsten Angeboten.</p><Link href="/kontakt" className="text-link">Ansprechpartner finden <span aria-hidden="true">→</span></Link></aside></div></section>
|
||||
<section className="municipality-hero"><div className="container municipality-hero__grid"><div className="municipality-hero__copy"><h1>Moin in Goldebek</h1><p className="lead">Goldebek liegt im nordöstlichen Nordfriesland zwischen Bredstedt und Wanderup. Landwirtschaft, Ehrenamt, Vereine und gemeinschaftliche Projekte prägen das Dorf.</p><div className="button-row"><Link className="button button--primary" href="/termine">Aktuelle Termine</Link><Link className="button button--secondary" href="/gemeinde/ueber-goldebek">Goldebek entdecken</Link></div></div></div></section>
|
||||
<section className="facts" aria-label="Goldebek in Zahlen"><div className="container facts__grid">{facts.map(([value,label])=><div className="fact" key={label}><strong>{value}</strong><span>{label}</span></div>)}</div></section>
|
||||
<section className="container home-section"><div className="section-heading"><div><p className="section-kicker">Aus der Gemeinde</p><h2>Aktuelles</h2></div><Link className="text-link" href="/aktuelles">Alle Meldungen <span aria-hidden="true">→</span></Link></div><div className="news-grid">{news.map((item)=><article className="news-card" key={item.id}><p className="news-date">{new Intl.DateTimeFormat("de-DE").format(new Date(`${item.publishedAt}T12:00:00Z`))}</p><h3><Link href={`/aktuelles/${item.slug}`}>{item.title}</Link></h3><p>{item.teaser}</p><Link className="text-link" href={`/aktuelles/${item.slug}`}>Weiterlesen <span aria-hidden="true">→</span></Link></article>)}</div></section>
|
||||
<section className="home-section home-section--tinted"><div className="container"><div className="section-heading"><div><p className="section-kicker">Was steht an?</p><h2>Nächste Termine</h2></div><Link className="text-link" href="/termine">Zum Kalender <span aria-hidden="true">→</span></Link></div><div className="event-list">{upcoming.slice(0,4).map((event)=><EventCard event={event} key={event.id}/>)}</div></div></section>
|
||||
<section className="container home-section"><p className="section-kicker">Direkt gefunden</p><h2>Schnellzugriffe</h2><div className="quick-grid quick-grid--four">{quickLinks.map(([title,href,copy],index)=><Link href={href} className="quick-card" key={title}><span className="quick-card__number" aria-hidden="true">0{index+1}</span><h3>{title}</h3><p>{copy}</p></Link>)}</div></section>
|
||||
<section className="discover-section"><div className="discover-photo"><Image src={villageImage} alt="Luftaufnahme von Goldebek mit Feldern und Wohnhäusern" fill sizes="(max-width: 800px) 100vw, 50vw" /></div><div className="discover-copy"><p className="section-kicker">Ort mit Geschichte</p><h2>Goldebek entdecken</h2><p>Vom Mühlenstrom bis zur Dorfchronik: Lernen Sie Geschichte, Landschaft und Zeichen des Ortes kennen.</p><div className="link-list"><Link href="/gemeinde/geschichte">Geschichte</Link><Link href="/gemeinde/ueber-goldebek">Mühlenstrom</Link><Link href="/gemeinde/dorfchronik">Dorfchronik</Link><Link href="/gemeinde/wappen">Wappen</Link></div></div></section>
|
||||
<section className="container home-section"><div className="section-heading"><div><p className="section-kicker">Engagiert vor Ort</p><h2>Gemeinschaft</h2></div></div><div className="feature-grid"><Link href="/leben/vereine"><span>01</span><h3>Vereine</h3><p>Sport, Tradition und soziales Engagement.</p></Link><Link href="/leben/freiwillige-feuerwehr"><span>02</span><h3>Feuerwehr</h3><p>Einsatzbereitschaft und Gemeinschaft.</p></Link><Link href="/leben/kulturausschuss"><span>03</span><h3>Kulturausschuss</h3><p>Feste, Aktionen und Kultur im Dorf.</p></Link></div></section>
|
||||
<section className="home-section home-section--blue"><div className="container"><p className="section-kicker">Blick nach vorn</p><h2>Projekte & Entwicklung</h2><div className="project-links"><Link href="/leben/spielplatz"><strong>Spielplatz</strong><span>Seit August 2026 geöffnet</span></Link><Link href="/politik/projekte-entwicklung"><strong>Wärmeplanung</strong><span>Aktuelle Informationen</span></Link><Link href="/politik/bauleitplanung"><strong>Bauleitplanung</strong><span>Zu den amtlichen Verfahren</span></Link></div></div></section>
|
||||
<section className="container home-section contact-band"><div><p className="section-kicker">Gemeinde & Amt</p><h2>Wir helfen Ihnen weiter.</h2><p>Für Gemeindeangelegenheiten finden Sie hier Peter Jessen und das Amt Mittleres Nordfriesland.</p></div><Link className="button button--primary" href="/kontakt">Kontakt aufnehmen</Link></section>
|
||||
<section className="container home-section"><div className="section-heading"><h2>Aktuelles</h2><Link className="text-link" href="/aktuelles">Alle Meldungen <span aria-hidden="true">→</span></Link></div><div className="news-grid">{news.map((item)=><article className="news-card" key={item.id}><p className="news-date">{new Intl.DateTimeFormat("de-DE").format(new Date(`${item.publishedAt}T12:00:00Z`))}</p><h3><Link href={`/aktuelles/${item.slug}`}>{item.title}</Link></h3><p>{item.teaser}</p><Link className="text-link" href={`/aktuelles/${item.slug}`}>Weiterlesen <span aria-hidden="true">→</span></Link></article>)}</div></section>
|
||||
<section className="home-section home-section--tinted"><div className="container"><div className="section-heading"><h2>Nächste Termine</h2><Link className="text-link" href="/termine">Zum Kalender <span aria-hidden="true">→</span></Link></div><div className="event-list">{upcoming.slice(0,4).map((event)=><EventCard event={event} key={event.id}/>)}</div></div></section>
|
||||
<section className="container home-section"><h2>Schnellzugriffe</h2><div className="quick-grid quick-grid--four">{quickLinks.map(([title,href,copy],index)=><Link href={href} className="quick-card" key={title}><span className="quick-card__number" aria-hidden="true">0{index+1}</span><h3>{title}</h3><p>{copy}</p></Link>)}</div></section>
|
||||
<section className="discover-section"><div className="discover-photo"><Image src={villageImage} alt="Luftaufnahme von Goldebek mit Feldern und Wohnhäusern" fill sizes="(max-width: 800px) 100vw, 50vw" /></div><div className="discover-copy"><h2>Goldebek entdecken</h2><p>Vom Mühlenstrom bis zur Dorfchronik: Lernen Sie Geschichte, Landschaft und Zeichen des Ortes kennen.</p><div className="link-list"><Link href="/gemeinde/geschichte">Geschichte</Link><Link href="/gemeinde/ueber-goldebek">Mühlenstrom</Link><Link href="/gemeinde/dorfchronik">Dorfchronik</Link><Link href="/gemeinde/wappen">Wappen</Link></div></div></section>
|
||||
<section className="container home-section"><div className="section-heading"><h2>Gemeinschaft</h2></div><div className="feature-grid"><Link href="/leben/vereine"><span>01</span><h3>Vereine</h3><p>Sport, Tradition und soziales Engagement.</p></Link><Link href="/leben/freiwillige-feuerwehr"><span>02</span><h3>Feuerwehr</h3><p>Einsatzbereitschaft und Gemeinschaft.</p></Link><Link href="/leben/kulturausschuss"><span>03</span><h3>Kulturausschuss</h3><p>Feste, Aktionen und Kultur im Dorf.</p></Link></div></section>
|
||||
<section className="home-section home-section--blue"><div className="container"><h2>Projekte & Entwicklung</h2><div className="project-links"><Link href="/leben/spielplatz"><strong>Spielplatz</strong><span>Seit August 2026 geöffnet</span></Link><Link href="/politik/projekte-entwicklung"><strong>Wärmeplanung</strong><span>Aktuelle Informationen</span></Link><Link href="/politik/bauleitplanung"><strong>Bauleitplanung</strong><span>Zu den amtlichen Verfahren</span></Link></div></div></section>
|
||||
<section className="container home-section contact-band"><div><h2>Wir helfen Ihnen weiter.</h2><p>Für Gemeindeangelegenheiten finden Sie hier Peter Jessen und das Amt Mittleres Nordfriesland.</p></div><Link className="button button--primary" href="/kontakt">Kontakt aufnehmen</Link></section>
|
||||
</>}
|
||||
|
||||
Reference in New Issue
Block a user