Merge branch 'worktree-tutorial'

# Conflicts:
#	src/app/AppLayout.tsx
main
name 2026-04-12 09:19:10 -07:00
commit f1c1c007a5
2 changed files with 12 additions and 0 deletions

View File

@ -10,6 +10,7 @@ const SongSelectionPage = lazy(() => import('../pages/SongSelectionPage').then(m
const EndOfGamePage = lazy(() => import('../pages/EndOfGamePage').then(m => ({ default: m.EndOfGamePage })))
const LeaderboardPage = lazy(() => import('../pages/LeaderboardPage').then(m => ({ default: m.LeaderboardPage })))
const CreditsPage = lazy(() => import('../pages/CreditsPage').then(m => ({ default: m.CreditsPage })))
const TutorialTestPage = lazy(() => import('../pages/TutorialTestPage').then(m => ({ default: m.TutorialTestPage })))
export function AppRoutes() {
return (
@ -23,6 +24,7 @@ export function AppRoutes() {
<Route path={ROUTE_PATHS.endOfGame} element={<EndOfGamePage />} />
<Route path={ROUTE_PATHS.leaderboard} element={<LeaderboardPage />} />
<Route path={ROUTE_PATHS.credits} element={<CreditsPage />} />
<Route path="/test/tutorial" element={<TutorialTestPage />} />
<Route path="*" element={<Navigate to={ROUTE_PATHS.intro} replace />} />
</Route>
</Routes>

View File

@ -0,0 +1,10 @@
import { Tutorial } from '../components/Tutorial'
export function TutorialTestPage() {
return (
<div style={{ background: '#111', minHeight: '100dvh' }}>
<p style={{ color: '#fff', padding: 16 }}>Debug: tutorial test</p>
<Tutorial onDismiss={() => alert('dismissed')} />
</div>
)
}