|
@@ -17,8 +17,6 @@
|
17
|
17
|
* along with Campus INSAT. If not, see <https://www.gnu.org/licenses/>.
|
18
|
18
|
*/
|
19
|
19
|
|
20
|
|
-// @flow
|
21
|
|
-
|
22
|
20
|
import * as React from 'react';
|
23
|
21
|
import i18n from 'i18n-js';
|
24
|
22
|
import type {IntroSlideType} from '../components/Overrides/CustomIntroSlider';
|
|
@@ -49,16 +47,16 @@ export default class Update {
|
49
|
47
|
this.updateSlides = [
|
50
|
48
|
{
|
51
|
49
|
key: '0',
|
52
|
|
- title: i18n.t(`intro.updateSlide0.title`),
|
53
|
|
- text: i18n.t(`intro.updateSlide0.text`),
|
54
|
|
- view: (): React.Node => <MascotIntroWelcome />,
|
|
50
|
+ title: i18n.t('intro.updateSlide0.title'),
|
|
51
|
+ text: i18n.t('intro.updateSlide0.text'),
|
|
52
|
+ view: () => <MascotIntroWelcome />,
|
55
|
53
|
colors: ['#be1522', '#57080e'],
|
56
|
54
|
},
|
57
|
55
|
{
|
58
|
56
|
key: '1',
|
59
|
|
- title: i18n.t(`intro.updateSlide1.title`),
|
60
|
|
- text: i18n.t(`intro.updateSlide1.text`),
|
61
|
|
- view: (): React.Node => <IntroIcon icon="account-heart-outline" />,
|
|
57
|
+ title: i18n.t('intro.updateSlide1.title'),
|
|
58
|
+ text: i18n.t('intro.updateSlide1.text'),
|
|
59
|
+ view: () => <IntroIcon icon="account-heart-outline" />,
|
62
|
60
|
colors: ['#9c165b', '#3e042b'],
|
63
|
61
|
},
|
64
|
62
|
];
|