feat(01-02): screen management and companion definitions

- Create companion/characters.ts with 4 companion definitions (fee, einhorn, fuchs, eule)
- Create app.ts with showScreen, getDB, initApp (routes to welcome or forest)
- Update main.ts to call initApp on DOMContentLoaded
- Add stub ui/screens.ts for initWelcomeScreen

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-29 11:05:59 +02:00
co-authored by Claude Opus 4.6
parent 3462a6704e
commit 4b5502f5fa
4 changed files with 77 additions and 1 deletions
+8
View File
@@ -0,0 +1,8 @@
import type { ScreenName } from "../types";
export function initWelcomeScreen(
_db: IDBDatabase,
_navigateTo: (screen: ScreenName) => void,
): void {
// Implemented in Task 2
}