diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-08-11 03:13:10 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-08-11 03:16:36 +0200 |
commit | 3273c65ef82123bf5edbe6d8616630b20a993ce1 (patch) | |
tree | d230d18f60122f3a1b65056df197ad1db0ca41b0 /templates/coins.templ | |
parent | 3e723305c61673a767da25f683777de368899d41 (diff) |
Giant refactoring of the codebase
Diffstat (limited to 'templates/coins.templ')
-rw-r--r-- | templates/coins.templ | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/templates/coins.templ b/templates/coins.templ deleted file mode 100644 index 050d7e8..0000000 --- a/templates/coins.templ +++ /dev/null @@ -1,53 +0,0 @@ -package templates - -import "git.thomasvoss.com/euro-cash.eu/i18n" - -const newsLinkStart = `<a href="/news">` - -templ Coins() { - {{ p := ctx.Value("printer").(i18n.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="#TODO"> - <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> -} |