diff --git a/nextjs-app/components/SchoolDetailView.module.css b/nextjs-app/components/SchoolDetailView.module.css index 97fdca4..751f2aa 100644 --- a/nextjs-app/components/SchoolDetailView.module.css +++ b/nextjs-app/components/SchoolDetailView.module.css @@ -858,16 +858,6 @@ color: var(--text-muted, #8a847a); } -/* ── Hero summary sentence (B1) ──────────────────────────────────────── */ -.heroSummary { - margin: 1.5rem 0 0; - font-family: var(--font-playfair), 'Playfair Display', serif; - font-size: clamp(1.0625rem, 1.6vw, 1.25rem); - font-style: italic; - line-height: 1.5; - color: var(--text-primary, #1a1612); -} - .heroDataNote { margin: 0.5rem 0 0; font-size: 0.75rem; diff --git a/nextjs-app/components/SchoolDetailView.tsx b/nextjs-app/components/SchoolDetailView.tsx index ae3913f..21da6e6 100644 --- a/nextjs-app/components/SchoolDetailView.tsx +++ b/nextjs-app/components/SchoolDetailView.tsx @@ -19,7 +19,7 @@ import type { } from '@/lib/types'; import { formatPercentage, formatProgress, formatAcademicYear, - buildOfstedHeroChip, buildSchoolSummary, + buildOfstedHeroChip, } from '@/lib/utils'; import { DeltaChip } from './DeltaChip'; import styles from './SchoolDetailView.module.css'; @@ -153,7 +153,6 @@ export function SchoolDetailView({ // ── Hero: framework-aware signal chip + narrative summary ───────────── const ofstedHeroChip = buildOfstedHeroChip(ofsted); - const heroSummary = buildSchoolSummary(schoolInfo, ofsted, admissions, latestResults); // KS2 headline numbers for the at-a-glance row const heroRwm = isPrimary ? latestResults?.rwm_expected_pct ?? null : null; @@ -235,7 +234,7 @@ export function SchoolDetailView({ {admissions?.oversubscribed && ( -
+
Oversubscribed
{admissions.first_preference_offer_pct != null @@ -302,9 +301,6 @@ export function SchoolDetailView({
)} - {heroSummary && ( -

{heroSummary}

- )} {heroAcademicYear && (

Latest data: {heroAcademicYear}