mirror of
https://github.com/eduardolat/pgbackweb.git
synced 2026-02-17 19:10:19 -06:00
Add SupportProjectAnchor function to create a link for the support project modal
This commit is contained in:
@@ -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),
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user