Files
sonr/pkg/nebula/views/login.templ
T

25 lines
509 B
Templ
Raw Normal View History

2024-09-18 02:22:17 -04:00
package views
import (
"github.com/labstack/echo/v4"
2024-09-21 21:42:51 -04:00
"github.com/onsonr/sonr/pkg/nebula/blocks"
2024-09-18 02:22:17 -04:00
)
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")
}
}
}