aboutsummaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-06-29 22:07:44 +1000
committerTerry Truong <terry06890@gmail.com>2022-06-29 22:07:44 +1000
commit975087a66ace922116e9ff3a84c6dfcb488f33d2 (patch)
treee00e6cd23fc9e9c02b106808a9911578f48d9ae7 /src/components
parent6ab6d5884b715560f789a114cdb8e0d98d2e0940 (diff)
Add tutorial current-stage indicator
Diffstat (limited to 'src/components')
-rw-r--r--src/components/TutorialPane.vue4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/TutorialPane.vue b/src/components/TutorialPane.vue
index 894d834..c37611d 100644
--- a/src/components/TutorialPane.vue
+++ b/src/components/TutorialPane.vue
@@ -1,7 +1,9 @@
<template>
<div :style="styles" class="p-2 flex flex-col justify-between">
<div class="flex">
- <h2 class="text-center mb-2 mx-auto">{{stage == 0 ? 'Welcome' : 'Tutorial'}}</h2>
+ <h2 class="text-center mb-2 mx-auto">
+ {{stage == 0 ? 'Welcome' : `Tutorial (${stage} / ${lastStage + 1})`}}
+ </h2>
<close-icon @click.stop="onClose"
class="block w-6 h-6 hover:cursor-pointer"/>
</div>