Skip to content

Commit 4402c07

Browse files
feat: added tutorial navigation
1 parent 2d17e71 commit 4402c07

File tree

6 files changed

+20
-4
lines changed

6 files changed

+20
-4
lines changed

src/.vitepress/config.ts

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -475,13 +475,29 @@ export const sidebar = {
475475
link: '/tutorial/#step-1'
476476
},
477477
{
478-
text: '2. Handling User Input',
478+
text: '2. Binding Dynamic Attributes',
479479
link: '/tutorial/#step-2'
480480
},
481481
{
482-
text: '2. Conditional Rendering',
482+
text: '3. Listening to Events',
483483
link: '/tutorial/#step-3'
484-
}
484+
},
485+
{
486+
text: '4. Two-Way Binding',
487+
link: '/tutorial/#step-4'
488+
},
489+
{
490+
text: '5. Conditional Rendering',
491+
link: '/tutorial/#step-5'
492+
},
493+
{
494+
text: '6. Event Modifiers',
495+
link: '/tutorial/#step-6'
496+
},
497+
{
498+
text: '7. More on Conditional Rendering',
499+
link: '/tutorial/#step-7'
500+
},
485501
]
486502
}
487503
]

src/tutorial/src/step-6 copy/description.md renamed to src/tutorial/src/step-7/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Conditional Rendering - 2
1+
# More on Conditional Rendering
22

33
The last thing we want to implement in this lesson is hiding the input field when the game is already started and showing a button `Change colors number`. Clicking on the button will set the game to "not-started" and show the input again. First, let's add the button to our template:
44

0 commit comments

Comments
 (0)