mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
20 lines
352 B
Templ
20 lines
352 B
Templ
package pages
|
|
|
|
import (
|
|
"github.com/labstack/echo/v4"
|
|
"github.com/onsonr/sonr/nebula/blocks"
|
|
)
|
|
|
|
func Profile(c echo.Context) error {
|
|
return echoResponse(c, profileView(c))
|
|
}
|
|
|
|
templ profileView(c echo.Context) {
|
|
@blocks.Layout("Sonr.ID", true) {
|
|
@blocks.Card("profile-view", blocks.SizeLarge) {
|
|
@blocks.ProfileCard()
|
|
@blocks.Tabs()
|
|
}
|
|
}
|
|
}
|