From f5aceb1b5417d941426a75d1ec0b1775db4c80e3 Mon Sep 17 00:00:00 2001 From: Tudor Date: Wed, 25 Mar 2026 12:00:12 +0000 Subject: [PATCH] feat(ui): add Ofsted overall judgement disclaimer --- nextjs-app/components/SchoolDetailView.module.css | 7 +++++++ nextjs-app/components/SchoolDetailView.tsx | 3 +++ 2 files changed, 10 insertions(+) diff --git a/nextjs-app/components/SchoolDetailView.module.css b/nextjs-app/components/SchoolDetailView.module.css index 0f24083..cf9bab8 100644 --- a/nextjs-app/components/SchoolDetailView.module.css +++ b/nextjs-app/components/SchoolDetailView.module.css @@ -475,6 +475,13 @@ .ofstedGrade3 { background: rgba(201, 162, 39, 0.15); color: #b8920e; } .ofstedGrade4 { background: rgba(224, 114, 86, 0.15); color: var(--accent-coral, #e07256); } +.ofstedDisclaimer { + font-size: 0.8rem; + color: var(--text-muted, #8a847a); + font-style: italic; + margin: 0 0 1rem; +} + .ofstedDate { font-size: 0.85rem; color: var(--text-muted, #8a847a); diff --git a/nextjs-app/components/SchoolDetailView.tsx b/nextjs-app/components/SchoolDetailView.tsx index 6475ed0..51885f9 100644 --- a/nextjs-app/components/SchoolDetailView.tsx +++ b/nextjs-app/components/SchoolDetailView.tsx @@ -209,6 +209,9 @@ export function SchoolDetailView({ )} +

+ From September 2024, Ofsted no longer makes an overall effectiveness judgement in inspections of state-funded schools. +

{parentView?.q_recommend_pct != null && parentView.total_responses != null && parentView.total_responses > 0 && (

{Math.round(parentView.q_recommend_pct)}% of parents would recommend this school ({parentView.total_responses.toLocaleString()} responses)