Files
micromelon-website/src/components/SchoolMapLoader.tsx
Tim Hadwen bb2a56e7c1
Some checks failed
Build and Deploy / deploy (push) Has been cancelled
Add interactive school map to homepage
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>
2026-03-06 22:37:37 +10:00

15 lines
317 B
TypeScript

"use client";
import dynamic from "next/dynamic";
const SchoolMap = dynamic(() => import("@/components/SchoolMap"), {
ssr: false,
loading: () => (
<div className="h-[400px] w-full animate-pulse bg-foreground/5 sm:h-[480px]" />
),
});
export default function SchoolMapLoader() {
return <SchoolMap />;
}