init go project

This commit is contained in:
juancwu 2025-10-10 08:14:33 -04:00
commit 5dde43e409
85 changed files with 16720 additions and 0 deletions

View file

@ -0,0 +1,30 @@
// templui component skeleton - version: v0.101.0 installed by templui v0.101.0
// 📚 Documentation: https://templui.io/docs/components/skeleton
package skeleton
import "git.juancwu.dev/juancwu/budgething/internal/utils"
type Props struct {
ID string
Class string
Attributes templ.Attributes
}
templ Skeleton(props ...Props) {
{{ var p Props }}
if len(props) > 0 {
{{ p = props[0] }}
}
<div
if p.ID != "" {
id={ p.ID }
}
class={
utils.TwMerge(
"animate-pulse rounded bg-muted",
p.Class,
),
}
{ p.Attributes... }
></div>
}