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.
53 lines
1.5 KiB
TypeScript
53 lines
1.5 KiB
TypeScript
import Link from "next/link";
|
|
import { ImagePlaceholder } from "@/components/ImagePlaceholder";
|
|
import { ArrowIcon } from "@/components/ArrowIcon";
|
|
import type { ImageMood } from "@/lib/angebote";
|
|
|
|
type AngebotCardProps = {
|
|
href: string;
|
|
title: string;
|
|
tagline: string;
|
|
mood: ImageMood;
|
|
imageSrc?: string;
|
|
imageAlt?: string;
|
|
size?: "default" | "large";
|
|
};
|
|
|
|
export function AngebotCard({
|
|
href,
|
|
title,
|
|
tagline,
|
|
mood,
|
|
imageSrc,
|
|
imageAlt,
|
|
size = "default",
|
|
}: AngebotCardProps) {
|
|
return (
|
|
<Link href={href} className="group block">
|
|
<div
|
|
className={`relative overflow-hidden rounded-[2.5rem] ${
|
|
size === "large" ? "aspect-[4/3]" : "aspect-[4/5]"
|
|
}`}
|
|
>
|
|
<ImagePlaceholder
|
|
mood={mood}
|
|
label={title}
|
|
src={imageSrc}
|
|
alt={imageAlt}
|
|
shape="soft"
|
|
className="h-full w-full transition-transform duration-700 ease-out group-hover:scale-[1.04]"
|
|
/>
|
|
<div className="absolute inset-0 bg-gradient-to-t from-anouma-plum/70 via-anouma-plum/0 to-transparent" />
|
|
<div className="absolute inset-x-0 bottom-0 p-7">
|
|
<h3 className="font-serif text-2xl font-medium text-white">{title}</h3>
|
|
<p className="mt-2 text-sm leading-relaxed text-white/90">{tagline}</p>
|
|
<span className="mt-4 inline-flex items-center gap-1.5 text-sm font-medium text-white/95">
|
|
Mehr erfahren
|
|
<ArrowIcon />
|
|
</span>
|
|
</div>
|
|
</div>
|
|
</Link>
|
|
);
|
|
}
|