package components import "gitlab.unjx.de/flohoss/godash/services" func displayDark(app services.Application) bool { return !app.IgnoreDark && app.IconLight != "" } templ Application(application services.Application) {
@templ.Raw(application.Icon)
if displayDark(application) {
@templ.Raw(application.IconLight)
}
{ application.Name }
} templ Link(link services.Link) {
{ link.Name }
}