mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 18:31:41 +00:00
20 lines
424 B
Templ
20 lines
424 B
Templ
package views
|
|||
|
|
|
||
|
|
import (
|
||
|
|
"github.com/labstack/echo/v4"
|
||
|
|
"github.com/onsonr/sonr/internal/dwn/front/blocks"
|
||
|
|
)
|
||
|
|
|
||
|
|
func AuthorizeView(c echo.Context) error {
|
||
|
|
return echoComponentResponse(c, renderAuthorizeView())
|
||
|
|
}
|
||
|
|
|
||
|
|
templ renderAuthorizeView() {
|
||
|
|
@blocks.Layout("Login | Sonr.ID") {
|
||
|
|
@blocks.Card("authorize-view", blocks.SizeMedium) {
|
||
|
|
@blocks.H1("Sonr.ID")
|
||
|
|
@blocks.Text("Neo-tree is a file manager for NeoFS.")
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|