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
+7 -5
View File
@@ -2,14 +2,16 @@ package grant
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("authorize-view", blocks.SizeMedium) {
@blocks.H1("Sonr.ID")
@blocks.Text("Neo-tree is a file manager for NeoFS.")
@styles.Layout("Sonr.ID", true) {
@ui.Card("authorize-view", styles.SizeMedium) {
@styles.H1("Sonr.ID")
@styles.Text("Neo-tree is a file manager for NeoFS.")
}
}
}