File size: 882 Bytes
794cf6c
 
 
 
 
 
 
db9635c
794cf6c
db9635c
794cf6c
 
 
 
 
 
 
db9635c
794cf6c
 
 
 
 
 
 
 
db9635c
794cf6c
 
 
 
db9635c
794cf6c
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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