diff --git a/src/components/Overrides/CustomIntroSlider.js b/src/components/Overrides/CustomIntroSlider.js index 3633246..86a3650 100644 --- a/src/components/Overrides/CustomIntroSlider.js +++ b/src/components/Overrides/CustomIntroSlider.js @@ -36,53 +36,53 @@ export default class CustomIntroSlider extends React.Component { this.sliderRef = React.createRef(); this.introSlides = [ { - key: '1', - title: i18n.t('intro.slide1.title'), - text: i18n.t('intro.slide1.text'), + key: 'main', + title: i18n.t('intro.slideMain.title'), + text: i18n.t('intro.slideMain.text'), image: require('../../../assets/splash.png'), - colors: ['#dc2634', '#be1522'], + colors: ['#be1522', '#740d15'], }, { - key: '2', - title: i18n.t('intro.slide2.title'), - text: i18n.t('intro.slide2.text'), - icon: 'calendar-range', - colors: ['#d99e09', '#9e7205'], - }, - { - key: '3', - title: i18n.t('intro.slide3.title'), - text: i18n.t('intro.slide3.text'), - icon: 'washing-machine', - colors: ['#1fa5ee', '#0976b1'], - }, - { - key: '4', - title: i18n.t('intro.slide4.title'), - text: i18n.t('intro.slide4.text'), - icon: 'shopping', - colors: ['#ec5904', '#b64300'], - }, - { - key: '5', - title: i18n.t('intro.slide5.title'), - text: i18n.t('intro.slide5.text'), + key: 'Planex', + title: i18n.t('intro.slidePlanex.title'), + text: i18n.t('intro.slidePlanex.text'), icon: 'timetable', - colors: ['#7c33ec', '#5e11d1'], + colors: ['#e77020', '#803e12'], }, { - key: '6', - title: i18n.t('intro.slide6.title'), - text: i18n.t('intro.slide6.text'), + key: 'RU', + title: i18n.t('intro.slideRU.title'), + text: i18n.t('intro.slideRU.text'), icon: 'silverware-fork-knife', - colors: ['#ec1213', '#970902'], + colors: ['#dcac18', '#8b6a15'], }, { - key: '7', - title: i18n.t('intro.slide7.title'), - text: i18n.t('intro.slide7.text'), - icon: 'cogs', - colors: ['#37c13e', '#1a5a1d'], + key: 'events', + title: i18n.t('intro.slideEvents.title'), + text: i18n.t('intro.slideEvents.text'), + icon: 'calendar-range', + colors: ['#41a006', '#095c03'], + }, + { + key: 'proxiwash', + title: i18n.t('intro.slideProxiwash.title'), + text: i18n.t('intro.slideProxiwash.text'), + icon: 'washing-machine', + colors: ['#1fa5ee', '#06537d'], + }, + { + key: 'services', + title: i18n.t('intro.slideServices.title'), + text: i18n.t('intro.slideServices.text'), + icon: 'view-dashboard-variant', + colors: ['#6737c1', '#281a5a'], + }, + { + key: 'done', + title: i18n.t('intro.slideDone.title'), + text: i18n.t('intro.slideDone.text'), + icon: 'account-heart', + colors: ['#b837c1', '#501a5a'], }, ]; this.updateSlides = []; diff --git a/translations/en.json b/translations/en.json index 27fa648..cdbff0e 100644 --- a/translations/en.json +++ b/translations/en.json @@ -28,33 +28,33 @@ "feedback": "Feedback" }, "intro": { - "slide1": { + "slideMain": { "title": "Welcome to CAMPUS", "text": "The new app to use during your coffee break to get updates on the campus life!" }, - "slide2": { + "slideEvents": { "title": "Stay up to date", "text": "CAMPUS allows you to be aware of any event occurring on the campus, from pancake sales to Enfoiros concerts!" }, - "slide3": { + "slideProxiwash": { "title": "Never forget your laundry", "text": "CAMPUS will inform you on the availability of washing machines and will remind you just before yours finishes!" }, - "slide4": { - "title": "Proximo", - "text": "Are you short on pasta? Or maybe you feel a little peckish, then look up your INSA shop's stock in real time" - }, - "slide5": { + "slidePlanex": { "title": "Planex", - "text": "Lookup your timetable on CAMPUS" + "text": "Lookup your next course on CAMPUS with a mobile friendly timetable" }, - "slide6": { + "slideRU": { "title": "RU Menu", "text": "For the hungry, check this week's menu!" }, - "slide7": { - "title": "More to come...", - "text": "New features are coming soon, do not hesitate to give us feedback to improve the app" + "slideServices": { + "title": "More services!", + "text": "You can do much more with CAMPUS, explore the app to find out" + }, + "slideDone": { + "title": "Made by a student", + "text": "This app is the work of one student (with some help here and there), so any feedback is appreciated!" }, "updateSlide0": { "title": "New in this update!", diff --git a/translations/fr.json b/translations/fr.json index 02c2c13..43f4ab2 100644 --- a/translations/fr.json +++ b/translations/fr.json @@ -28,33 +28,33 @@ "feedback": "Votre avis" }, "intro": { - "slide1": { + "slideMain": { "title": "Bienvenue sur CAMPUS", - "text": "La nouvelle app à consulter pendant la pause café pour être au courant de la vie du campus !" + "text": "La nouvelle appli à consulter pendant la pause café pour être au courant de la vie du campus !" }, - "slide2": { + "slideEvents": { "title": "Restez informés", "text": "CAMPUS vous permet d'être au courant de tous les événements qui ont lieu sur le campus, de la vente de crêpes jusqu'aux concerts enfoiros !" }, - "slide3": { + "slideProxiwash": { "title": "N'oubliez plus votre linge !", "text": "CAMPUS vous informe de la disponibilité des machines et vous permet d'être notifié lorsque la vôtre se termine bientôt !" }, - "slide4": { - "title": "Proximo", - "text": "Il vous manque des pâtes ? Ou un petit creux au goûter, regardez les stocks de votre supérette insaienne en temps réel" - }, - "slide5": { + "slidePlanex": { "title": "Planex", - "text": "Consultez votre emploi du temps sur CAMPUS" + "text": "Vérifiez votre prochain cours sur CAMPUS avec un emploi du temps adapté mobile" }, - "slide6": { + "slideRU": { "title": "Menu du RU", "text": "Pour ceux qui ont faim, vérifiez le menu du RU de la semaine !" }, - "slide7": { - "title": "Plus à venir...", - "text": "D'autres fonctionnalités arrivent bientôt, n'hésitez pas à nous donner votre avis pour améliorer l'appli" + "slideServices": { + "title": "Encore plus de services !", + "text": "CAMPUS vous permet de faire bien plus, explorez l'appli pour savoir quoi" + }, + "slideDone": { + "title": "Fait par un étudiant", + "text": "Cette appli à été réalisée par un seul étudiant (avec un peu d'aide par-ci par-là), donc tous les retours sont les bienvenus !" }, "updateSlide0": { "title": "Nouveau dans cette mise à jour !", @@ -405,10 +405,10 @@ "bugsSubtitle": "Vous avez trouvé un bug ?", "bugsDescription": "Rapporter les bugs nous aide à améliorer l'appli. Pour cela, merci d'utiliser un des boutons ci-dessous et de décrire votre problème le plus précisément possible !", "feedback": "Feedback", - "feedbackSubtitle": "Did nous ce que vous pensez!", - "feedbackDescription": "Vous voulez voir une fonctionnalité ajoutée/modifiée/supprimée ?, vous voulez donner votre opinion sur l'appli ou simplement discuter avec les devs ? Utilisez un des liens ci-dessous !", + "feedbackSubtitle": "Dites nous ce que vous pensez !", + "feedbackDescription": "Vous voulez voir une fonctionnalité ajoutée/modifiée/supprimée ? Vous voulez donner votre opinion sur l'appli ou simplement discuter avec le développeur ? Utilisez un des liens ci-dessous !", "contactMeans": "L'utilisation de Gitea est recommandée, pour l'utiliser, connectez vous avec vos identifiants INSA.", "homeButtonTitle": "Feedback/Bugs", - "homeButtonSubtitle": "Contacter les devs" + "homeButtonSubtitle": "Contacter le développeur" } }