Uptime Monitor
mapcn/uptime-monitorFreeBlock
Status-page style map of edge network locations with live health, latency, and uptime.
Install it
npx shadcn@latest add https://mapcn.dev/r/uptime-monitor.jsonSource
1"use client";23import { Map, MapControls, MapGeoJSON } from "@/components/ui/map";4import { EdgeNodeMarker } from "./components/edge-node-marker";5import { StatusSidebar } from "./components/status-sidebar";6import { edgeNodes, mapView, WORLD_GEOJSON } from "./data";78export default function Page() {9 return (10 <div className="flex min-h-screen items-center justify-center p-4">11 <div className="bg-card flex h-[500px] w-full max-w-4xl overflow-hidden rounded-xl border shadow-sm">12 <StatusSidebar nodes={edgeNodes} />1314 <div className="relative min-w-0 flex-1">15 <Map16 blank17 center={mapView.center}18 zoom={mapView.zoom}19 minZoom={mapView.minZoom}20 maxZoom={mapView.maxZoom}21 scrollZoom={false}22 dragRotate={false}23 pitchWithRotate={false}24 >25 <MapGeoJSON data={WORLD_GEOJSON} linePaint={false} />2627 {edgeNodes.map((node) => (28 <EdgeNodeMarker key={node.id} node={node} />29 ))}3031 <MapControls className="bottom-2" />32 </Map>33 </div>34 </div>35 </div>36 );37}
What it pulls in
npm packages
Other registry items
Files it writes
More from mapcn
All 9 items| Component | Registry | Kind | Access | Installs | Command |
|---|---|---|---|---|---|
| Analytics Cardanalytics-card | mapcn | Blocks | Free | 1 dep · 2 files | |
| Analytics Mapanalytics-map | mapcn | Blocks | Free | 2 deps · 4 files | |
| Choroplethchoropleth | mapcn | Blocks | Free | 2 deps · 3 files | |
| Delivery Trackerdelivery-tracker | mapcn | Blocks | Free | 1 dep · 2 files | |
| Heatmapheatmap | mapcn | Blocks | Free | no deps | |
| Logistics Networklogistics-network | mapcn | Blocks | Free | 1 dep · 4 files | |
| Store Locatorstore-locator | mapcn | Blocks | Free | 1 dep · 4 files |
