mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
26 lines
531 B
Templ
26 lines
531 B
Templ
package pages
|
|
|
|
import (
|
|
"github.com/labstack/echo/v4"
|
|
"github.com/onsonr/sonr/nebula/blocks"
|
|
)
|
|
|
|
func Login(c echo.Context) error {
|
|
return echoResponse(c, loginView(c))
|
|
}
|
|
|
|
templ loginView(c echo.Context) {
|
|
@blocks.Layout("Sonr.ID", true) {
|
|
@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")
|
|
}
|
|
}
|
|
}
|
|
}
|