No description
Rebuilds /kontakt from the design handoff (src/referenz/Kontaktformular Redesign/) using the site's own stack instead of copying the prototype's inline-styled HTML: React + Tailwind arbitrary values bound to a small set of CSS custom properties (.kf-page, index.css) that swap automatically with the site's existing dark-mode class toggle - no separate theme control was added, per the brief. The "Deine Anfrage bezieht sich auf" package box wires into the existing query-param handoff from the package picker (ModelPage's contactUrl: brand/model/package/packageId/total) and only renders when all three are present; the optional-upgrades picker that already existed on this page is preserved and restyled to match. Submission still posts to the real /api/contact endpoint (same payload shape as before), so requests keep landing in the admin inbox. Adds Michroma (heading/price font) alongside the already-loaded Barlow. Michroma has no Euro-sign glyph (renders as tofu), so price displays split the € into a plain-font span rather than showing a broken glyph. Dark-mode background assets (grunge/splatter) come from the handoff; the light-mode car photo reuses an existing site asset (hero-trunk) since none was supplied, masked per the handoff's recipe. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> |
||
|---|---|---|
| .github/workflows | ||
| hifi | ||
| hifi-src | ||
| .gitignore | ||