mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
20 lines
384 B
Templ
20 lines
384 B
Templ
package views
|
|||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/labstack/echo/v4"
|
||
|
|
"github.com/onsonr/sonr/internal/gui/elements"
|
||
|
|
)
|
||
|
|
|
||
|
|
func ProfileView(c echo.Context) error {
|
||
|
|
return echoComponentResponse(c, renderProfileView())
|
||
|
|
}
|
||
|
|
|
||
|
|
templ renderProfileView() {
|
||
|
|
@elements.Layout("Profile | Sonr.ID") {
|
||
|
|
@elements.Card("profile-view", elements.SizeLarge) {
|
||
|
|
@elements.ProfileCard()
|
||
|
|
@elements.Tabs()
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|