diff options
author | Thomas Voss <mail@thomasvoss.com> | 2024-08-08 13:57:06 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2024-08-08 16:50:19 +0200 |
commit | a6dca644d103644fac8b58e144bdfa2340b4ff7a (patch) | |
tree | fdabc90b751c87aef225b1de1e66195556205bff /templates | |
parent | 7bd45d83b251f035b55508f02240b53de631b170 (diff) |
Update autogenerated files
Diffstat (limited to 'templates')
-rw-r--r-- | templates/about_templ.go | 8 | ||||
-rw-r--r-- | templates/navbar_templ.go | 18 |
2 files changed, 13 insertions, 13 deletions
diff --git a/templates/about_templ.go b/templates/about_templ.go index 5a37511..5e3a0a8 100644 --- a/templates/about_templ.go +++ b/templates/about_templ.go @@ -11,9 +11,9 @@ import templruntime "github.com/a-h/templ/runtime" import "git.thomasvoss.com/euro-cash.eu/i18n" const ( - contactEmail = `<a href="mailto:mail@euro-cash.eu">mail@euro-cash.eu</a>` - linkStart = `<a href="https://git.thomasvoss.com/www.euro-cash.eu" target="_blank">` - linkEnd = `</a>` + 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>` ) func About() templ.Component { @@ -73,7 +73,7 @@ func About() templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = 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.", linkStart, linkEnd)).Render(ctx, templ_7745c5c3_Buffer) + templ_7745c5c3_Err = 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)).Render(ctx, templ_7745c5c3_Buffer) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/templates/navbar_templ.go b/templates/navbar_templ.go index c2132e1..3674775 100644 --- a/templates/navbar_templ.go +++ b/templates/navbar_templ.go @@ -36,7 +36,7 @@ func navbar() templ.Component { var templ_7745c5c3_Var2 string templ_7745c5c3_Var2, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("Home")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 10, Col: 32} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 9, Col: 32} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var2)) if templ_7745c5c3_Err != nil { @@ -49,7 +49,7 @@ func navbar() templ.Component { var templ_7745c5c3_Var3 string templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("News")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 11, Col: 36} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 10, Col: 36} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) if templ_7745c5c3_Err != nil { @@ -62,20 +62,20 @@ func navbar() templ.Component { var templ_7745c5c3_Var4 string templ_7745c5c3_Var4, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("Coin Collecting")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 12, Col: 47} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 11, Col: 47} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var4)) if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("</a></li><li><a href=\"#TODO\">") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("</a></li><li><a href=\"/coins\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var5 string templ_7745c5c3_Var5, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("Coins")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 13, Col: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 12, Col: 38} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var5)) if templ_7745c5c3_Err != nil { @@ -88,7 +88,7 @@ func navbar() templ.Component { var templ_7745c5c3_Var6 string templ_7745c5c3_Var6, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("Banknotes")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 14, Col: 41} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 13, Col: 41} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var6)) if templ_7745c5c3_Err != nil { @@ -101,7 +101,7 @@ func navbar() templ.Component { var templ_7745c5c3_Var7 string templ_7745c5c3_Var7, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("Jargon")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 15, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 14, Col: 38} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var7)) if templ_7745c5c3_Err != nil { @@ -114,7 +114,7 @@ func navbar() templ.Component { var templ_7745c5c3_Var8 string templ_7745c5c3_Var8, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("Discord")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 24, Col: 21} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 22, Col: 21} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var8)) if templ_7745c5c3_Err != nil { @@ -127,7 +127,7 @@ func navbar() templ.Component { var templ_7745c5c3_Var9 string templ_7745c5c3_Var9, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("About")) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 27, Col: 38} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 25, Col: 38} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var9)) if templ_7745c5c3_Err != nil { |