Files
sonr/internal/dwn/front/views/register.templ
T
Prad NukalaandGitHub a115b79db7 feature/dwn echo middleware (#17)
* 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
2024-09-19 19:09:01 -04:00

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")
}
}
}