Solidarity transport implementation

This commit is contained in:
2025-03-05 00:42:47 +01:00
parent 82773f090b
commit 0cc1c1451c
23 changed files with 701 additions and 93 deletions

View File

@@ -1,19 +1,20 @@
{{define "mainmenu"}}
{{range .LayoutState.MenuItems}}
{{range .LayoutState.Menu}}
{{if moduleAvailable .name }}
<nav class="px-2 space-y-1">
<a href="{{.Link}}"
{{ if .Active }}
<a href="{{.link}}"
{{ if eq .name $.LayoutState.ActiveMenu }}
class="bg-white text-co-blue group flex items-center px-2 py-2 text-base font-medium rounded-2xl">
{{ else}}
class="text-white hover:bg-white hover:bg-opacity-5 hover:text-co-blue group flex items-center px-2 py-2 text-base font-medium rounded-2xl">
{{end}}
{{$.IconSet.Icon .Icon "mr-4 flex-shrink-0 h-6 w-6"}}
{{$.IconSet.Icon .icon "mr-4 flex-shrink-0 h-6 w-6"}}
{{.Title}}
{{.title}}
</a>
</nav>
{{end}}
{{end}}
{{end}}