dylanebert's picture
improved prompting/UX
db9635c
# Layout Components
Application layout structure
## Purpose
- Loading state management
- Header navigation with view switching
- Two-pane layout with nested splits
- View mode transitions (code/preview/about)
## Structure
```
layout/
β”œβ”€β”€ context.md # This file
β”œβ”€β”€ LoadingScreen.svelte # Initial loading with spinner
β”œβ”€β”€ AppHeader.svelte # Top navigation bar with Title | About | Repo
└── SplitView.svelte # Two-pane layout with nested splits
```
## Layout Organization
- Main split: Editor pane (left) | Preview pane (right)
- Editor pane: Code editor (top) | Chat panel (bottom)
- Preview pane: Game canvas (top) | Console (bottom)
- View modes: code, preview, or about page overlay
## Dependencies
- loadingStore for loading state
- uiStore for view mode management
- svelte-splitpanes for resizable panes
- GSAP for animations