add password generator

This commit is contained in:
2025-03-07 12:33:40 -05:00
parent 116be25489
commit 0d386e2d9f
27 changed files with 17895 additions and 42 deletions

View File

@@ -59,6 +59,13 @@ func Flex(n ...Node) Node {
)
}
func FlexLeftRight(n ...Node) Node {
return Div(
InlineStyle("$me { display: flex; align-items: center; flex-direction: row; gap: $3; justify-content: space-between; }"),
Group(n),
)
}
func CardNoPadding(body ...Node) Node {
return Div(
InlineStyle(`
@@ -109,6 +116,12 @@ func ToText(i interface{}) Node {
}
// TEXT
func Heading(text string) Node {
return H1(
InlineStyle("$me { font-weight: bold; font-size: var(--text-2xl); letter-spacing: var(--tracking-tight); color: $color(black); }"),
Text(text),
)
}
func PageLink(location string, display Node, newPage bool) Node {
return A(
Href(location),