From 44a1c5b7e62e83af4d670e011f5998b9b8aedfef Mon Sep 17 00:00:00 2001
From: Yuval Adam <_@yuv.al>
Date: Mon, 29 Aug 2022 10:24:51 +0300
Subject: Update all .tsx files and remove unused

---
 src/config.tsx | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 src/config.tsx

(limited to 'src/config.tsx')

diff --git a/src/config.tsx b/src/config.tsx
new file mode 100644
index 0000000..f74382c
--- /dev/null
+++ b/src/config.tsx
@@ -0,0 +1,17 @@
+const hostname = window && window.location && window.location.hostname;
+
+const PRODUCTION = hostname.includes("geshem");
+
+const IMAGES_BASE_URL = PRODUCTION ? "https://imgs.geshem.space" : "";
+
+const MAPBOX_ACCESS_TOKEN =
+  "pk.eyJ1IjoieXV2YWRtIiwiYSI6ImNpcnMxbzBuaTAwZWdoa25oczlzZmkwbHcifQ.UHtLngbKm9O8945pJm23Nw";
+
+const IMAGE_COORDINATES = [
+  [31.7503896894, 34.4878044232],
+  [37.8574239563, 34.5078463729],
+  [37.7157066403, 29.4538271687],
+  [31.9347389087, 29.4373462909]
+];
+
+module.exports = { IMAGES_BASE_URL, MAPBOX_ACCESS_TOKEN, IMAGE_COORDINATES };
-- 
cgit v1.3.1

