diff --git a/client/src/app.html b/client/src/app.html index 4663065..d8aaf7a 100644 --- a/client/src/app.html +++ b/client/src/app.html @@ -10,16 +10,7 @@ padding: 0; height: 100vh; width: 100vw; - overflow: hidden; - font-family: "Square", "Squareo", monospace; - } - @font-face { - font-family: 'Square'; - src: url("/assets/Square.ttf") format("truetype"); - } - @font-face { - font-family: 'Squareo'; - src: url("/assets/Squareo.ttf") format("truetype"); + font-family: 'Roboto', sans-serif; } %sveltekit.head% diff --git a/client/src/lib/game.svelte b/client/src/lib/game.svelte index 363b223..f41e17e 100644 --- a/client/src/lib/game.svelte +++ b/client/src/lib/game.svelte @@ -1,6 +1,14 @@ + +{#key url} +
+ +
+{/key} \ No newline at end of file diff --git a/client/src/routes/+layout.svelte b/client/src/routes/+layout.svelte index 1105435..53114ee 100644 --- a/client/src/routes/+layout.svelte +++ b/client/src/routes/+layout.svelte @@ -1,5 +1,20 @@ - - \ No newline at end of file +
+ + + +
+ + \ No newline at end of file diff --git a/client/src/routes/+layout.ts b/client/src/routes/+layout.ts new file mode 100644 index 0000000..823c2c9 --- /dev/null +++ b/client/src/routes/+layout.ts @@ -0,0 +1,6 @@ +/** @type {import('./$types').PageLoad} */ +export const load = async ({ url }) => { + return { + url: url.pathname + } +}; \ No newline at end of file diff --git a/client/src/routes/+page.svelte b/client/src/routes/+page.svelte index a4db1bd..1eef5d9 100644 --- a/client/src/routes/+page.svelte +++ b/client/src/routes/+page.svelte @@ -1,14 +1,81 @@ - -{#if !$connection} - -{:else if !$room} - -{:else} - -{/if} \ No newline at end of file +
+ +
+
+ + + + + + +
+
+

Rules

+

How do I play the game?

+
+
+
+ + \ No newline at end of file diff --git a/client/src/routes/singleplayer/+page.svelte b/client/src/routes/localplay/+page.svelte similarity index 100% rename from client/src/routes/singleplayer/+page.svelte rename to client/src/routes/localplay/+page.svelte diff --git a/client/src/routes/multiplayer/+page.svelte b/client/src/routes/multiplayer/+page.svelte new file mode 100644 index 0000000..a4db1bd --- /dev/null +++ b/client/src/routes/multiplayer/+page.svelte @@ -0,0 +1,14 @@ + + +{#if !$connection} + +{:else if !$room} + +{:else} + +{/if} \ No newline at end of file diff --git a/client/static/circle.svg b/client/static/circle.svg new file mode 100644 index 0000000..ad0bbd6 --- /dev/null +++ b/client/static/circle.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/client/static/computer.svg b/client/static/computer.svg new file mode 100644 index 0000000..b7e42c0 --- /dev/null +++ b/client/static/computer.svg @@ -0,0 +1,49 @@ + + + + + diff --git a/client/static/cross.svg b/client/static/cross.svg new file mode 100644 index 0000000..27c56cb --- /dev/null +++ b/client/static/cross.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file diff --git a/client/static/network.svg b/client/static/network.svg new file mode 100644 index 0000000..9276993 --- /dev/null +++ b/client/static/network.svg @@ -0,0 +1,5 @@ + + + + + \ No newline at end of file