summaryrefslogtreecommitdiff
path: root/static/index.html
diff options
context:
space:
mode:
authorDaniel Hader <[email protected]>2026-05-30 10:10:17 -0500
committerDaniel Hader <[email protected]>2026-05-30 10:10:17 -0500
commit929be68e691c1c4015fc6874111b19b9f5d68c02 (patch)
treeffc4ecb9c63d8dc242c33d69a592dc093dcfd122 /static/index.html
parent772c7844c4ca1de632f64eb9428e8e97eea64ac1 (diff)
registration page, me endpoint, and minor content tweaks
Diffstat (limited to 'static/index.html')
-rw-r--r--static/index.html15
1 files changed, 10 insertions, 5 deletions
diff --git a/static/index.html b/static/index.html
index 3fd75e3..0cc6ec9 100644
--- a/static/index.html
+++ b/static/index.html
@@ -12,12 +12,17 @@
<div id="layout">
<div id="container">
<div id="content">
- <a href="login.html">Login</a>
+ <div id="login-links" hidden>
+ <a href="login.html">Login</a> / <a href="register.html">Register</a>
+ </div>
+ <span id="logged-in" hidden></span>
<h1>C&amp;! Code Golf Leaderboard</h1>
+
+ <p>In normal golf, the goal is to get a ball into a hole in as few swings as possible. Code golf is similar, but instead of swings your success is measured in bytes of source code. The following page contains a list of programming challenges. Your task is, first and foremost, to try to solve them, but secondly you should try to do so with as short a program as possible.</p>
+ <p>There are no strict rules, choose whatever language you'd like and have fun with it. The goal is to get you coding and thinking. Some of the problems are challenging, especially the last few. Good luck!o</p>
- <p>In golf, the goal is to get a ball into a hole in as few swings as possible. The goal of code golf is similarly to solve a problem in as few bytes (of source code) as possible. The following is a list of programming challenges. Your task is to try and solve them in Python with as little code as possible measured in bytes.</p>
-
+ <h2>Problems</h2>
<div id="problems">
<div class="problem">
@@ -26,8 +31,8 @@
</div>
</div>
- <button onclick="fetch_problems()">Refresh Problems</button>
-
+ <p>This leaderboard is lovingly handcrafted by Daniel Hader. The source code is available <a href="https://git.danielhader.net/code_golf.git">here</a> and I encourage you to explore it. There's certainly all sorts of ways to break it and it's hosted on a server that I pay for. Please be respectful to me and the other campers using it. Thanks!</p>
+
<center>&copy; 2026 Daniel Hader</center>
</div>
</div>