-
Notifications
You must be signed in to change notification settings - Fork 9
/
config.js
31 lines (29 loc) · 900 Bytes
/
config.js
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
const currentYear = new Date().getFullYear()
const years = [currentYear, currentYear + 1]
const config = {
EVENT_SOURCE:
"https://cityscrapers.blob.core.windows.net/meetings-feed/upcoming.json",
REGION_OPTIONS: [
{ label: "Chicago", value: "chi" },
{ label: "Cook County", value: "cook" },
{ label: "Illinois", value: "il" },
],
MONTH_OPTIONS: [
{ label: "January", value: 0 },
{ label: "February", value: 1 },
{ label: "March", value: 2 },
{ label: "April", value: 3 },
{ label: "May", value: 4 },
{ label: "June", value: 5 },
{ label: "July", value: 6 },
{ label: "August", value: 7 },
{ label: "September", value: 8 },
{ label: "October", value: 9 },
{ label: "November", value: 10 },
{ label: "December", value: 11 },
],
YEAR_OPTIONS: years.map((y) => {
return { label: y, value: y }
}),
}
export default config