From 8a6ff5a2c15422badf0bc9c8166787dc23a71072 Mon Sep 17 00:00:00 2001 From: Yuval Adam <_@yuv.al> Date: Mon, 23 Sep 2024 10:29:53 +0200 Subject: Move all geshem/ files to root --- app/components/config.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 app/components/config.tsx (limited to 'app/components/config.tsx') 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 -- cgit v1.3.1