Initial commit: runnable Ask a Plumber First server.

This commit is contained in:
2026-08-21 23:30:15 -07:00
parent 7bc79af954
commit d167b9216a
38 changed files with 4174 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
{{define "hunt"}}
{{template "header" .}}
<main id="main" class="wrap">
<div class="hunt-head">
<div>
<p class="eyebrow">{{if .IsToday}}Live board{{else if .IsYesterday}}Prior board{{else}}Archive{{end}}</p>
<h1>{{.Label}}</h1>
</div>
<nav class="date-nav" aria-label="Hunt date">
<a class="chip{{if .IsToday}} is-on{{end}}" href="/">Today</a>
<form class="date-form" action="/archive" method="get">
<label class="sr-only" for="hunt-date">Pick a date</label>
<input id="hunt-date" type="date" name="date" value="{{.Date}}" max="{{.Today}}"
onchange="this.form.requestSubmit()">
</form>
</nav>
</div>
{{template "leaderboard" .}}
</main>
{{template "footer" .}}
{{end}}