diff --git a/mockups/header-map-hero.html b/mockups/header-map-hero.html new file mode 100644 index 0000000..50418f1 --- /dev/null +++ b/mockups/header-map-hero.html @@ -0,0 +1,179 @@ + + +
+ + +Transition made more diffuse: the map dissolves gradually and reaches solid white before the school name, so the title sits cleanly on white with only a soft memory of the map above it. Redundant floating pill removed — the only map CTA is the inline “View on map ↗”. Desktop and mobile shown side by side.
+Same school throughout (Our Lady Queen of Heaven, SW19 6AD). Live, non-interactive preview maps; the CTA opens the full map.
+ +No-location fallback — schools without lat/long simply render the hero with no map band (title at the top as today), so the component degrades cleanly.
+{schoolInfo.address}{schoolInfo.postcode && `, ${schoolInfo.postcode}`} + {hasLocation && ( + <> + {' · '} + + > + )}
)}- Latest data: {heroAcademicYear} -
- )} {/* Sticky Section Navigation — docks under the global header */} @@ -1266,20 +1198,6 @@ export function SchoolDetailView({ )} - {/* Location */} - {hasLocation && ( -{schoolInfo.address}{schoolInfo.postcode && `, ${schoolInfo.postcode}`} + {hasLocation && ( + <> + {' · '} + + > + )}
)}Latest data: {heroAcademicYear}
- )} {/* ── Sticky section navigation ─────────────────────── */} @@ -943,20 +901,6 @@ export function SecondarySchoolDetailView({ )} - {/* ── Location ───────────────────────────────────── */} - {hasLocation && ( -