summaryrefslogtreecommitdiff
path: root/client/src/routes
diff options
context:
space:
mode:
authorElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-07-19 20:38:24 -0700
committerElizabeth Hunt <elizabeth.hunt@simponic.xyz>2023-07-19 20:38:24 -0700
commit0fd9fb097552686f2257c1aa689d797e80057bd1 (patch)
treeb8d0367bf7b62c049af60ace301ce1cffc08d821 /client/src/routes
downloadjumpstorm-0fd9fb097552686f2257c1aa689d797e80057bd1.tar.gz
jumpstorm-0fd9fb097552686f2257c1aa689d797e80057bd1.zip
initial commit
Diffstat (limited to 'client/src/routes')
-rw-r--r--client/src/routes/Home.svelte12
1 files changed, 12 insertions, 0 deletions
diff --git a/client/src/routes/Home.svelte b/client/src/routes/Home.svelte
new file mode 100644
index 0000000..935ed69
--- /dev/null
+++ b/client/src/routes/Home.svelte
@@ -0,0 +1,12 @@
+<script lang="ts">
+ import GameCanvas from "../components/GameCanvas.svelte";
+ import LeaderBoard from "../components/LeaderBoard.svelte";
+
+ let width: number = 600;
+ let height: number = 800;
+</script>
+
+<div class="centered-game">
+ <GameCanvas {width} {height} />
+ <LeaderBoard />
+</div>