2026-02-02 20:34:35 +00:00
|
|
|
/**
|
|
|
|
|
* Footer Component
|
|
|
|
|
* Site footer with links and info
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
import styles from './Footer.module.css';
|
|
|
|
|
|
|
|
|
|
export function Footer() {
|
|
|
|
|
const currentYear = new Date().getFullYear();
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<footer className={styles.footer}>
|
|
|
|
|
<div className={styles.container}>
|
|
|
|
|
<div className={styles.content}>
|
|
|
|
|
<div className={styles.section}>
|
|
|
|
|
<h3 className={styles.title}>SchoolCompare</h3>
|
|
|
|
|
<p className={styles.description}>
|
feat: add secondary school support with KS4 data and metric tooltips
- Backend: replace INNER JOIN ks2 with UNION ALL (ks2 + ks4) so primary
and secondary schools both appear in the main DataFrame
- Backend: add /api/national-averages endpoint computing means from live
data, replacing the hardcoded NATIONAL_AVG constant on the frontend
- Backend: add phase filter param to /api/schools; return phases from
/api/filters; fix hardcoded "phase": "Primary" in school detail endpoint
- Backend: add KS4 metric definitions (Attainment 8, Progress 8, EBacc,
English & Maths pass rates) to METRIC_DEFINITIONS and RANKING_COLUMNS
- Frontend: SchoolDetailView is now phase-aware — secondary schools show
a GCSE Results section (Att8, P8, E&M, EBacc) instead of SATs; phonics
tab hidden for secondary; admissions says Year 7 instead of Year 3;
history table shows KS4 columns; chart datasets switch for secondary
- Frontend: new MetricTooltip component (CSS-only ⓘ icon) backed by
METRIC_EXPLANATIONS — added to RWM, GPS, SEN, EAL, IDACI, progress
scores and all KS4 metrics throughout SchoolDetailView and SchoolCard
- Frontend: METRIC_EXPLANATIONS extended with KS4 terms (Attainment 8,
Progress 8, EBacc) and previously missing terms (SEN, EHCP, EAL, IDACI)
- Frontend: SchoolCard expands "RWM" to "Reading, Writing & Maths" and
shows Attainment 8 / English & Maths Grade 4+ for secondary schools
- Frontend: FilterBar adds Phase dropdown (Primary / Secondary / All-through)
- Frontend: HomeView hero copy updated; compact list shows phase-aware metric
- Global metadata updated to remove "primary only" framing
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-03-28 14:59:40 +00:00
|
|
|
Compare primary and secondary schools across England.
|
2026-02-02 20:34:35 +00:00
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className={styles.section}>
|
|
|
|
|
<h4 className={styles.sectionTitle}>Resources</h4>
|
|
|
|
|
<ul className={styles.links}>
|
|
|
|
|
<li>
|
|
|
|
|
<a
|
|
|
|
|
href="https://www.gov.uk/government/organisations/department-for-education"
|
|
|
|
|
target="_blank"
|
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
|
className={styles.link}
|
|
|
|
|
>
|
|
|
|
|
Department for Education
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<a
|
|
|
|
|
href="https://www.gov.uk/school-performance-tables"
|
|
|
|
|
target="_blank"
|
|
|
|
|
rel="noopener noreferrer"
|
|
|
|
|
className={styles.link}
|
|
|
|
|
>
|
|
|
|
|
School Performance Tables
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<div className={styles.bottom}>
|
|
|
|
|
<p className={styles.copyright}>
|
2026-02-03 10:11:23 +00:00
|
|
|
© {currentYear} SchoolCompare.co.uk
|
2026-02-02 20:34:35 +00:00
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</footer>
|
|
|
|
|
);
|
|
|
|
|
}
|