mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
20 lines
400 B
Templ
20 lines
400 B
Templ
package pages
|
|
|
|
import (
|
|
"github.com/labstack/echo/v4"
|
|
"github.com/onsonr/sonr/nebula/blocks"
|
|
)
|
|
|
|
func Authorize(c echo.Context) error {
|
|
return echoResponse(c, authorizeView(c))
|
|
}
|
|
|
|
templ authorizeView(c echo.Context) {
|
|
@blocks.Layout("Sonr.ID", true) {
|
|
@blocks.Card("authorize-view", blocks.SizeMedium) {
|
|
@blocks.H1("Sonr.ID")
|
|
@blocks.Text("Neo-tree is a file manager for NeoFS.")
|
|
}
|
|
}
|
|
}
|