aboutsummaryrefslogtreecommitdiffstats
path: root/src/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend')
-rw-r--r--src/frontend/ts/login.ts12
-rw-r--r--src/frontend/tsconfig.json12
2 files changed, 0 insertions, 24 deletions
diff --git a/src/frontend/ts/login.ts b/src/frontend/ts/login.ts
deleted file mode 100644
index 6ff53cd..0000000
--- a/src/frontend/ts/login.ts
+++ /dev/null
@@ -1,12 +0,0 @@
-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
diff --git a/src/frontend/tsconfig.json b/src/frontend/tsconfig.json
deleted file mode 100644
index b0975f3..0000000
--- a/src/frontend/tsconfig.json
+++ /dev/null
@@ -1,12 +0,0 @@
-{
- "extends": "../../tsconfig.json",
- "compilerOptions": {
- "lib": [
- "DOM"
- ],
- "outDir": "../../public/js"
- },
- "include": [
- "ts/**/*"
- ]
-} \ No newline at end of file