add margin

This commit is contained in:
2024-05-02 17:11:56 +07:00
parent 3baa3a2cac
commit a4f262af4c
2 changed files with 4 additions and 4 deletions

View File

@@ -36,8 +36,8 @@ templ FooterContact() {
}
templ FooterNav(title string, data []services.FooterSubNav) {
<div class="col-md col-lg">
<h4 class="footer-title text-white">{ title }</h4>
<div class="col-md col-lg mb-5">
<h4 class="footer-title text-white mb-6">{ title }</h4>
for _, d := range data {
<div>
<a class="footer-sub-title text-grey" href={ templ.SafeURL(d.FootSubNavLink) }>{ d.FootSubNavTitle }</a>

View File

@@ -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("<div class=\"col-md col-lg\"><h4 class=\"footer-title text-white\">")
_, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("<div class=\"col-md col-lg mb-5\"><h4 class=\"footer-title text-white mb-6\">")
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 {