This commit is contained in:
2025-08-17 17:04:27 -04:00
parent f9f23f2d3f
commit 2eed0d9021
72 changed files with 2713 additions and 100 deletions

18
web/assets/icons.go Normal file
View File

@@ -0,0 +1,18 @@
package assets
import (
"strconv"
g "maragu.dev/gomponents"
h "maragu.dev/gomponents/html"
)
func Icon(name string, size int) g.Node {
return h.SVG(
g.Attr("width", strconv.Itoa(size)),
g.Attr("height", strconv.Itoa(size)),
g.Attr("viewBox", "0 0 24 24"),
g.Attr("fill", "currentColor"),
Asset("svgs/"+name+".svg"),
)
}