diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-09-21 11:37:50 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-09-21 11:38:37 +0200 |
commit | a1a54d2ba8dd075e896257cfe946b55f0eae3269 (patch) | |
tree | a98d623d81892d0ab9e3bd92bed4d94af0ce74e9 /src/templates | |
parent | a89a4ddcd930ba18fe923bdb4ebf40772a1cbb80 (diff) |
Port the /coins/designs page
Diffstat (limited to 'src/templates')
-rw-r--r-- | src/templates/coins-designs.html.tmpl | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/templates/coins-designs.html.tmpl b/src/templates/coins-designs.html.tmpl new file mode 100644 index 0000000..6f82c5e --- /dev/null +++ b/src/templates/coins-designs.html.tmpl @@ -0,0 +1,31 @@ +{{ define "content" }} +<header> + {{ template "navbar" . }} + <h1>{{ .T "Euro Coin Designs" }}</h1> +</header> +<main> + <p> + {{ .T ` + Here you’ll be able to view all the coin designs for each country + in the Eurozone. This section of the site doesn’t include minor + varieties such as different mintmarks or errors; those are on the + %svarieties%s page.` + `<a href="/coins/varieties">` `</a>` | safe + }} + </p> + <hr /> + <div class="country-grid"> + {{ $p := .Printer }} + {{ range .Countries }} + <a + class="outline" + data-code={{ toUpper .Code }} + role="button" + href=/coins/designs/{{ .Code }} + > + {{ $p.T .Name }} + </a> + {{ end }} + </div> +</main> +{{ end }} |