style: move map up by adjusting center coordinate

This commit is contained in:
Usman Baig
2026-01-16 21:09:58 +01:00
parent 68e5e947e2
commit 9e682a8277

View File

@@ -45,7 +45,7 @@ const WorldMap = ({ data }: WorldMapProps) => {
return (
<div className="relative w-full h-[300px] overflow-hidden">
<ComposableMap projectionConfig={{ rotate: [-10, 0, 0], scale: 160, center: [0, 20] }}>
<ComposableMap projectionConfig={{ rotate: [-10, 0, 0], scale: 160, center: [0, 30] }}>
<ZoomableGroup maxZoom={1} translateExtent={[[0, 0], [800, 600]]}>
<Geographies geography={geoUrl}>
{({ geographies }) =>