mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 10:21:40 +00:00
refactor: update templ version to v0.2.778 and remove unused air config
This commit is contained in:
@@ -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() {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user