Skip to content

Commit 44143a8

Browse files
committed
Reorder steps of site tour
1 parent 08dbfca commit 44143a8

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/components/Tutorial.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,6 @@ export default class Tutorial extends Component {
3131
selector: '#window',
3232
position: 'top-left'
3333
},
34-
{
35-
text: getMessage(props.locale, 'joyrideSteps.tutorial'),
36-
selector: '#tutorial',
37-
position: 'right'
38-
},
3934
{
4035
text: getMessage(props.locale, 'joyrideSteps.library'),
4136
selector: '#library',
@@ -55,6 +50,11 @@ export default class Tutorial extends Component {
5550
text: getMessage(props.locale, 'joyrideSteps.workspace'),
5651
selector: '#workspace',
5752
position: 'left'
53+
},
54+
{
55+
text: getMessage(props.locale, 'joyrideSteps.tutorial'),
56+
selector: '#tutorial',
57+
position: 'right'
5858
}
5959
]
6060
}

src/utils/translationUtils.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,23 @@ const translations = {
1616
value: 'Value: ',
1717
workspace: 'Workspace',
1818
'joyrideSteps.window': 'The window has 3 sections.',
19-
'joyrideSteps.tutorial':
20-
'<b>1. Tutorial</b>\
21-
<p>The instructions for following the tutorial</p>',
2219
'joyrideSteps.library':
23-
'<b>2. Library</b>\
20+
'<b>1. Library</b>\
2421
<p>The library has 2 components: <ul><li>Constants</li><li>Functions</li><p>',
2522
'joyrideSteps.constants':
2623
'<p>Clicking on "Number" will add a ballon to the workspace.</p>\
2724
<p>This ballon can hold a number.</p>',
2825
'joyrideSteps.functions': 'Clicking on a math operation will add a brick to the workspace.',
2926
'joyrideSteps.workspace':
30-
'<b>3. Workspace</b>\
27+
'<b>2. Workspace</b>\
3128
<p>The workspace is the playground where you can connect ballons and bricks.</p>\
3229
<p>Clicking on an element will show a dialog where you can change its properties.</p>\
3330
<p>Move the elements by drag & drop.</p>\
3431
<p>The elements are connected through pipes. To create a pipe click on an\
3532
input and an output slot.',
33+
'joyrideSteps.tutorial':
34+
'<b>3. Tutorial</b>\
35+
<p>The instructions for following the tutorial</p>',
3636
'tutorialSteps.1':
3737
"<p>This is a small tutorial for learning the basics of programming.</p>\
3838
<p>All programs are composed of two primary components.\

0 commit comments

Comments
 (0)