mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
* Squash merge develop into master * feat: add automated production release workflow * feat: add Gitflow workflow for syncing branches * ci: update workflow runner to latest ubuntu version * feat: enable buf.build publishing on master and develop branches --------- Co-authored-by: Prad Nukala <prad@sonr.io>
26 lines
573 B
Templ
26 lines
573 B
Templ
package views
|
|
|
|
import (
|
|
"github.com/labstack/echo/v4"
|
|
"github.com/onsonr/sonr/internal/gui/elements"
|
|
)
|
|
|
|
func LoginView(c echo.Context) error {
|
|
return echoComponentResponse(c, renderLoginView())
|
|
}
|
|
|
|
templ renderLoginView() {
|
|
@elements.Layout("Login | Sonr.ID") {
|
|
@elements.Card("login-view", elements.SizeLarge) {
|
|
@elements.H1("Sonr.ID")
|
|
@elements.Text("Neo-tree is a file manager for NeoFS.")
|
|
@elements.Spacer()
|
|
@elements.RadioGroup()
|
|
@elements.Spacer()
|
|
@elements.Button(elements.GET("/", "#login-view")) {
|
|
@elements.Text("Cancel")
|
|
}
|
|
}
|
|
}
|
|
}
|