updated some items in navigations (#1518)

This commit is contained in:
trean
2025-04-04 22:15:42 +02:00
committed by GitHub
parent 5a1d0abbc8
commit 7fe614208a
4 changed files with 55 additions and 39 deletions
@@ -180,6 +180,12 @@
min-width: unset;
}
a.footer__menu-section-title {
&:hover {
box-shadow: 0 1px 0 0 currentColor;
}
}
&__top-content {
padding: 0;
flex-direction: row;
@@ -26,7 +26,18 @@
<div class="row gx-lg-5 gy-5 gy-md-6">
{{ range .Params.menuItems }}
<div class="col-6 col-lg-4">
<p class="footer__menu-section-title">{{ .title }}</p>
{{ if .url }}
<a
href="{{ .url }}"
{{ if strings.HasPrefix .url "http" }}
target="_blank" rel="noopener noreferrer nofollow"
{{ end }}
class="footer__menu-section-title"
>{{ .title }}</a
>
{{ else }}
<p class="footer__menu-section-title">{{ .title }}</p>
{{ end }}
<ul class="footer__menu-items">
{{ range .items }}
<li class="footer__menu-item">