diff --git a/nextjs-app/components/SchoolDetailView.module.css b/nextjs-app/components/SchoolDetailView.module.css index 9520bd5..dda5f48 100644 --- a/nextjs-app/components/SchoolDetailView.module.css +++ b/nextjs-app/components/SchoolDetailView.module.css @@ -980,19 +980,31 @@ } .admissionsVerdict { - margin-top: 1rem; - padding-top: 0.9rem; - border-top: 1px solid var(--border-color, #e5dfd5); - display: flex; - align-items: center; - gap: 0.6rem; - font-size: 0.85rem; - color: var(--text-secondary, #5c564d); - flex-wrap: wrap; + margin-top: 0.75rem; + margin-bottom: 0.25rem; } -.admissionsVerdictText { +.admissionsVerdictHeadline { + font-family: var(--font-playfair), 'Playfair Display', Georgia, serif; + font-size: 1.35rem; + font-weight: 700; + line-height: 1.2; + color: var(--text-primary, #1a1612); +} + +.admissionsVerdictOver { + color: var(--accent-coral-dark, #c45a3f); +} + +.admissionsVerdictUnder { + color: var(--accent-teal, #2d7d7d); +} + +.admissionsVerdictSub { + font-size: 0.8rem; + color: var(--text-muted, #6d685f); line-height: 1.4; + margin-top: 0.2rem; } @media (max-width: 480px) { diff --git a/nextjs-app/components/SchoolDetailView.tsx b/nextjs-app/components/SchoolDetailView.tsx index 27464fc..bcca711 100644 --- a/nextjs-app/components/SchoolDetailView.tsx +++ b/nextjs-app/components/SchoolDetailView.tsx @@ -788,6 +788,21 @@ export function SchoolDetailView({

How Hard to Get Into This School ({formatAcademicYear(admissions.year)})

+ {admissions.oversubscribed != null && ( +
+
+ This school is{' '} + + {admissions.oversubscribed ? 'oversubscribed' : 'not oversubscribed'} + + . +
+
+ {admissions.oversubscribed ? 'Demand exceeds capacity.' : 'Supply meets demand.'} +
+
+ )} +
{admissions.places_offered != null && (
@@ -825,17 +840,6 @@ export function SchoolDetailView({
)}
- - {admissions.oversubscribed != null && ( -
- - {admissions.oversubscribed ? 'Oversubscribed' : 'Not oversubscribed'} - - - {admissions.oversubscribed ? 'Demand exceeds capacity.' : 'Supply meets demand.'} - -
- )}
)}