From 39407ac8b0acb23b86e688b81f84cdf7af5a1ea4 Mon Sep 17 00:00:00 2001 From: Rainnny7 Date: Fri, 26 Apr 2024 21:12:12 -0400 Subject: [PATCH] Frontend: Show the country of a server in the result --- Frontend/bun.lockb | Bin 352216 -> 352216 bytes Frontend/next.config.mjs | 4 ++ Frontend/package.json | 2 +- .../app/components/server/server-result.tsx | 36 +++++++++++++----- 4 files changed, 32 insertions(+), 10 deletions(-) diff --git a/Frontend/bun.lockb b/Frontend/bun.lockb index d30217f8ed84954985a215331354e99084c22d1d..c32607ddbfe862258d9325c25f6946a0ede7c176 100644 GIT binary patch delta 162 zcmV;T0A2sszZKZO6_73s zlSn);gE)M*ID7$hA3#7IMrGcF8i6B9KIe;kFXj>8STD}TLOdeEMS&V%$VT8gj049E zg3`N^V6nu*aa`J4U?b6q={O4auyXGYJ+X)Fn*q1&n*!k42Lb>900000htzfhx72n7 Q?<|)hAq60}E~KO!GYRU?l4Gs zlSoZ4gE)M*ID7$hA3(f*G9q}^5XZ>fG77G1Ko`J&oB0RE_2@>UP40x3OxT@Md>-7( zHDetMoe87cDK7?gb>mwW*#lcl{<|PCTtA2Hn*q1&n*!k42LWC&E-@}Mhtzfhx72n7 Q?<|+|rUW3j { - {/* Raw Json */} - } - > - {JSON.stringify(server, undefined, 4)} - + {/* Country & Raw Json */} +
+ {/* Server Geo Location */} + {server.geo && ( + + {`Country + + )} + + {/* Raw Json */} + } + > + {JSON.stringify(server, undefined, 4)} + +
); };