From 0a4a3f23f033dec1077b2eca3ff7db9e6e56726b Mon Sep 17 00:00:00 2001 From: keplyx Date: Thu, 19 Sep 2019 22:33:28 +0200 Subject: [PATCH] Added tutor insa link in sidebar --- components/Sidebar.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/components/Sidebar.js b/components/Sidebar.js index 0ff84ed..e184ca5 100644 --- a/components/Sidebar.js +++ b/components/Sidebar.js @@ -12,8 +12,8 @@ const deviceHeight = Dimensions.get("window").height; const drawerCover = require("../assets/drawer-cover.png"); const WIKETUD_LINK = "https://www.etud.insa-toulouse.fr/wiketud"; -const Amicale_LINK = "https://www.etud.insa-toulouse.fr/~amicale"; -const RU_LINK = "http://m.insa-toulouse.fr/ru.html"; +const AMICALE_LINK = "https://www.etud.insa-toulouse.fr/~amicale"; +const TUTOR_INSA_LINK = "https://www.etud.insa-toulouse.fr/~tutorinsa/"; type Props = { navigation: Object, @@ -48,7 +48,7 @@ export default class SideBar extends React.Component { name: "Amicale", route: "amicale", icon: "web", - link: Amicale_LINK + link: AMICALE_LINK }, { name: "Wiketud", @@ -56,6 +56,12 @@ export default class SideBar extends React.Component { icon: "wikipedia", link: WIKETUD_LINK }, + { + name: "Tutor'INSA", + route: "tutorinsa", + icon: "school", + link: TUTOR_INSA_LINK + }, { name: i18n.t('screens.menuSelf'), route: "SelfMenuScreen",