sonr/nebula/pages/profile.templ

20 lines
352 B
Plaintext
Raw Normal View History

2024-09-22 02:51:52 -04:00
package pages
import (
"github.com/labstack/echo/v4"
"github.com/onsonr/sonr/nebula/blocks"
2024-09-22 02:51:52 -04:00
)
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()
}
2024-09-22 02:51:52 -04:00
}
}