Files
sonr/pkg/nebula/pages/profile.templ
T

20 lines
367 B
Templ
Raw Normal View History

2024-09-22 02:51:52 -04:00
package pages
import (
"github.com/labstack/echo/v4"
2024-09-29 14:40:36 -04:00
"github.com/onsonr/sonr/pkg/nebula/components/blocks"
2024-09-22 02:51:52 -04:00
)
2024-09-24 17:54:33 -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
}
}