generated from digital-product-jam-2023/template-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.js
78 lines (78 loc) · 1.71 KB
/
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
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
export const SUPABASE_URL = process.env.SUPABASE_URL;
export const SUPABASE_SERVICE_KEY = process.env.SUPABASE_SERVICE_KEY;
export const API_BASE = "/api";
export const API_DATA_ENDPOINT = `${API_BASE}/data`;
export const API_SESSIONS_ENDPOINT = `${API_BASE}/sessions`;
export const API_TEAMS_ENDPOINT = `${API_BASE}/teams`;
export const DEFAULT_BACKGROUND_COLOR = "#FFFFFF";
export const BACKGROUND_COLORS = [
"#8D8D93",
"#0028B6",
"#DB6E4C",
"#AFDB00",
"#616A3D",
"#8654D7",
"#7688C8",
"#74AB73",
"#EAAB31",
"#E86216",
"#C28563",
"#FF8896",
"#51CDDE",
"#00442F",
"#A83434",
"#BEB063",
];
export const STATE_DESCRIPTORS = [
{
action: {
id: "show-students",
text: "טען סטודנטים",
disabled: false,
},
cycleBackground: true,
next: 1,
},
{
action: {
id: "select-students",
text: "צור קבוצה",
disabled: false,
},
cycleBackground: true,
next: 2,
},
{
action: {
id: "select-concept",
text: "צור משפט",
disabled: true,
},
cycleBackground: true,
next: 3,
},
{
action: {
id: "next-team",
text: "לקבוצה הבאה",
disabled: false,
},
cycleBackground: true,
next: 1,
},
{
action: {
id: "final",
text: "בהצלחה!",
disabled: false,
},
cycleBackground: false,
next: 0,
},
];
export const STATE_TRANSITION_ANIMATION_DURATION = 1800;
export const FINAL_STATE_NEXT = 4;
export const FINAL_STATE_ACTION_TEXT = "לרשימה המלאה";
export const BUTTON_DISABLED_ACTION_TEXT = "טוען ...";
export const RERUN_CONCEPT_ACTION_ID = "rerun-concept";
export const RERUN_CONCEPT_ACTION_TEXT = "רוצים שוב";