From 0f3b1051228328718798fe0b40d02fdb72e3481f Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Thu, 8 Aug 2024 21:32:28 +0200 Subject: Rename some components --- templates/coins.templ | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 templates/coins.templ (limited to 'templates/coins.templ') diff --git a/templates/coins.templ b/templates/coins.templ new file mode 100644 index 0000000..050d7e8 --- /dev/null +++ b/templates/coins.templ @@ -0,0 +1,53 @@ +package templates + +import "git.thomasvoss.com/euro-cash.eu/i18n" + +const newsLinkStart = `` + +templ Coins() { + {{ p := ctx.Value("printer").(i18n.Printer) }} +
+ @navbar() +

{ p.T("Euro Coins") }

+
+
+

+ @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)) +

+
+
+ +
+
+} -- cgit v1.2.3