refactor: update templ version to v0.2.778 and remove unused air config

This commit is contained in:
Prad Nukala
2024-11-23 16:32:15 -05:00
parent 89989fa102
commit 1568844255
34 changed files with 36 additions and 210 deletions
+2 -16
View File
@@ -22,10 +22,8 @@ const (
FaBrands FontAwesome = "fa-brands"
)
func Icon(s FontAwesome) IconFunc {
return func(name string) templ.Component {
return renderIcon(s, name)
}
func (s FontAwesome) Icon(name string) templ.Component {
return renderIcon(s, name)
}
func renderIcon(s FontAwesome, name string) templ.Component {
@@ -39,15 +37,3 @@ func formatIconClass(s FontAwesome, name string) string {
templ faIcon(class string) {
<i class={ class }></i>
}
templ RegularIcon() {
}
templ LightIcon() {
}
templ ThinIcon() {
}
templ BrandsIcon() {
}