summaryrefslogtreecommitdiffhomepage
path: root/template/root.templ
diff options
context:
space:
mode:
Diffstat (limited to 'template/root.templ')
-rw-r--r--template/root.templ23
1 files changed, 23 insertions, 0 deletions
diff --git a/template/root.templ b/template/root.templ
new file mode 100644
index 0000000..657314c
--- /dev/null
+++ b/template/root.templ
@@ -0,0 +1,23 @@
+package template
+
+import "git.thomasvoss.com/euro-cash.eu/lib"
+
+templ Root() {
+ {{ p := ctx.Value("printer").(lib.Printer) }}
+ <header>
+ @navbar()
+ <hgroup>
+ <h1>{ p.T("The Euro Cash Compendium") }</h1>
+ <p>
+ { p.T("United in") }
+ <del>{ p.T("diversity") }</del>
+ <ins>{ p.T("cash") }</ins>
+ </p>
+ </hgroup>
+ </header>
+ <main>
+ <p>
+ { p.T("Welcome to the Euro Cash Compendium. This sites aims to be a resource for you to discover everything there is to know about the coins and banknotes of the Euro, a currency that spans 26 countries and 350 million people. We also have dedicated sections of the site for collectors.") }
+ </p>
+ </main>
+}