mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
* fix: update commitizen version * feat: add WASM build tags to db actions * feat: Update all actions to follow `AddAsset` for error handling * feat: remove database dependency in dwn and motr commands * feat: add basic info form to registration view * feat: implement basic browser navigation component * refactor: move database related files to middleware * fix: remove unused test command * fix: update source directory for buf-publish workflow
20 lines
430 B
Templ
20 lines
430 B
Templ
package views
|
|
|
|
import (
|
|
"github.com/labstack/echo/v4"
|
|
"github.com/onsonr/sonr/internal/dwn/elements"
|
|
)
|
|
|
|
func AuthorizeView(c echo.Context) error {
|
|
return echoComponentResponse(c, renderAuthorizeView())
|
|
}
|
|
|
|
templ renderAuthorizeView() {
|
|
@elements.Layout("Login | Sonr.ID") {
|
|
@elements.Card("authorize-view", elements.SizeMedium) {
|
|
@elements.H1("Sonr.ID")
|
|
@elements.Text("Neo-tree is a file manager for NeoFS.")
|
|
}
|
|
}
|
|
}
|