Add SupportProjectAnchor function to create a link for the support project modal

This commit is contained in:
Luis Eduardo
2025-02-06 00:46:44 +00:00
parent f19e183e2d
commit aec2fdaf10

View File

@@ -130,3 +130,16 @@ func SupportProjectButton(size size) nodx.Node {
),
)
}
func SupportProjectAnchor(text string) nodx.Node {
mo := SupportProjectModal()
return nodx.Group(
mo.HTML,
nodx.A(
mo.OpenerAttr,
nodx.Class("link"),
SpanText(text),
),
)
}