|
@@ -20,17 +20,22 @@ type Props = {
|
20
|
20
|
collapsibleStack: Collapsible,
|
21
|
21
|
theme: CustomTheme,
|
22
|
22
|
}
|
23
|
|
-const BIB_IMAGE = "https://scontent-cdg2-1.xx.fbcdn.net/v/t1.0-9/50695561_2124263197597162_2325349608210825216_n.jpg?_nc_cat=109&_nc_sid=8bfeb9&_nc_ohc=tmcV6FWO7_kAX9vfWHU&_nc_ht=scontent-cdg2-1.xx&oh=3b81c76e46b49f7c3a033ea3b07ec212&oe=5EC59B4D";
|
24
|
|
-const RU_IMAGE = "https://scontent-cdg2-1.xx.fbcdn.net/v/t1.0-9/47123773_2041883702501779_5289372776166064128_o.jpg?_nc_cat=100&_nc_sid=cdbe9c&_nc_ohc=dpuBGlIIy_EAX8CyC0l&_nc_ht=scontent-cdg2-1.xx&oh=5c5bb4f0c7f12b554246f7c9b620a5f3&oe=5EC4DB31";
|
25
|
|
-const ROOM_IMAGE = "https://scontent-cdt1-1.xx.fbcdn.net/v/t1.0-9/47041013_2043521689004647_316124496522117120_n.jpg?_nc_cat=103&_nc_sid=8bfeb9&_nc_ohc=bIp8OVJvvSEAX8mKnDZ&_nc_ht=scontent-cdt1-1.xx&oh=b4fef72a645804a849ad30e9e20fca12&oe=5EC29309";
|
26
|
|
-const EMAIL_IMAGE = "https://etud-mel.insa-toulouse.fr/webmail/images/logo-bluemind.png";
|
27
|
|
-const ENT_IMAGE = "https://ent.insa-toulouse.fr/media/org/jasig/portal/layout/tab-column/xhtml-theme/insa/institutional/LogoInsa.png";
|
28
|
23
|
|
29
|
|
-const PROXIMO_IMAGE = "https://etud.insa-toulouse.fr/~amicale_app/images/proximo-logo.png"
|
30
|
|
-const WIKETUD_LINK = "https://wiki.etud.insa-toulouse.fr/resources/assets/wiketud.png?ff051";
|
|
24
|
+const CLUBS_IMAGE = "https://etud.insa-toulouse.fr/~amicale_app/images/Clubs.png";
|
|
25
|
+const PROFILE_IMAGE = "https://etud.insa-toulouse.fr/~amicale_app/images/ProfilAmicaliste.png";
|
|
26
|
+const VOTE_IMAGE = "https://etud.insa-toulouse.fr/~amicale_app/images/";
|
31
|
27
|
const AMICALE_IMAGE = require("../../../assets/amicale.png");
|
32
|
|
-const EE_IMAGE = "https://etud.insa-toulouse.fr/~eeinsat/wp-content/uploads/2019/09/logo-blanc.png";
|
33
|
|
-const TUTORINSA_IMAGE = "https://www.etud.insa-toulouse.fr/~tutorinsa/public/images/logo-gray.png";
|
|
28
|
+
|
|
29
|
+const PROXIMO_IMAGE = "https://etud.insa-toulouse.fr/~amicale_app/images/Proximo.png"
|
|
30
|
+const WIKETUD_IMAGE = "https://etud.insa-toulouse.fr/~amicale_app/images/Wiketud.png";
|
|
31
|
+const EE_IMAGE = "https://etud.insa-toulouse.fr/~amicale_app/images/EEC.png";
|
|
32
|
+const TUTORINSA_IMAGE = "https://etud.insa-toulouse.fr/~amicale_app/images/TutorINSA.png";
|
|
33
|
+
|
|
34
|
+const BIB_IMAGE = "https://etud.insa-toulouse.fr/~amicale_app/images/Bib.png";
|
|
35
|
+const RU_IMAGE = "https://etud.insa-toulouse.fr/~amicale_app/images/RU.png";
|
|
36
|
+const ROOM_IMAGE = "https://etud.insa-toulouse.fr/~amicale_app/images/Salles.png";
|
|
37
|
+const EMAIL_IMAGE = "https://etud.insa-toulouse.fr/~amicale_app/images/Bluemind.png";
|
|
38
|
+const ENT_IMAGE = "https://etud.insa-toulouse.fr/~amicale_app/images/ENT.png";
|
34
|
39
|
|
35
|
40
|
export type listItem = {
|
36
|
41
|
title: string,
|
|
@@ -59,19 +64,25 @@ class ServicesScreen extends React.Component<Props, State> {
|
59
|
64
|
{
|
60
|
65
|
title: i18n.t('screens.clubsAbout'),
|
61
|
66
|
subtitle: "CLUB LIST",
|
62
|
|
- image: AMICALE_IMAGE,
|
|
67
|
+ image: CLUBS_IMAGE,
|
63
|
68
|
onPress: () => nav.navigate("club-list"),
|
64
|
69
|
},
|
65
|
70
|
{
|
66
|
71
|
title: i18n.t('screens.profile'),
|
67
|
72
|
subtitle: "PROFIL",
|
68
|
|
- image: AMICALE_IMAGE,
|
|
73
|
+ image: PROFILE_IMAGE,
|
69
|
74
|
onPress: () => nav.navigate("profile"),
|
70
|
75
|
},
|
71
|
76
|
{
|
|
77
|
+ title: i18n.t('screens.amicaleWebsite'),
|
|
78
|
+ subtitle: "AMICALE",
|
|
79
|
+ image: AMICALE_IMAGE,
|
|
80
|
+ onPress: () => nav.navigate("amicale-website"),
|
|
81
|
+ },
|
|
82
|
+ {
|
72
|
83
|
title: i18n.t('screens.vote'),
|
73
|
84
|
subtitle: "ELECTIONS",
|
74
|
|
- image: AMICALE_IMAGE,
|
|
85
|
+ image: VOTE_IMAGE,
|
75
|
86
|
onPress: () => nav.navigate("vote"),
|
76
|
87
|
},
|
77
|
88
|
];
|
|
@@ -83,15 +94,9 @@ class ServicesScreen extends React.Component<Props, State> {
|
83
|
94
|
onPress: () => nav.navigate("proximo"),
|
84
|
95
|
},
|
85
|
96
|
{
|
86
|
|
- title: i18n.t('screens.amicaleWebsite'),
|
87
|
|
- subtitle: "AMICALE",
|
88
|
|
- image: AMICALE_IMAGE,
|
89
|
|
- onPress: () => nav.navigate("amicale-website"),
|
90
|
|
- },
|
91
|
|
- {
|
92
|
97
|
title: "Wiketud",
|
93
|
98
|
subtitle: "wiketud",
|
94
|
|
- image: WIKETUD_LINK,
|
|
99
|
+ image: WIKETUD_IMAGE,
|
95
|
100
|
onPress: () => nav.navigate("wiketud"),
|
96
|
101
|
},
|
97
|
102
|
{
|
|
@@ -201,7 +206,7 @@ class ServicesScreen extends React.Component<Props, State> {
|
201
|
206
|
return <Avatar.Image
|
202
|
207
|
{...props}
|
203
|
208
|
size={48}
|
204
|
|
- source={AMICALE_IMAGE}
|
|
209
|
+ source={source}
|
205
|
210
|
style={{backgroundColor: 'transparent'}}
|
206
|
211
|
/>
|
207
|
212
|
else
|