UI: Make minor changes in buttons and error messages of tutorial (#1837)

* UI: Make minor changes in buttons and error messages of tutorial

* Update

* Change "Skip Tutorial" to "Exit Tutorial"
This commit is contained in:
catloversg
2024-12-18 17:46:37 +07:00
committed by GitHub
parent 28da81f3f1
commit 9c4b0c004c
2 changed files with 22 additions and 17 deletions

View File

@@ -60,6 +60,9 @@ export function InteractiveTutorialRoot(): React.ReactElement {
This tutorial will show you the basics of the game. You may skip the tutorial at any time.
<br />
<br />
You can replay this tutorial by going to the Options tab and pressing "Reset tutorial".
<br />
<br />
You can also collapse this panel to temporarily hide this tutorial.
</Typography>
</>
@@ -593,7 +596,7 @@ export async function main(ns) {
<br />
<br />
<Button onClick={iTutorialEnd}>
{step !== iTutorialSteps.DocumentationPageInfo ? "SKIP TUTORIAL" : "FINISH TUTORIAL"}
{step !== iTutorialSteps.DocumentationPageInfo ? "Exit Tutorial" : "Finish Tutorial"}
</Button>
</Paper>
</>