diff --git a/src/components/WelcomePopup.tsx b/src/components/WelcomePopup.tsx index be22870b..5684a955 100644 --- a/src/components/WelcomePopup.tsx +++ b/src/components/WelcomePopup.tsx @@ -65,7 +65,10 @@ const TERMINALS = [ }, ] as const; -type TutorialStep = 0 | 1 | 2 | 3 | 4 | 5; +type TutorialStep = 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7; + +// Total interactive + info steps (excluding step 0 welcome page) +const TOTAL_STEPS = 7; // Terminal cell center offsets from grid center. // Grid: 2 cols × 2 rows, cell 120×80, gap 8px → total 248×168. @@ -81,6 +84,29 @@ function replaceToken(template: string, token: string, value: string): string { return template.replace(token, value); } +function StepDots({ current, total }: { current: number; total: number }) { + return ( +