diff options
| author | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2023-01-24 13:07:20 +0100 |
|---|---|---|
| committer | Ruben Beltran del Rio <ruben@unlimited.pizza> | 2023-01-24 13:07:50 +0100 |
| commit | e4e4b5202bf0039127f591941fddc1ff5ca09897 (patch) | |
| tree | 0c6ad5b8784002ab2d05a14ece3d0b56fee1383f /src/routes | |
| parent | c55cffecda48be785d89721dc8c8f04c99270b2d (diff) | |
Update project, improve sensor/render logic
Diffstat (limited to 'src/routes')
| -rw-r--r-- | src/routes/+layout.svelte | 5 | ||||
| -rw-r--r-- | src/routes/+page.svelte (renamed from src/routes/index.svelte) | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/routes/+layout.svelte b/src/routes/+layout.svelte new file mode 100644 index 0000000..e1b87bc --- /dev/null +++ b/src/routes/+layout.svelte @@ -0,0 +1,5 @@ +<script> + import '../app.css' +</script> + +<slot /> diff --git a/src/routes/index.svelte b/src/routes/+page.svelte index 411b81f..1fd4752 100644 --- a/src/routes/index.svelte +++ b/src/routes/+page.svelte @@ -3,6 +3,7 @@ import Background from '$lib/components/background.svelte'; import Palette from '$lib/components/palette.svelte'; import Hud from '$lib/components/hud.svelte'; + import Minimap from '$lib/components/minimap.svelte'; import Widget from '$lib/components/widget.svelte'; import { modulo } from '$lib/math'; import { widgets } from '$lib/stores/widgets'; @@ -63,6 +64,7 @@ <Sensor /> <Background /> <Hud /> + <Minimap /> {#if shouldShowPalette } <Palette/> |