package pages import ( "fmt" "reichard.io/antholume/ngtemplates/components" "reichard.io/antholume/ngtemplates/common" ) func getNavigationLinkClass(isActive bool) string { defaultClass := "flex items-center justify-start w-full p-2 pl-6 my-2 transition-colors duration-200 border-l-4" if isActive { return fmt.Sprintf("%s border-purple-500 dark:text-white", defaultClass) } else { return fmt.Sprintf("%s border-transparent text-gray-400 hover:text-gray-800 dark:hover:text-gray-100", defaultClass) } } templ navigation(settings common.Settings) {

{ settings.Route.Name() }

@components.UserSVG("size-5")
} templ layout(settings common.Settings, title string) { AnthoLume - { title } @navigation(settings)
{ children... }
}