1
+ <script >
2
+ import i18next from " i18next" ;
3
+ </script >
1
4
<div class =" ste tw-px-16 tw-py-5 tw-overflow-y-scroll tw-h-screen" >
2
5
<div class =" title tw-text-white" >
3
- <h1 class =" tw-p-3" >Welcome to Workadventure </h1 >
4
- <h2 class =" tw-p-3 tw-text-2xl" >Step 1: how to move your woka* </h2 >
5
- <p class =" tw-text-xs tw-p-0" >* woka = avatar </p >
6
+ <h1 class ="tw-p-3" >{ i18next . t ( ' tuto.step1.title ' )} </h1 >
7
+ <h2 class ="tw-p-3 tw-text-2xl" >{ i18next . t ( ' tuto.step1.subtitle ' )} </h2 >
8
+ <p class ="tw-text-xs tw-p-0" >{ i18next . t ( ' tuto.step1.describe ' )} </p >
6
9
</div >
7
10
<div class =" video" >
8
11
<video class =" tw-w-full tw-rounded-lg"
13
16
>
14
17
<track kind =" captions" >
15
18
<source src =" https://workadventure-chat-uploads.s3.eu-west-1.amazonaws.com/upload/video/step-1-onboarding.mp4" type =" video/mp4" >
16
- Video not available in your navigator
19
+ { i18next . t ( ' tuto.videoNotLoaded ' )}
17
20
</video >
18
21
</div >
19
22
<div class =" description tw-p-3 tw-mb-16 tw-text-left tw-text-white tw-pb-20 tw-flex tw-row tw-w-full tw-items-center tw-justify-center tw-py-10" >
20
- <div class =" tw-flex tw-flex-col tw-items-center tw-justify-center tw-p-10" >
23
+ <div class =" tw-flex tw-flex-col tw-items-center tw-justify-center tw-p-10 tw-w-1/2 " >
21
24
<img src =" resources/images/tutov1/step1/keyboard.svg" alt =" keyboard" class =" tw-w-40 tw-h-auto" >
22
- <p class =" tw-text-xl tw-text-center tw-p-5 tw-font-bold" >Control your Woka by using the arrow keys </p >
25
+ <p class ="tw-text-xl tw-text-center tw-p-5 tw-font-bold" >{ i18next . t ( ' tuto.step1. arrow' )} </p >
23
26
</div >
24
- <div class =" tw-flex tw-flex-col tw-items-center tw-justify-center tw-p-10" >
25
- <img src =" resources/images/tutov1/step1/mouse .svg" alt =" mouse" class =" tw-w-40 tw-h-auto" >
26
- <p class =" tw-text-xl tw-text-center tw-p-5 tw-font-bold" >Control your Woka by right-clicking anywhere on the map. </p >
27
+ <div class =" tw-flex tw-flex-col tw-items-center tw-justify-center tw-p-10 tw-w-1/2 " >
28
+ <img src =" resources/images/tutov1/step1/right-click .svg" alt =" mouse" class =" tw-w-40 tw-h-auto" >
29
+ <p class ="tw-text-xl tw-text-center tw-p-5 tw-font-bold" >{ i18next . t ( ' tuto.step1.click ' )} </p >
27
30
</div >
28
31
</div >
29
- </div >
32
+ </div >
33
+ <style lang =" scss" >
34
+ /* Hide scrollbar for Chrome, Safari and Opera */
35
+ .ste ::-webkit-scrollbar {
36
+ display : none ;
37
+ }
38
+
39
+ /* Hide scrollbar for IE, Edge and Firefox */
40
+ .ste {
41
+ -ms-overflow-style : none ; /* IE and Edge */
42
+ scrollbar-width : none ; /* Firefox */
43
+ }
44
+ </style >
0 commit comments