From 79fc5f2f76f0255c389079e9d966df8447efdb3e Mon Sep 17 00:00:00 2001 From: Maaxxs <61059039+MaaxxsDev@users.noreply.github.com> Date: Mon, 20 Jul 2026 07:29:26 +0200 Subject: [PATCH] Match the contact section to the prototype: Barlow, map crop, card title Side-by-side with the prototype revealed the section never set its font family - everything except the Michroma headings fell back to the system font, which was the biggest visual mismatch (labels, subtitle, feature bar). The section root now sets Barlow like the handoff specifies; the subtitle even wraps identically to the prototype again. The maps iframe crop is rebalanced (290px shifted -60px inside the 210px window) so the map runs flush to the "Route planen" bar with Google's bottom attribution cut at the card edge like the prototype, instead of showing the full attribution line with a gap. The contact card is titled "HiFi Planet Amorbach" per the design (was "HifiPlanet Amorbach"). Co-Authored-By: Claude Fable 5 --- hifi-src/src/i18n/de.js | 2 +- hifi-src/src/i18n/en.js | 2 +- hifi-src/src/pages/public/ContactPage.jsx | 13 +++++++------ .../assets/{index-BUHP9G1k.js => index-D7QmGTZX.js} | 4 ++-- hifi/index.html | 2 +- 5 files changed, 12 insertions(+), 11 deletions(-) rename hifi/assets/{index-BUHP9G1k.js => index-D7QmGTZX.js} (67%) diff --git a/hifi-src/src/i18n/de.js b/hifi-src/src/i18n/de.js index ddc26a4..5751ad5 100644 --- a/hifi-src/src/i18n/de.js +++ b/hifi-src/src/i18n/de.js @@ -196,7 +196,7 @@ export default { requiredHint: '* Pflichtfelder', sending: 'Wird gesendet…', submit: 'Anfrage senden', - cardTitle: 'HifiPlanet Amorbach', + cardTitle: 'HiFi Planet Amorbach', address: 'Adresse', phone: 'Telefon', email: 'E-Mail', diff --git a/hifi-src/src/i18n/en.js b/hifi-src/src/i18n/en.js index 8e3d222..ffaaeda 100644 --- a/hifi-src/src/i18n/en.js +++ b/hifi-src/src/i18n/en.js @@ -196,7 +196,7 @@ export default { requiredHint: '* Required fields', sending: 'Sending…', submit: 'Send inquiry', - cardTitle: 'HifiPlanet Amorbach', + cardTitle: 'HiFi Planet Amorbach', address: 'Address', phone: 'Phone', email: 'Email', diff --git a/hifi-src/src/pages/public/ContactPage.jsx b/hifi-src/src/pages/public/ContactPage.jsx index 91119f5..5a1f0f3 100644 --- a/hifi-src/src/pages/public/ContactPage.jsx +++ b/hifi-src/src/pages/public/ContactPage.jsx @@ -166,7 +166,7 @@ export default function ContactPage() { return (
{/* Hero */} @@ -491,16 +491,17 @@ export default function ContactPage() { )} - {/* iframe hoeher als der sichtbare Ausschnitt + negativer margin-top: - schneidet Googles eigenes Overlay (oben links) weg, damit nur unser - "In Maps oeffnen"-Chip zu sehen ist - wie im Prototyp. */} + {/* iframe hoeher als der sichtbare 210px-Ausschnitt + negativer margin-top: + schneidet Googles Info-Overlay (oben links) komplett und die untere + Attributionszeile bis auf den Rand an - wie im Prototyp fuellt die + Karte so buendig bis zur "Route planen"-Leiste. */}