feat: implement new profile card component

This commit is contained in:
Prad Nukala
2024-10-07 10:20:14 -04:00
parent 0f2a5bf2b4
commit bac98b5e38
31 changed files with 276 additions and 719 deletions
+2 -2
View File
@@ -9,7 +9,7 @@ import "github.com/a-h/templ"
import templruntime "github.com/a-h/templ/runtime"
import (
"github.com/onsonr/sonr/pkg/nebula/components/blocks"
"github.com/onsonr/sonr/pkg/nebula/global/styles"
"github.com/onsonr/sonr/pkg/nebula/models"
)
@@ -108,7 +108,7 @@ func View(home *models.Home) templ.Component {
}
return templ_7745c5c3_Err
})
templ_7745c5c3_Err = blocks.LayoutNoBody("Sonr.ID", true).Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
templ_7745c5c3_Err = styles.LayoutNoBody("Sonr.ID", true).Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
if templ_7745c5c3_Err != nil {
return templ_7745c5c3_Err
}