summaryrefslogtreecommitdiff
path: root/geshem/app/components/config.tsx
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2024-09-23 10:10:19 +0200
committerYuval Adam <_@yuv.al>2024-09-23 10:10:19 +0200
commitaf060f85a7bc13a5bb05e453c411f5807589e6c6 (patch)
tree8527870ee8daaf3fa30bde7dd7090c647b706144 /geshem/app/components/config.tsx
parentbefc9ba3e4a9b24cdd0397663c04c98688d98d9b (diff)
Move most components into new path
Diffstat (limited to 'geshem/app/components/config.tsx')
-rw-r--r--geshem/app/components/config.tsx19
1 files changed, 19 insertions, 0 deletions
diff --git a/geshem/app/components/config.tsx b/geshem/app/components/config.tsx
new file mode 100644
index 0000000..4dc3d6a
--- /dev/null
+++ b/geshem/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