Add map view for location search results
All checks were successful
Build and Push Docker Images / Build Backend (FastAPI) (push) Successful in 34s
Build and Push Docker Images / Build Frontend (Next.js) (push) Successful in 1m13s
Build and Push Docker Images / Trigger Portainer Update (push) Successful in 0s

Implemented split-view map layout for postcode searches:
- List/Map toggle appears when doing location search
- Map view shows interactive map with school markers on left
- Compact school list on right with distance badges, stats, actions
- Mobile responsive: stacks vertically with map on top
- Updated School type to include distance and total_pupils fields

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
Tudor
2026-02-04 10:05:31 +00:00
parent ea6820f1c4
commit 1b0d6edb98
4 changed files with 389 additions and 16 deletions

View File

@@ -19,9 +19,9 @@
.spinner {
width: 2rem;
height: 2rem;
border: 3px solid rgba(59, 130, 246, 0.3);
border: 3px solid rgba(224, 114, 86, 0.3);
border-radius: 50%;
border-top-color: var(--primary);
border-top-color: var(--accent-coral, #e07256);
animation: spin 0.8s linear infinite;
}