summaryrefslogtreecommitdiff
path: root/app/components/config.tsx
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2024-09-23 10:29:53 +0200
committerYuval Adam <_@yuv.al>2024-09-23 10:29:53 +0200
commit8a6ff5a2c15422badf0bc9c8166787dc23a71072 (patch)
treeda45cc6fc598520102260da87c3733107ef4e980 /app/components/config.tsx
parent51370d591d4f2ac4eddd8b2ea2f9c5118fbf9ab1 (diff)
Move all geshem/ files to root
Diffstat (limited to 'app/components/config.tsx')
-rw-r--r--app/components/config.tsx19
1 files changed, 19 insertions, 0 deletions
diff --git a/app/components/config.tsx b/app/components/config.tsx
new file mode 100644
index 0000000..4dc3d6a
--- /dev/null
+++ b/app/components/config.tsx
@@ -0,0 +1,19 @@
+const hostname = window !== undefined && window.location && window.location.hostname;
+
+const PRODUCTION = hostname && hostname.includes("geshem");
+
+export const IMAGES_BASE_URL = PRODUCTION ? "https://imgs.geshem.space" : "";
+
+export const MAPBOX_ACCESS_TOKEN =
+ "pk.eyJ1IjoieXV2YWRtIiwiYSI6ImNpcnMxbzBuaTAwZWdoa25oczlzZmkwbHcifQ.UHtLngbKm9O8945pJm23Nw";
+
+export const IMAGE_COORDINATES = [
+ [31.7503896894, 34.4878044232],
+ [37.8574239563, 34.5078463729],
+ [37.7157066403, 29.4538271687],
+ [31.9347389087, 29.4373462909]
+];
+
+export const PLAYBACK_HOURS = 2;
+
+export const PLAYBACK_SLOTS = (PLAYBACK_HOURS * 6) - 1; \ No newline at end of file