mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
* refactor: remove indexedDB dependency and replace with browser filesystem * refactor: remove unused layout templating from global block * feat: add support for building from source * feat: add Credential creation and retrieval via Dexie database * feat: add breadcrumbs component
25 lines
602 B
Templ
25 lines
602 B
Templ
package views
|
|
|
|
import (
|
|
"github.com/labstack/echo/v4"
|
|
"github.com/onsonr/sonr/internal/dwn/front/blocks"
|
|
"github.com/onsonr/sonr/internal/dwn/front/islands"
|
|
)
|
|
|
|
func RegisterView(c echo.Context) error {
|
|
return echoComponentResponse(c, renderRegisterView(c))
|
|
}
|
|
|
|
templ renderRegisterView(c echo.Context) {
|
|
@blocks.Card("register-view", blocks.SizeMedium) {
|
|
@blocks.H2("Account Registration")
|
|
@blocks.Spacer()
|
|
@blocks.Breadcrumbs()
|
|
@islands.BasicInfo(c, islands.InitialForm)
|
|
@blocks.Spacer()
|
|
@blocks.Button(blocks.GET("/", "#register-view")) {
|
|
@blocks.Text("Cancel")
|
|
}
|
|
}
|
|
}
|