aboutsummaryrefslogtreecommitdiff
path: root/web/pw-server/src
diff options
context:
space:
mode:
authorIlion Beyst <ilion.beyst@gmail.com>2021-12-30 14:15:40 +0100
committerIlion Beyst <ilion.beyst@gmail.com>2021-12-30 14:15:40 +0100
commit522f4270e83a85564ecc977aa470fcf8560547e2 (patch)
tree0dc688bde37aecd470a259bccc89f8bf3d24e710 /web/pw-server/src
parent3edf5d60f54bfd0cd2c818e5fb1ca133e324325d (diff)
downloadplanetwars.dev-522f4270e83a85564ecc977aa470fcf8560547e2.tar.xz
planetwars.dev-522f4270e83a85564ecc977aa470fcf8560547e2.zip
init SvelteKit frontend
Diffstat (limited to 'web/pw-server/src')
-rw-r--r--web/pw-server/src/app.html13
-rw-r--r--web/pw-server/src/global.d.ts1
-rw-r--r--web/pw-server/src/routes/index.svelte2
3 files changed, 16 insertions, 0 deletions
diff --git a/web/pw-server/src/app.html b/web/pw-server/src/app.html
new file mode 100644
index 0000000..9c8080f
--- /dev/null
+++ b/web/pw-server/src/app.html
@@ -0,0 +1,13 @@
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8" />
+ <meta name="description" content="" />
+ <link rel="icon" href="/favicon.ico" />
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
+ %svelte.head%
+ </head>
+ <body>
+ <div id="svelte">%svelte.body%</div>
+ </body>
+</html>
diff --git a/web/pw-server/src/global.d.ts b/web/pw-server/src/global.d.ts
new file mode 100644
index 0000000..63908c6
--- /dev/null
+++ b/web/pw-server/src/global.d.ts
@@ -0,0 +1 @@
+/// <reference types="@sveltejs/kit" />
diff --git a/web/pw-server/src/routes/index.svelte b/web/pw-server/src/routes/index.svelte
new file mode 100644
index 0000000..5982b0a
--- /dev/null
+++ b/web/pw-server/src/routes/index.svelte
@@ -0,0 +1,2 @@
+<h1>Welcome to SvelteKit</h1>
+<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>