-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbase.ts
179 lines (173 loc) · 5.78 KB
/
base.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
import {
blue,
brown,
green,
lime,
orange,
pink,
purple,
red,
teal,
yellow,
} from "@mui/material/colors";
const BASE_WEB_URL: string =
process.env.NEXT_PUBLIC_NODE_ENV === "dev"
? "http://localhost:3000"
: "https://findatime.thevedanta.me";
const months: string[] = [
"January",
"February",
"March",
"April",
"May",
"June",
"July",
"August",
"September",
"October",
"November",
"December",
];
const days: string[] = [
"Sunday",
"Monday",
"Tuesday",
"Wednesday",
"Thursday",
"Friday",
"Saturday",
];
let slots: string[] = [
"7AM",
"8AM",
"9AM",
"10AM",
"11AM",
"12PM",
"1PM",
"2PM",
"3PM",
"4PM",
"5PM",
"6PM",
"7PM",
"8PM",
"9PM",
"10PM",
"11PM",
"12AM",
"1AM",
"2AM",
"3AM",
"4AM",
"5AM",
"6AM",
];
const colors: string[] = [
orange[500],
blue[500],
red[500],
purple[500],
yellow[800],
green[500],
pink[500],
lime[700],
teal[500],
brown[500],
];
const tzs = [
{ label: "(GMT-12:00) International Date Line West", value: "-12" },
{ label: "(GMT-11:00) Midway Island, Samoa", value: "-11" },
{ label: "(GMT-10:00) Hawaii", value: "-10" },
{ label: "(GMT-09:00) Alaska", value: "-9" },
{ label: "(GMT-08:00) Pacific Time (US & Canada)", value: "-8" },
{ label: "(GMT-08:00) Tijuana, Baja California", value: "-8" },
{ label: "(GMT-07:00) Arizona", value: "-7" },
{ label: "(GMT-07:00) Chihuahua, La Paz, Mazatlan", value: "-7" },
{ label: "(GMT-07:00) Mountain Time (US & Canada)", value: "-7" },
{ label: "(GMT-06:00) Central America", value: "-6" },
{ label: "(GMT-06:00) Central Time (US & Canada)", value: "-6" },
{ label: "(GMT-05:00) Bogota, Lima, Quito, Rio Branco", value: "-5" },
{ label: "(GMT-05:00) Eastern Time (US & Canada)", value: "-5" },
{ label: "(GMT-05:00) Indiana (East)", value: "-5" },
{ label: "(GMT-04:00) Atlantic Time (Canada)", value: "-4" },
{ label: "(GMT-04:00) Caracas, La Paz", value: "-4" },
{ label: "(GMT-04:00) Manaus", value: "-4" },
{ label: "(GMT-04:00) Santiago", value: "-4" },
{ label: "(GMT-03:30) Newfoundland", value: "-3.5" },
{ label: "(GMT-03:00) Brasilia", value: "-3" },
{ label: "(GMT-03:00) Buenos Aires, Georgetown", value: "-3" },
{ label: "(GMT-03:00) Greenland", value: "-3" },
{ label: "(GMT-03:00) Montevideo", value: "-3" },
{ label: "(GMT-02:00) Mid-Atlantic", value: "-2" },
{ label: "(GMT-01:00) Cape Verde Is.", value: "-1" },
{ label: "(GMT-01:00) Azores", value: "-1" },
{ label: "(GMT+00:00) Casablanca, Monrovia, Reykjavik", value: "0" },
{
label:
"(GMT+00:00) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London",
value: "0",
},
{
label: "(GMT+01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna",
value: "1",
},
{
label: "(GMT+01:00) Belgrade, Bratislava, Budapest, Ljubljana, Prague",
value: "1",
},
{ label: "(GMT+01:00) Brussels, Copenhagen, Madrid, Paris", value: "1" },
{ label: "(GMT+01:00) Sarajevo, Skopje, Warsaw, Zagreb", value: "1" },
{ label: "(GMT+01:00) West Central Africa", value: "1" },
{ label: "(GMT+02:00) Amman", value: "2" },
{ label: "(GMT+02:00) Athens, Bucharest, Istanbul", value: "2" },
{ label: "(GMT+02:00) Beirut", value: "2" },
{ label: "(GMT+02:00) Cairo", value: "2" },
{ label: "(GMT+02:00) Harare, Pretoria", value: "2" },
{
label: "(GMT+02:00) Helsinki, Kyiv, Riga, Sofia, Tallinn, Vilnius",
value: "2",
},
{ label: "(GMT+02:00) Jerusalem", value: "2" },
{ label: "(GMT+02:00) Minsk", value: "2" },
{ label: "(GMT+02:00) Windhoek", value: "2" },
{ label: "(GMT+03:00) Kuwait, Riyadh, Baghdad", value: "3" },
{ label: "(GMT+03:00) Moscow, St. Petersburg, Volgograd", value: "3" },
{ label: "(GMT+03:00) Nairobi", value: "3" },
{ label: "(GMT+03:00) Tbilisi", value: "3" },
{ label: "(GMT+03:30) Tehran", value: "3.5" },
{ label: "(GMT+04:00) Abu Dhabi, Muscat", value: "4" },
{ label: "(GMT+04:00) Baku", value: "4" },
{ label: "(GMT+04:00) Yerevan", value: "4" },
{ label: "(GMT+04:30) Kabul", value: "4.5" },
{ label: "(GMT+05:00) Yekaterinburg", value: "5" },
{ label: "(GMT+05:00) Islamabad, Karachi, Tashkent", value: "5" },
{ label: "(GMT+05:30) Sri Jayawardenapura", value: "5.5" },
{ label: "(GMT+05:30) Chennai, Kolkata, Mumbai, New Delhi", value: "5.5" },
{ label: "(GMT+05:45) Kathmandu", value: "5.75" },
{ label: "(GMT+06:00) Almaty, Novosibirsk", value: "6" },
{ label: "(GMT+06:00) Astana, Dhaka", value: "6" },
{ label: "(GMT+06:30) Yangon (Rangoon)", value: "6.5" },
{ label: "(GMT+07:00) Bangkok, Hanoi, Jakarta", value: "7" },
{ label: "(GMT+07:00) Krasnoyarsk", value: "7" },
{ label: "(GMT+08:00) Beijing, Chongqing, Hong Kong, Urumqi", value: "8" },
{ label: "(GMT+08:00) Kuala Lumpur, Singapore", value: "8" },
{ label: "(GMT+08:00) Irkutsk, Ulaan Bataar", value: "8" },
{ label: "(GMT+08:00) Perth", value: "8" },
{ label: "(GMT+08:00) Taipei", value: "8" },
{ label: "(GMT+09:00) Osaka, Sapporo, Tokyo", value: "9" },
{ label: "(GMT+09:00) Seoul", value: "9" },
{ label: "(GMT+09:00) Yakutsk", value: "9" },
{ label: "(GMT+09:30) Adelaide", value: "9.5" },
{ label: "(GMT+09:30) Darwin", value: "9.5" },
{ label: "(GMT+10:00) Brisbane", value: "10" },
{ label: "(GMT+10:00) Canberra, Melbourne, Sydney", value: "10" },
{ label: "(GMT+10:00) Hobart", value: "10" },
{ label: "(GMT+10:00) Guam, Port Moresby", value: "10" },
{ label: "(GMT+10:00) Vladivostok", value: "10" },
{ label: "(GMT+11:00) Magadan, Solomon Is., New Caledonia", value: "11" },
{ label: "(GMT+12:00) Auckland, Wellington", value: "12" },
{ label: "(GMT+12:00) Fiji, Kamchatka, Marshall Is.", value: "12" },
{ label: "(GMT+13:00) Nuku'alofa", value: "13" },
];
export { BASE_WEB_URL, months, days, slots, colors, tzs };