|
@@ -24,27 +24,13 @@ export default class AprilFoolsManager {
|
24
|
24
|
AprilFoolsManager.instance;
|
25
|
25
|
}
|
26
|
26
|
|
27
|
|
- static getFakeEvent() {
|
28
|
|
- return {
|
29
|
|
- category_id: 1,
|
30
|
|
- club: "Coucou",
|
31
|
|
- date_begin: "2020-04-01 20:30:00",
|
32
|
|
- date_end: "2020-04-01 23:59:00",
|
33
|
|
- description: "Trop génial",
|
34
|
|
- id: "-1",
|
35
|
|
- logo: null,
|
36
|
|
- title: "Super event trop whoaou",
|
37
|
|
- url: null
|
38
|
|
- };
|
39
|
|
- }
|
40
|
|
-
|
41
|
27
|
static getFakeMenuItem(menu: Object) {
|
42
|
28
|
if (menu[1]["dishes"].length >= 3) {
|
43
|
|
- menu[1]["dishes"].splice(0, 0, {name: "Truc à la con"});
|
44
|
|
- menu[1]["dishes"].splice(2, 0, {name: "Autre truc à la con"});
|
|
29
|
+ menu[1]["dishes"].splice(0, 0, {name: "Coq au vin"});
|
|
30
|
+ menu[1]["dishes"].splice(2, 0, {name: "Pave de loup"});
|
45
|
31
|
} else {
|
46
|
|
- menu[1]["dishes"].push({name: "Truc à la con"});
|
47
|
|
- menu[1]["dishes"].push({name: "Autre truc à la con"});
|
|
32
|
+ menu[1]["dishes"].push({name: "Coq au vin"});
|
|
33
|
+ menu[1]["dishes"].push({name: "Pave de loup"});
|
48
|
34
|
}
|
49
|
35
|
return menu;
|
50
|
36
|
}
|
|
@@ -54,13 +40,13 @@ export default class AprilFoolsManager {
|
54
|
40
|
...currentTheme,
|
55
|
41
|
colors: {
|
56
|
42
|
...currentTheme.colors,
|
57
|
|
- primary: '#bebe03',
|
58
|
|
- accent: '#bebe03',
|
59
|
|
- background: '#5b3e02',
|
60
|
|
- tabBackground: "#5b3e02",
|
61
|
|
- card: "#5b3e02",
|
62
|
|
- surface: "#5b3e02",
|
63
|
|
- dividerBackground: '#362201',
|
|
43
|
+ primary: '#00be45',
|
|
44
|
+ accent: '#00be45',
|
|
45
|
+ background: '#50005b',
|
|
46
|
+ tabBackground: "#50005b",
|
|
47
|
+ card: "#50005b",
|
|
48
|
+ surface: "#50005b",
|
|
49
|
+ dividerBackground: '#3e0047',
|
64
|
50
|
textDisabled: '#b9b9b9',
|
65
|
51
|
|
66
|
52
|
// Calendar/Agenda
|