Files
anouma/components/Footer.tsx
T
maro 526a908c80
CI / test (push) Successful in 3m42s
Release / test (push) Successful in 3m44s
Release / build-and-deploy (push) Successful in 8m59s
Redesign: warmer, more editorial visual pass; remove stray em dashes
Replaces em dashes with en dashes across all hardcoded copy, emails, and
seed content, then reworks the site's visual language so it reads as
deliberately designed rather than assembled from generic components:

- New ArrowLink component replaces ad hoc "Mehr erfahren ->" links and
  ghost buttons; one shared FormField (TextField/TextAreaField) replaces
  7 near-duplicate field styles across every form
- Navbar loses its glassmorphism blur for a solid warm background, gets a
  subtle active-link underline and a softer, warmer mega-menu
- PageHeader supports per-page blob tone/position and a compact mode
  instead of an identical band on every interior page
- Homepage: the core offer is featured large instead of four equal cards,
  the philosophy section gets a single calmer accent blob, blog teasers
  now show their cover image like the real /aktuelles page does
- Booking calendar and widget: 44px touch targets throughout (month nav,
  day cells, time slots, cancel action), a visible "today" ring, and
  responsive padding so the calendar isn't cramped on small screens
- Quieter, warmer empty states on /termine and /aktuelles

No functional changes: all interaction logic (nav menus, forms, booking,
CMS data fetching) is untouched, only markup and styling.
2026-09-06 22:00:28 +02:00

93 lines
3.4 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import Link from "next/link";
import { groupOffersByCategory } from "@/lib/angebote";
import { footerNav, mainNav, siteConfig } from "@/lib/site";
import { getOffers } from "@/lib/payload/content";
export async function Footer() {
const offers = await getOffers();
const groups = groupOffersByCategory(offers);
return (
<footer className="bg-anouma-plum text-anouma-cream-light">
<div className="mx-auto max-w-6xl px-6 py-16 sm:px-8 lg:px-12">
<div className="grid gap-12 sm:grid-cols-2 lg:grid-cols-4">
<div>
<Link href="/" className="font-serif text-2xl font-semibold tracking-[0.08em]">
{siteConfig.name.toUpperCase()}
</Link>
<p className="mt-4 max-w-xs text-sm leading-relaxed text-anouma-cream-light/90">
Räume für Verbindung – mit dir selbst, miteinander und mit der Natur.
</p>
</div>
<div>
<h3 className="text-xs font-medium uppercase tracking-[0.2em] text-anouma-cream-light/90">
Navigation
</h3>
<ul className="mt-4 space-y-2.5">
{mainNav.map((item) => (
<li key={item.href}>
<Link href={item.href} className="text-sm text-anouma-cream-light/90 hover:text-white">
{item.title}
</Link>
</li>
))}
<li>
<Link href="/termin-buchen" className="text-sm text-anouma-cream-light/90 hover:text-white">
Termin buchen
</Link>
</li>
</ul>
</div>
<div>
<h3 className="text-xs font-medium uppercase tracking-[0.2em] text-anouma-cream-light/90">
Angebote
</h3>
<ul className="mt-4 space-y-2.5">
{groups.map((group) => (
<li key={group.category}>
<Link
href={group.offers.length === 1 ? `/angebote/${group.offers[0].slug}` : group.href}
className="text-sm text-anouma-cream-light/90 hover:text-white"
>
{group.label}
</Link>
</li>
))}
</ul>
</div>
<div>
<h3 className="text-xs font-medium uppercase tracking-[0.2em] text-anouma-cream-light/90">
Kontakt
</h3>
<p className="mt-4 text-sm leading-relaxed text-anouma-cream-light/90">
Ich freue mich, von dir zu hören.
</p>
<Link
href="/kontakt"
className="mt-3 inline-block text-sm font-medium underline underline-offset-4 hover:text-white"
>
Zum Kontaktformular
</Link>
</div>
</div>
<div className="mt-14 flex flex-col gap-4 border-t border-anouma-cream-light/20 pt-8 text-sm text-anouma-cream-light/90 sm:flex-row sm:items-center sm:justify-between">
<p>&copy; {new Date().getFullYear()} {siteConfig.name}</p>
<ul className="flex flex-wrap gap-x-6 gap-y-2">
{footerNav.map((item) => (
<li key={item.href}>
<Link href={item.href} className="hover:text-white">
{item.title}
</Link>
</li>
))}
</ul>
</div>
</div>
</footer>
);
}