From 696793361201eda5ca7b501c5170986caa53fb47 Mon Sep 17 00:00:00 2001 From: bagas Date: Sat, 6 Sep 2025 21:35:57 +0700 Subject: [PATCH] feat: add Frankfurt coordinates to the map --- components/tunnel-config.tsx | 54 ++++++++++++++++++++---------------- components/world-map.tsx | 15 +++++++--- 2 files changed, 41 insertions(+), 28 deletions(-) diff --git a/components/tunnel-config.tsx b/components/tunnel-config.tsx index f6a8693..19e0e65 100644 --- a/components/tunnel-config.tsx +++ b/components/tunnel-config.tsx @@ -51,6 +51,20 @@ const fetchServers = async (): Promise => { tcp: false, }, }, + { + id: "eu", + name: "Europe", + location: "Frankfurt", + subdomain: "eu.tunnl.live", + coordinates: [8.6821, 50.1109], + ping: null, + status: "online", + pingStatus: "idle", + capabilities: { + http: true, + tcp: false, + }, + }, { id: "sgp", name: "Singapore", @@ -646,19 +660,17 @@ export default function TunnelConfig({ config, onConfigChange, selectedServer, o onServerSelect(server) } }} - className={`p-3 rounded-lg border transition-all duration-200 ${ - selectedServer?.id === server.id + className={`p-3 rounded-lg border transition-all duration-200 ${selectedServer?.id === server.id ? "bg-emerald-950 border-emerald-500" : !canSelect ? "bg-red-950 border-red-800 cursor-not-allowed opacity-75" : "bg-gray-800 border-gray-700 hover:border-gray-600 cursor-pointer" - }`} + }`} >
{server.name}

{server.location}

@@ -733,9 +745,8 @@ export default function TunnelConfig({ config, onConfigChange, selectedServer, o