mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 01:41:44 +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
24 lines
515 B
Templ
24 lines
515 B
Templ
package views
|
|
|
|
import (
|
|
"github.com/labstack/echo/v4"
|
|
"github.com/onsonr/sonr/internal/dwn/front/blocks"
|
|
)
|
|
|
|
func LoginView(c echo.Context) error {
|
|
return echoComponentResponse(c, renderLoginView())
|
|
}
|
|
|
|
templ renderLoginView() {
|
|
@blocks.Card("login-view", blocks.SizeLarge) {
|
|
@blocks.H1("Sonr.ID")
|
|
@blocks.Text("Neo-tree is a file manager for NeoFS.")
|
|
@blocks.Spacer()
|
|
@blocks.RadioGroup()
|
|
@blocks.Spacer()
|
|
@blocks.Button(blocks.GET("/", "#login-view")) {
|
|
@blocks.Text("Cancel")
|
|
}
|
|
}
|
|
}
|