forked from emre/www_projectmycelium_com
Replace static actual grid data
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"use client";
|
||||
import { useEffect, useState } from "react";
|
||||
import WorldMap from "@/components/ui/world-map";
|
||||
import DynamicMapContainer from "@/components/ui/DynamicMapContainer";
|
||||
import { Eyebrow, H3, P } from "@/components/Texts";
|
||||
|
||||
type StatKey = "cores" | "nodes" | "ssd" | "countries";
|
||||
@@ -112,16 +112,7 @@ Configure it once. Your node takes over from there.
|
||||
<div className="max-w-7xl mx-auto border border-t-0 border-b-0 border-gray-800 ">
|
||||
{/* ✅ Match same side margins */}
|
||||
<div className="max-w-5xl mx-auto px-6 ">
|
||||
<WorldMap
|
||||
dots={[
|
||||
{ start: { lat: 64.2008, lng: -149.4937 }, end: { lat: 34.0522, lng: -118.2437 } }, // Alaska → LA
|
||||
{ start: { lat: 64.2008, lng: -149.4937 }, end: { lat: -15.7975, lng: -47.8919 } }, // Alaska → Brasília
|
||||
{ start: { lat: -15.7975, lng: -47.8919 }, end: { lat: 38.7223, lng: -9.1393 } }, // Brasília → Lisbon
|
||||
{ start: { lat: 51.5074, lng: -0.1278 }, end: { lat: 28.6139, lng: 77.209 } }, // London → New Delhi
|
||||
{ start: { lat: 28.6139, lng: 77.209 }, end: { lat: 43.1332, lng: 131.9113 } }, // New Delhi → Vladivostok
|
||||
{ start: { lat: 28.6139, lng: 77.209 }, end: { lat: -1.2921, lng: 36.8219 } }, // New Delhi → Nairobi
|
||||
]}
|
||||
/>
|
||||
<DynamicMapContainer />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user