Beautiful map components. 100% Free, Zero config, one command setup.
TypeScript
homepage example grid fix
Anmola2bec64dcc43
diff --git a/AGENTS.md b/AGENTS.mdindex aa44e7c..fab9588 100644--- a/AGENTS.md+++ b/AGENTS.md@@ -80,7 +80,7 @@ src/- Generous, consistent white space; let layouts breathe rather than packing elements tightly- Clear typographic hierarchy - Geist Sans for UI/prose, Geist Mono for code/labels; use size, weight, and muted-foreground (not color) to establish hierarchy- Radius: `0.625rem` base with computed variants-- Animations: `fade-up`, `fade-in`, `scale-in` with staggered delays (85ms intervals)+- Animations: `fade-up`, `fade-in`, `scale-in` with staggered delays (100ms intervals)- Header: sticky, backdrop-blur, gradient bottom border- Footer: gradient top border matching header@@ -92,4 +92,3 @@ npm run build # Production buildnpm run lint # ESLintnpm run registry:build # Build distributable registry to public/r/```-diff --git a/src/app/(main)/(home)/_components/examples/arc-example.tsx b/src/app/(main)/(home)/_components/examples/arc-example.tsxindex 1764994..cf3bde1 100644--- a/src/app/(main)/(home)/_components/examples/arc-example.tsx+++ b/src/app/(main)/(home)/_components/examples/arc-example.tsx@@ -27,7 +27,7 @@ const arcs = destinations.map((dest) => ({export function ArcExample() {return (- <ExampleCard className="aspect-square" stagger={8}>+ <ExampleCard className="aspect-square" stagger={6}><Mapcenter={[-0.1276, 41.5074]}zoom={1}diff --git a/src/app/(main)/(home)/_components/examples/flyto-example.tsx b/src/app/(main)/(home)/_components/examples/flyto-example.tsxindex 775d987..91f5076 100644--- a/src/app/(main)/(home)/_components/examples/flyto-example.tsx+++ b/src/app/(main)/(home)/_components/examples/flyto-example.tsx@@ -30,7 +30,7 @@ export function FlyToExample() {const active = destinations[activeIndex];return (- <ExampleCard className="aspect-square" stagger={6}>+ <ExampleCard className="aspect-square" stagger={8}><Mapref={mapRef}center={active.center}diff --git a/src/styles/globals.css b/src/styles/globals.cssindex 2cf5d10..0d4d287 100644--- a/src/styles/globals.css+++ b/src/styles/globals.css@@ -158,7 +158,7 @@@keyframes fade-up {from {opacity: 0;- transform: translateY(12px);+ transform: translateY(10px);}to {opacity: 1;@@ -200,7 +200,7 @@.animate-stagger {--stagger: 0;- --delay: 85ms;+ --delay: 100ms;animation-delay: calc(var(--stagger) * var(--delay));}@@ -239,15 +239,15 @@ code {}code .line::before {- font-size: var(--text-sm);- counter-increment: step;- content: counter(step);- display: inline-block;- width: calc(var(--spacing) * 16);- padding-right: calc(var(--spacing) * 6);- text-align: right;- color: var(--color-code-number);- background-color: var(--color-code);- position: sticky;- left: 0;+ font-size: var(--text-sm);+ counter-increment: step;+ content: counter(step);+ display: inline-block;+ width: calc(var(--spacing) * 16);+ padding-right: calc(var(--spacing) * 6);+ text-align: right;+ color: var(--color-code-number);+ background-color: var(--color-code);+ position: sticky;+ left: 0;}