diff --git a/views/landingpage/footer.templ b/views/landingpage/footer.templ index 16b5c73..b62ce9d 100644 --- a/views/landingpage/footer.templ +++ b/views/landingpage/footer.templ @@ -36,8 +36,8 @@ templ FooterContact() { } templ FooterNav(title string, data []services.FooterSubNav) { -
- +
+ for _, d := range data {
{ d.FootSubNavTitle } diff --git a/views/landingpage/footer_templ.go b/views/landingpage/footer_templ.go index 02853f0..efc6800 100644 --- a/views/landingpage/footer_templ.go +++ b/views/landingpage/footer_templ.go @@ -49,14 +49,14 @@ func FooterNav(title string, data []services.FooterSubNav) templ.Component { templ_7745c5c3_Var2 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } var templ_7745c5c3_Var3 string templ_7745c5c3_Var3, templ_7745c5c3_Err = templ.JoinStringErrs(title) if templ_7745c5c3_Err != nil { - return templ.Error{Err: templ_7745c5c3_Err, FileName: `views\landingpage\footer.templ`, Line: 40, Col: 51} + return templ.Error{Err: templ_7745c5c3_Err, FileName: `views\landingpage\footer.templ`, Line: 40, Col: 56} } _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString(templ.EscapeString(templ_7745c5c3_Var3)) if templ_7745c5c3_Err != nil {