aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md1
-rw-r--r--frontend/hitler-clicker/src/app.html3
-rw-r--r--frontend/hitler-clicker/src/routes/play/+page.svelte13
-rwxr-xr-xfrontend/hitler-clicker/static/icon.pngbin0 -> 54567 bytes
4 files changed, 13 insertions, 4 deletions
diff --git a/README.md b/README.md
index 22976c8..c6eca3b 100644
--- a/README.md
+++ b/README.md
@@ -49,6 +49,5 @@ curl -X POST -d '{ "key": "value" }' http://localhost:8000/yourapifile.php
- sort landing page team clicks by amount
- rank page
- play page: team-based images
-- play page: functional navigation bar
- play page: click on any key press
- find out if cookie banner is legally required
diff --git a/frontend/hitler-clicker/src/app.html b/frontend/hitler-clicker/src/app.html
index fb9d739..98ee386 100644
--- a/frontend/hitler-clicker/src/app.html
+++ b/frontend/hitler-clicker/src/app.html
@@ -2,8 +2,9 @@
<html lang="en">
<head>
<meta charset="utf-8" />
- <link rel="icon" href="%sveltekit.assets%/favicon.svg" />
+ <link rel="icon" type="image/png" href="/icon.png" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
+ <title>Hitler Clicker</title>
%sveltekit.head%
</head>
<body data-sveltekit-preload-data="hover" class="
diff --git a/frontend/hitler-clicker/src/routes/play/+page.svelte b/frontend/hitler-clicker/src/routes/play/+page.svelte
index ad58a72..cbba259 100644
--- a/frontend/hitler-clicker/src/routes/play/+page.svelte
+++ b/frontend/hitler-clicker/src/routes/play/+page.svelte
@@ -103,8 +103,17 @@
}} />
{/if}
- <p>user ui and navigation bar goes here, permanently pinned to the bottom of the screen</p>
- <p>{Number(response.clicks) + contrib}</p>
+ <footer class="
+ flex flex-row justify-between
+ fixed bottom-0 pb-2 pt-3 px-7 rounded-t-xl w-full max-w-300
+ bg-slate-300 dark:bg-slate-400 text-neutral-800 dark:text-neutral-900
+ ">
+ <span>[
+ <a href="/" class="text-neutral-800 dark:text-neutral-900 underline">home</a>
+ ]</span>
+ <p>{response.name}</p>
+ <p>contributed: {Number(response.clicks) + contrib}</p>
+ </footer>
{:else}
<p class="text-xl text-red-800 dark:text-red-700"><b>ERROR: {response.status}</b></p>
diff --git a/frontend/hitler-clicker/static/icon.png b/frontend/hitler-clicker/static/icon.png
new file mode 100755
index 0000000..3b284a5
--- /dev/null
+++ b/frontend/hitler-clicker/static/icon.png
Binary files differ