mirror of
https://github.com/onsonr/sonr.git
synced 2025-03-10 13:07:09 +00:00
20 lines
400 B
Plaintext
20 lines
400 B
Plaintext
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.")
|
|
}
|
|
}
|
|
}
|