summaryrefslogtreecommitdiffhomepage
path: root/template.old/about.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.old/about.templ
parenta1d809960bee74df19c7e5fc34ffd1e4757cfdcb (diff)
Migrate away from templ and towards html/template
Diffstat (limited to 'template.old/about.templ')
-rw-r--r--template.old/about.templ52
1 files changed, 52 insertions, 0 deletions
diff --git a/template.old/about.templ b/template.old/about.templ
new file mode 100644
index 0000000..d7dfa06
--- /dev/null
+++ b/template.old/about.templ
@@ -0,0 +1,52 @@
+package template
+
+import "git.thomasvoss.com/euro-cash.eu/lib"
+
+const (
+ contactEmail = `<a href="mailto:mail@euro-cash.eu">mail@euro-cash.eu</a>`
+ repoLinkStart = `<a href="https://git.thomasvoss.com/www.euro-cash.eu" target="_blank">`
+ linkEnd = `</a>`
+)
+
+templ About() {
+ {{ p := ctx.Value("printer").(lib.Printer) }}
+ <header>
+ @navbar()
+ <h1>{ p.T("About Us") }</h1>
+ </header>
+ <main>
+ <h2>{ p.T("Open Source") }</h2>
+ <p>
+ @templ.Raw(p.T("This website is an open project, and a collaboration between developers, translators, and researchers. All source code, data, images, and more for the website are open source and can be found %shere%s. This site is licensed under the BSD 0-Clause license giving you the full freedom to do whatever you would like with any of the content on this site.", repoLinkStart, linkEnd))
+ </p>
+ <h2>{ p.T("Contact Us") }</h2>
+ <p>
+ @templ.Raw(p.T("While we try to stay as up-to-date as possible and to fact check our information, it is always possible that we get something wrong, lack a translation, or are missing some piece of data you may have. In such a case don’t hesitate to contact us; we’ll try to get the site updated or fixed as soon as possible. You are always free to contribute via a git patch if you are more technically included, but if not you can always send an email to %s or contact ‘@onetruemangoman’ on Discord.", contactEmail))
+ </p>
+ <h2>{ p.T("Special Thanks") }</h2>
+ <table>
+ <thead>
+ <th scope="col">{ p.T("Development") }</th>
+ <th scope="col">{ p.T("Research") }</th>
+ <th scope="col">{ p.T("Translations") }</th>
+ </thead>
+ <tbody>
+ <tr>
+ <td>
+ Jessika Wexler,
+ Lyyli Savolainen,
+ Ralf Nadel
+ </td>
+ <td>
+ Elín Hjartardóttir,
+ Storm Sørensen
+ </td>
+ <td>
+ <span data-tooltip={ p.T("British- & American English") }>Thomas Voss</span>,
+ <span data-tooltip={ p.T("Icelandic") }>Védís Indriðadóttir</span>
+ </td>
+ </tr>
+ </tbody>
+ </table>
+ </main>
+}