aboutsummaryrefslogtreecommitdiffstats
path: root/src/frontend/ts/login.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/ts/login.ts')
-rw-r--r--src/frontend/ts/login.ts12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/frontend/ts/login.ts b/src/frontend/ts/login.ts
new file mode 100644
index 0000000..6ff53cd
--- /dev/null
+++ b/src/frontend/ts/login.ts
@@ -0,0 +1,12 @@
+let html = /* html */`
+ <div class="container text-center fs-1" style="margin-top: 45vh;">
+ <label for="username">Vad heter du?</label>
+ <input type="text" name="username" required>
+ <button type="button" class="btn btn-light btn-lg" onclick="login">Starta spelet</button>
+ </div>
+`;
+document.body.innerHTML = html;
+
+function login() {
+
+} \ No newline at end of file