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
+5 -4
View File
@@ -2,13 +2,14 @@ package profile
import (
"github.com/labstack/echo/v4"
"github.com/onsonr/sonr/pkg/nebula/components/blocks"
"github.com/onsonr/sonr/pkg/nebula/global/styles"
"github.com/onsonr/sonr/pkg/nebula/global/ui"
)
templ View(c echo.Context) {
@blocks.Layout("Sonr.ID", true) {
@blocks.Card("profile-view", blocks.SizeLarge) {
@blocks.ProfileCard()
@styles.Layout("Sonr.ID", true) {
@ui.Card("profile-view", styles.SizeLarge) {
@ui.ProfileCard()
}
}
}