summaryrefslogtreecommitdiffhomepage
path: root/template/coins.templ
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-09-13 13:01:48 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-09-13 13:01:48 +0200
commit548090e67f66acf84385c4152ca464e52d3e3319 (patch)
tree9b6de528bd7b0aa63362fa83f5c8e6a97f68a5d8 /template/coins.templ
parenta1d809960bee74df19c7e5fc34ffd1e4757cfdcb (diff)
Migrate away from templ and towards html/template
Diffstat (limited to 'template/coins.templ')
-rw-r--r--template/coins.templ53
1 files changed, 0 insertions, 53 deletions
diff --git a/template/coins.templ b/template/coins.templ
deleted file mode 100644
index ef1b0a1..0000000
--- a/template/coins.templ
+++ /dev/null
@@ -1,53 +0,0 @@
-package template
-
-import "git.thomasvoss.com/euro-cash.eu/lib"
-
-const newsLinkStart = `<a href="/news">`
-
-templ Coins() {
- {{ p := ctx.Value("printer").(lib.Printer) }}
- <header>
- @navbar()
- <h1>{ p.T("Euro Coins") }</h1>
- </header>
- <main>
- <p>
- @templ.Raw(p.T("On this section of the site you can find everything there is to know about the coins of the Eurozone. For the latest news on coin- and design releases, check out the %snews%s tab!", newsLinkStart, linkEnd))
- </p>
- <hr/>
- <section>
- <div class="grid">
- <a class="no-deco" href="/coins/designs">
- <article>
- <header>
- <h3>{ p.T("Designs") }</h3>
- </header>
- <main>
- { p.T("View the 600+ different Euro-coin designs!") }
- </main>
- </article>
- </a>
- <a class="no-deco" href="/coins/mintages">
- <article>
- <header>
- <h3>{ p.T("Mintages") }</h3>
- </header>
- <main>
- { p.T("View the mintage figures of all the Euro coins!") }
- </main>
- </article>
- </a>
- <a class="no-deco" href="#TODO">
- <article>
- <header>
- <h3>{ p.T("Varieties") }</h3>
- </header>
- <main>
- { p.T("View all the known Euro varieties!") }
- </main>
- </article>
- </a>
- </div>
- </section>
- </main>
-}