Add interactive school map to homepage
Some checks failed
Build and Deploy / deploy (push) Has been cancelled

Replace the text list of schools with a Leaflet map showing anonymous
orange pins for 110 customer schools across Australia. Includes build-time
Airtable fetch script with Nominatim geocoding and gradient glow effect
on clustered pins.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Tim Hadwen
2026-03-06 22:37:37 +10:00
parent 2dfdefbdf4
commit bb2a56e7c1
10 changed files with 1501 additions and 23 deletions

View File

@@ -6,18 +6,22 @@
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "eslint"
"lint": "eslint",
"fetch-schools": "npx tsx scripts/fetch-schools.ts"
},
"dependencies": {
"gray-matter": "^4.0.3",
"leaflet": "^1.9.4",
"next": "16.1.6",
"next-mdx-remote": "^6.0.0",
"react": "19.2.3",
"react-dom": "19.2.3",
"react-leaflet": "^5.0.0",
"stripe": "^20.4.0"
},
"devDependencies": {
"@tailwindcss/postcss": "^4",
"@types/leaflet": "^1.9.21",
"@types/node": "^20",
"@types/react": "^19",
"@types/react-dom": "^19",