Browse Source

Updated intro slider and translations

Arnaud Vergnet 3 years ago
parent
commit
38538d562d
3 changed files with 64 additions and 64 deletions
  1. 34
    34
      src/components/Overrides/CustomIntroSlider.js
  2. 13
    13
      translations/en.json
  3. 17
    17
      translations/fr.json

+ 34
- 34
src/components/Overrides/CustomIntroSlider.js View File

@@ -36,53 +36,53 @@ export default class CustomIntroSlider extends React.Component<Props> {
36 36
         this.sliderRef = React.createRef();
37 37
         this.introSlides = [
38 38
             {
39
-                key: '1',
40
-                title: i18n.t('intro.slide1.title'),
41
-                text: i18n.t('intro.slide1.text'),
39
+                key: 'main',
40
+                title: i18n.t('intro.slideMain.title'),
41
+                text: i18n.t('intro.slideMain.text'),
42 42
                 image: require('../../../assets/splash.png'),
43
-                colors: ['#dc2634', '#be1522'],
43
+                colors: ['#be1522', '#740d15'],
44 44
             },
45 45
             {
46
-                key: '2',
47
-                title: i18n.t('intro.slide2.title'),
48
-                text: i18n.t('intro.slide2.text'),
49
-                icon: 'calendar-range',
50
-                colors: ['#d99e09', '#9e7205'],
46
+                key: 'Planex',
47
+                title: i18n.t('intro.slidePlanex.title'),
48
+                text: i18n.t('intro.slidePlanex.text'),
49
+                icon: 'timetable',
50
+                colors: ['#e77020', '#803e12'],
51 51
             },
52 52
             {
53
-                key: '3',
54
-                title: i18n.t('intro.slide3.title'),
55
-                text: i18n.t('intro.slide3.text'),
56
-                icon: 'washing-machine',
57
-                colors: ['#1fa5ee', '#0976b1'],
53
+                key: 'RU',
54
+                title: i18n.t('intro.slideRU.title'),
55
+                text: i18n.t('intro.slideRU.text'),
56
+                icon: 'silverware-fork-knife',
57
+                colors: ['#dcac18', '#8b6a15'],
58 58
             },
59 59
             {
60
-                key: '4',
61
-                title: i18n.t('intro.slide4.title'),
62
-                text: i18n.t('intro.slide4.text'),
63
-                icon: 'shopping',
64
-                colors: ['#ec5904', '#b64300'],
60
+                key: 'events',
61
+                title: i18n.t('intro.slideEvents.title'),
62
+                text: i18n.t('intro.slideEvents.text'),
63
+                icon: 'calendar-range',
64
+                colors: ['#41a006', '#095c03'],
65 65
             },
66 66
             {
67
-                key: '5',
68
-                title: i18n.t('intro.slide5.title'),
69
-                text: i18n.t('intro.slide5.text'),
70
-                icon: 'timetable',
71
-                colors: ['#7c33ec', '#5e11d1'],
67
+                key: 'proxiwash',
68
+                title: i18n.t('intro.slideProxiwash.title'),
69
+                text: i18n.t('intro.slideProxiwash.text'),
70
+                icon: 'washing-machine',
71
+                colors: ['#1fa5ee', '#06537d'],
72 72
             },
73 73
             {
74
-                key: '6',
75
-                title: i18n.t('intro.slide6.title'),
76
-                text: i18n.t('intro.slide6.text'),
77
-                icon: 'silverware-fork-knife',
78
-                colors: ['#ec1213', '#970902'],
74
+                key: 'services',
75
+                title: i18n.t('intro.slideServices.title'),
76
+                text: i18n.t('intro.slideServices.text'),
77
+                icon: 'view-dashboard-variant',
78
+                colors: ['#6737c1', '#281a5a'],
79 79
             },
80 80
             {
81
-                key: '7',
82
-                title: i18n.t('intro.slide7.title'),
83
-                text: i18n.t('intro.slide7.text'),
84
-                icon: 'cogs',
85
-                colors: ['#37c13e', '#1a5a1d'],
81
+                key: 'done',
82
+                title: i18n.t('intro.slideDone.title'),
83
+                text: i18n.t('intro.slideDone.text'),
84
+                icon: 'account-heart',
85
+                colors: ['#b837c1', '#501a5a'],
86 86
             },
87 87
         ];
88 88
         this.updateSlides = [];

+ 13
- 13
translations/en.json View File

@@ -28,33 +28,33 @@
28 28
     "feedback": "Feedback"
29 29
   },
