feat: add working prototype for via

This commit is contained in:
Joao Goncalves
2025-10-31 00:58:53 -01:00
parent d15af60a1d
commit eb20a2a0a9
13 changed files with 1330 additions and 0 deletions

13
h/util.go Normal file
View File

@@ -0,0 +1,13 @@
package h
import (
g "maragu.dev/gomponents"
)
func retype(nodes []H) []g.Node {
list := make([]g.Node, len(nodes))
for i, node := range nodes {
list[i] = node.(g.Node)
}
return list
}