Added tutor insa link in sidebar

This commit is contained in:
keplyx 2019-09-19 22:33:28 +02:00
parent 2ef349755a
commit 0a4a3f23f0

View file

@ -12,8 +12,8 @@ const deviceHeight = Dimensions.get("window").height;
const drawerCover = require("../assets/drawer-cover.png"); const drawerCover = require("../assets/drawer-cover.png");
const WIKETUD_LINK = "https://www.etud.insa-toulouse.fr/wiketud"; const WIKETUD_LINK = "https://www.etud.insa-toulouse.fr/wiketud";
const Amicale_LINK = "https://www.etud.insa-toulouse.fr/~amicale"; const AMICALE_LINK = "https://www.etud.insa-toulouse.fr/~amicale";
const RU_LINK = "http://m.insa-toulouse.fr/ru.html"; const TUTOR_INSA_LINK = "https://www.etud.insa-toulouse.fr/~tutorinsa/";
type Props = { type Props = {
navigation: Object, navigation: Object,
@ -48,7 +48,7 @@ export default class SideBar extends React.Component<Props, State> {
name: "Amicale", name: "Amicale",
route: "amicale", route: "amicale",
icon: "web", icon: "web",
link: Amicale_LINK link: AMICALE_LINK
}, },
{ {
name: "Wiketud", name: "Wiketud",
@ -56,6 +56,12 @@ export default class SideBar extends React.Component<Props, State> {
icon: "wikipedia", icon: "wikipedia",
link: WIKETUD_LINK link: WIKETUD_LINK
}, },
{
name: "Tutor'INSA",
route: "tutorinsa",
icon: "school",
link: TUTOR_INSA_LINK
},
{ {
name: i18n.t('screens.menuSelf'), name: i18n.t('screens.menuSelf'),
route: "SelfMenuScreen", route: "SelfMenuScreen",