30 30
   "intro": {
31
-    "slide1": {
31
+    "slideMain": {
32 32
       "title": "Welcome to CAMPUS",
33 33
       "text": "The new app to use during your coffee break to get updates on the campus life!"
34 34
     },
35
-    "slide2": {
35
+    "slideEvents": {
36 36
       "title": "Stay up to date",
37 37
       "text": "CAMPUS allows you to be aware of any event occurring on the campus, from pancake sales to Enfoiros concerts!"
38 38
     },
39
-    "slide3": {
39
+    "slideProxiwash": {
40 40
       "title": "Never forget your laundry",
41 41
       "text": "CAMPUS will inform you on the availability of washing machines and will remind you just before yours finishes!"
42 42
     },
43
-    "slide4": {
44
-      "title": "Proximo",
45
-      "text": "Are you short on pasta? Or maybe you feel a little peckish, then look up your INSA shop's stock in real time"
46
-    },
47
-    "slide5": {
43
+    "slidePlanex": {
48 44
       "title": "Planex",
49
-      "text": "Lookup your timetable on CAMPUS"
45
+      "text": "Lookup your next course on CAMPUS with a mobile friendly timetable"
50 46
     },
51
-    "slide6": {
47
+    "slideRU": {
52 48
       "title": "RU Menu",
53 49
       "text": "For the hungry, check this week's menu!"
54 50
     },
55
-    "slide7": {
56
-      "title": "More to come...",
57
-      "text": "New features are coming soon, do not hesitate to give us feedback to improve the app"
51
+    "slideServices": {
52
+      "title": "More services!",
53
+      "text": "You can do much more with CAMPUS, explore the app to find out"
54
+    },
55
+    "slideDone": {
56
+      "title": "Made by a student",
57
+      "text": "This app is the work of one student (with some help here and there), so any feedback is appreciated!"
58 58
     },
59 59
     "updateSlide0": {
60 60
       "title": "New in this update!",

+ 17
- 17
translations/fr.json View File

@@ -28,33 +28,33 @@
28 28
     "feedback": "Votre avis"
29 29
   },
30 30
   "intro": {
31
-    "slide1": {
31
+    "slideMain": {
32 32
       "title": "Bienvenue sur CAMPUS",
33
-      "text": "La nouvelle app à consulter pendant la pause café pour être au courant de la vie du campus !"
33
+      "text": "La nouvelle appli à consulter pendant la pause café pour être au courant de la vie du campus !"
34 34
     },
35
-    "slide2": {
35
+    "slideEvents": {
36 36
       "title": "Restez informés",
37 37
       "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 !"
38 38
     },
39
-    "slide3": {
39
+    "slideProxiwash": {
40 40
       "title": "N'oubliez plus votre linge !",
41 41
       "text": "CAMPUS vous informe de la disponibilité des machines et vous permet d'être notifié lorsque la vôtre se termine bientôt !"
42 42
     },
43
-    "slide4": {
44
-      "title": "Proximo",
45
-      "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"
46
-    },
47
-    "slide5": {
43
+    "slidePlanex": {
48 44
       "title": "Planex",
49
-      "text": "Consultez votre emploi du temps sur CAMPUS"
45
+      "text": "Vérifiez votre prochain cours sur CAMPUS avec un emploi du temps adapté mobile"
50 46
     },
51
-    "slide6": {
47
+    "slideRU": {
52 48
       "title": "Menu du RU",
53 49
       "text": "Pour ceux qui ont faim, vérifiez le menu du RU de la semaine !"
54 50
     },
55
-    "slide7": {
56
-      "title": "Plus à venir...",
57
-      "text": "D'autres fonctionnalités arrivent bientôt, n'hésitez pas à nous donner votre avis pour améliorer l'appli"
51
+    "slideServices": {
52
+      "title": "Encore plus de services !",
53
+      "text": "CAMPUS vous permet de faire bien plus, explorez l'appli pour savoir quoi"
54
+    },
55
+    "slideDone": {
56
+      "title": "Fait par un étudiant",
57
+      "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 !"
58 58
     },
59 59
     "updateSlide0": {
60 60
       "title": "Nouveau dans cette mise à jour !",
@@ -405,10 +405,10 @@
405 405
     "bugsSubtitle": "Vous avez trouvé un bug ?",
406 406
     "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 !",
407 407
     "feedback": "Feedback",
408
-    "feedbackSubtitle": "Did nous ce que vous pensez!",
409
-    "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 !",
408
+    "feedbackSubtitle": "Dites nous ce que vous pensez !",
409
+    "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 !",
410 410
     "contactMeans": "L'utilisation de Gitea est recommandée, pour l'utiliser, connectez vous avec vos identifiants INSA.",
411 411
     "homeButtonTitle": "Feedback/Bugs",
412
-    "homeButtonSubtitle": "Contacter les devs"
412
+    "homeButtonSubtitle": "Contacter le développeur"
413 413
   }
414 414
 }

Loading…
Cancel
Save