diff options
-rw-r--r-- | i18n/catalog.go | 93 | ||||
-rw-r--r-- | i18n/locales/en-GB/messages.gotext.json | 119 | ||||
-rw-r--r-- | i18n/locales/nl-NL/messages.gotext.json | 93 | ||||
-rw-r--r-- | main.go | 1 | ||||
-rw-r--r-- | templates/about.templ | 52 | ||||
-rw-r--r-- | templates/about_templ.go | 185 | ||||
-rw-r--r-- | templates/navbar.templ | 2 | ||||
-rw-r--r-- | templates/navbar_templ.go | 4 |
8 files changed, 518 insertions, 31 deletions
diff --git a/i18n/catalog.go b/i18n/catalog.go index f01b375..ccf4068 100644 --- a/i18n/catalog.go +++ b/i18n/catalog.go @@ -39,41 +39,78 @@ func init() { } var messageKeyToIndex = map[string]int{ - "Banknotes": 4, - "Coin Collecting": 2, - "Coins": 3, - "Discord": 6, - "Eurozone Languages": 11, - "Feel free to contact us!": 8, - "Found a mistake or want to contribute missing information?": 7, - "Home": 0, - "Jargon": 5, - "News": 1, - "Other Languages": 12, - "Select Your Language": 9, - "Select your preferred language to use on the site.": 10, + "About": 13, + "About Us": 1, + "Banknotes": 10, + "Coin Collecting": 8, + "Coins": 9, + "Contact Us": 4, + "Discord": 12, + "Eurozone Languages": 24, + "Feel free to contact us!": 16, + "Found a mistake or want to contribute missing information?": 15, + "Home": 6, + "Jargon": 11, + "Language": 14, + "News": 7, + "Open Source": 2, + "Other Languages": 25, + "Page not found": 0, + "Select Your Language": 22, + "Select your preferred language to use on the site.": 23, + "The Euro Cash Compendium": 17, + "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.": 3, + "United in": 18, + "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.": 21, + "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.": 5, + "cash": 20, + "diversity": 19, } -var en_GBIndex = []uint32{ // 14 elements - 0x00000000, 0x00000005, 0x0000000a, 0x0000001a, - 0x00000020, 0x0000002a, 0x00000031, 0x00000039, - 0x00000074, 0x0000008d, 0x000000a2, 0x000000d5, - 0x000000e8, 0x000000f8, -} // Size: 80 bytes +var en_GBIndex = []uint32{ // 27 elements + 0x00000000, 0x0000000f, 0x00000018, 0x00000024, + 0x00000189, 0x00000194, 0x00000385, 0x0000038a, + 0x0000038f, 0x0000039f, 0x000003a5, 0x000003af, + 0x000003b6, 0x000003be, 0x000003c4, 0x000003cd, + 0x00000408, 0x00000421, 0x0000043a, 0x00000444, + 0x0000044e, 0x00000453, 0x0000056b, 0x00000580, + 0x000005b3, 0x000005c6, 0x000005d6, +} // Size: 132 bytes -const en_GBData string = "" + // Size: 248 bytes - "\x02Home\x02News\x02Coin Collecting\x02Coins\x02Banknotes\x02Jargon\x02D" + - "iscord\x02Found a mistake or want to contribute missing information?\x02" + - "Feel free to contact us!\x02Select Your Language\x02Select your preferre" + - "d language to use on the site.\x02Eurozone Languages\x02Other Languages" +const en_GBData string = "" + // Size: 1494 bytes + "\x02Page not found\x02About Us\x02Open Source\x02This website is an open" + + " project, and a collaboration between developers, translators, and resea" + + "rchers. All source code, data, images, and more for the website are open" + + " source and can be found %[1]shere%[2]s. This site is licensed under the" + + " BSD 0-Clause license giving you the full freedom to do whatever you wou" + + "ld like with any of the content on this site.\x02Contact Us\x02While 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 hes" + + "itate 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 ar" + + "e more technically included, but if not you can always send an email to " + + "%[1]s or contact ‘@onetruemangoman’ on Discord.\x02Home\x02News\x02Coin " + + "Collecting\x02Coins\x02Banknotes\x02Jargon\x02Discord\x02About\x02Langua" + + "ge\x02Found a mistake or want to contribute missing information?\x02Feel" + + " free to contact us!\x02The Euro Cash Compendium\x02United in\x02diversi" + + "ty\x02cash\x02Welcome to the Euro Cash Compendium. This sites aims to be" + + " a resource for you to discover everything there is to know about the co" + + "ins and banknotes of the Euro, a currency that spans 26 countries and 35" + + "0 million people. We also have dedicated sections of the site for collec" + + "tors.\x02Select Your Language\x02Select your preferred language to use o" + + "n the site.\x02Eurozone Languages\x02Other Languages" -var nl_NLIndex = []uint32{ // 14 elements +var nl_NLIndex = []uint32{ // 27 elements 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, - 0x00000000, 0x00000000, -} // Size: 80 bytes + 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, 0x00000000, + 0x00000000, 0x00000000, 0x00000000, +} // Size: 132 bytes const nl_NLData string = "" -// Total table size 408 bytes (0KiB); checksum: E5CA15 +// Total table size 1758 bytes (1KiB); checksum: 8485E573 diff --git a/i18n/locales/en-GB/messages.gotext.json b/i18n/locales/en-GB/messages.gotext.json index 64c1a2a..4b0b247 100644 --- a/i18n/locales/en-GB/messages.gotext.json +++ b/i18n/locales/en-GB/messages.gotext.json @@ -2,6 +2,76 @@ "language": "en-GB", "messages": [ { + "id": "Page not found", + "message": "Page not found", + "translation": "Page not found", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "About Us", + "message": "About Us", + "translation": "About Us", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "Open Source", + "message": "Open Source", + "translation": "Open Source", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "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 {LinkStart}here{LinkEnd}. 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.", + "message": "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 {LinkStart}here{LinkEnd}. 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.", + "translation": "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 {LinkStart}here{LinkEnd}. 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.", + "translatorComment": "Copied from source.", + "placeholders": [ + { + "id": "LinkStart", + "string": "%[1]s", + "type": "string", + "underlyingType": "string", + "argNum": 1, + "expr": "linkStart" + }, + { + "id": "LinkEnd", + "string": "%[2]s", + "type": "string", + "underlyingType": "string", + "argNum": 2, + "expr": "linkEnd" + } + ], + "fuzzy": true + }, + { + "id": "Contact Us", + "message": "Contact Us", + "translation": "Contact Us", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "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 {ContactEmail} or contact ‘@onetruemangoman’ on Discord.", + "message": "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 {ContactEmail} or contact ‘@onetruemangoman’ on Discord.", + "translation": "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 {ContactEmail} or contact ‘@onetruemangoman’ on Discord.", + "translatorComment": "Copied from source.", + "placeholders": [ + { + "id": "ContactEmail", + "string": "%[1]s", + "type": "string", + "underlyingType": "string", + "argNum": 1, + "expr": "contactEmail" + } + ], + "fuzzy": true + }, + { "id": "Home", "message": "Home", "translation": "Home", @@ -51,6 +121,20 @@ "fuzzy": true }, { + "id": "About", + "message": "About", + "translation": "About", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "Language", + "message": "Language", + "translation": "Language", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { "id": "Found a mistake or want to contribute missing information?", "message": "Found a mistake or want to contribute missing information?", "translation": "Found a mistake or want to contribute missing information?", @@ -65,6 +149,41 @@ "fuzzy": true }, { + "id": "The Euro Cash Compendium", + "message": "The Euro Cash Compendium", + "translation": "The Euro Cash Compendium", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "United in", + "message": "United in", + "translation": "United in", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "diversity", + "message": "diversity", + "translation": "diversity", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "cash", + "message": "cash", + "translation": "cash", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { + "id": "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.", + "message": "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.", + "translation": "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.", + "translatorComment": "Copied from source.", + "fuzzy": true + }, + { "id": "Select Your Language", "message": "Select Your Language", "translation": "Select Your Language", diff --git a/i18n/locales/nl-NL/messages.gotext.json b/i18n/locales/nl-NL/messages.gotext.json index d1cd455..fb18cfb 100644 --- a/i18n/locales/nl-NL/messages.gotext.json +++ b/i18n/locales/nl-NL/messages.gotext.json @@ -2,6 +2,64 @@ "language": "nl-NL", "messages": [ { + "id": "Page not found", + "message": "Page not found", + "translation": "" + }, + { + "id": "About Us", + "message": "About Us", + "translation": "" + }, + { + "id": "Open Source", + "message": "Open Source", + "translation": "" + }, + { + "id": "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 {LinkStart}here{LinkEnd}. 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.", + "message": "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 {LinkStart}here{LinkEnd}. 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.", + "translation": "", + "placeholders": [ + { + "id": "LinkStart", + "string": "%[1]s", + "type": "string", + "underlyingType": "string", + "argNum": 1, + "expr": "linkStart" + }, + { + "id": "LinkEnd", + "string": "%[2]s", + "type": "string", + "underlyingType": "string", + "argNum": 2, + "expr": "linkEnd" + } + ] + }, + { + "id": "Contact Us", + "message": "Contact Us", + "translation": "" + }, + { + "id": "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 {ContactEmail} or contact ‘@onetruemangoman’ on Discord.", + "message": "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 {ContactEmail} or contact ‘@onetruemangoman’ on Discord.", + "translation": "", + "placeholders": [ + { + "id": "ContactEmail", + "string": "%[1]s", + "type": "string", + "underlyingType": "string", + "argNum": 1, + "expr": "contactEmail" + } + ] + }, + { "id": "Home", "message": "Home", "translation": "" @@ -37,6 +95,16 @@ "translation": "" }, { + "id": "About", + "message": "About", + "translation": "" + }, + { + "id": "Language", + "message": "Language", + "translation": "" + }, + { "id": "Found a mistake or want to contribute missing information?", "message": "Found a mistake or want to contribute missing information?", "translation": "" @@ -47,6 +115,31 @@ "translation": "" }, { + "id": "The Euro Cash Compendium", + "message": "The Euro Cash Compendium", + "translation": "" + }, + { + "id": "United in", + "message": "United in", + "translation": "" + }, + { + "id": "diversity", + "message": "diversity", + "translation": "" + }, + { + "id": "cash", + "message": "cash", + "translation": "" + }, + { + "id": "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.", + "message": "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.", + "translation": "" + }, + { "id": "Select Your Language", "message": "Select Your Language", "translation": "" @@ -19,6 +19,7 @@ import ( var components = map[string]templ.Component{ "/": templates.Index(), + "/about": templates.About(), "/language": templates.SetLanguage(), } diff --git a/templates/about.templ b/templates/about.templ new file mode 100644 index 0000000..18cdc4e --- /dev/null +++ b/templates/about.templ @@ -0,0 +1,52 @@ +package templates + +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>` +) + +templ About() { + {{ p := ctx.Value("printer").(i18n.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.", linkStart, 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> +} diff --git a/templates/about_templ.go b/templates/about_templ.go new file mode 100644 index 0000000..5a37511 --- /dev/null +++ b/templates/about_templ.go @@ -0,0 +1,185 @@ +// Code generated by templ - DO NOT EDIT. + +// templ: version: v0.2.747 +package templates + +//lint:file-ignore SA4006 This context is only used if a nested component is present. + +import "github.com/a-h/templ" +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>` +) + +func About() templ.Component { + return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) { + templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W) + if !templ_7745c5c3_IsBuffer { + defer func() { + templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer) + if templ_7745c5c3_Err == nil { + templ_7745c5c3_Err = templ_7745c5c3_BufErr + } + }() + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var1 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1 == nil { + templ_7745c5c3_Var1 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + p := ctx.Value("printer").(i18n.Printer) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<header>") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = navbar().Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<h1>") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var2 string + templ_7745c5c3_Var2, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("About Us")) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `about.templ`, Line: 15, Col: 23} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var2)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("</h1></header><main><h2>") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var3 string + templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("Open Source")) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `about.templ`, Line: 18, Col: 26} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("</h2><p>") + 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) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("</p><h2>") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var4 string + templ_7745c5c3_Var4, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("Contact Us")) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `about.templ`, Line: 22, Col: 25} + } + _, 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("</h2><p>") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = 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)).Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("</p><h2>") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var5 string + templ_7745c5c3_Var5, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("Special Thanks")) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `about.templ`, Line: 26, Col: 29} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var5)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("</h2><table><thead><th scope=\"col\">") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var6 string + templ_7745c5c3_Var6, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("Development")) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `about.templ`, Line: 29, Col: 40} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var6)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("</th><th scope=\"col\">") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var7 string + templ_7745c5c3_Var7, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("Research")) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `about.templ`, Line: 30, Col: 37} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var7)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("</th><th scope=\"col\">") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var8 string + templ_7745c5c3_Var8, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("Translations")) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `about.templ`, Line: 31, Col: 41} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var8)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("</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=\"") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var9 string + templ_7745c5c3_Var9, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("British- & American English")) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `about.templ`, Line: 45, Col: 61} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var9)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\">Thomas Voss</span>, <span data-tooltip=\"") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + var templ_7745c5c3_Var10 string + templ_7745c5c3_Var10, templ_7745c5c3_Err = templ.JoinStringErrs(p.T("Icelandic")) + if templ_7745c5c3_Err != nil { + return templ.Error{Err: templ_7745c5c3_Err, FileName: `about.templ`, Line: 46, Col: 43} + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var10)) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\">Védís Indriðadóttir</span></td></tr></tbody></table></main>") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + return templ_7745c5c3_Err + }) +} diff --git a/templates/navbar.templ b/templates/navbar.templ index 8f156e7..4e1d104 100644 --- a/templates/navbar.templ +++ b/templates/navbar.templ @@ -24,7 +24,7 @@ templ navbar() { { p.T("Discord") } </a> </li> - <li><a href="#TODO">{ p.T("About") }</a></li> + <li><a href="/about">{ p.T("About") }</a></li> <li id="nav-icon-lang"> <a href="/language"> <svg diff --git a/templates/navbar_templ.go b/templates/navbar_templ.go index f337657..c2132e1 100644 --- a/templates/navbar_templ.go +++ b/templates/navbar_templ.go @@ -120,14 +120,14 @@ func navbar() templ.Component { 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=\"/about\">") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } 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: 37} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `navbar.templ`, Line: 27, Col: 38} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var9)) if templ_7745c5c3_Err != nil { |