feat: add login and registration pages

This commit is contained in:
Prad Nukala
2024-10-01 14:42:11 -04:00
parent d486becbc6
commit e807691c64
24 changed files with 385 additions and 101 deletions
+21
View File
@@ -0,0 +1,21 @@
package login
import (
"github.com/labstack/echo/v4"
"github.com/onsonr/sonr/pkg/nebula/components/blocks"
)
templ View(c echo.Context) {
@blocks.Layout("Sonr.ID", true) {
@blocks.Card("login-view", blocks.SizeLarge) {
@blocks.H1("Sonr.ID")
@blocks.Text("Neo-tree is a file manager for NeoFS.")
@blocks.Spacer()
@blocks.RadioGroup()
@blocks.Spacer()
@blocks.Button(blocks.GET("/", "#login-view")) {
@blocks.Text("Cancel")
}
}
}
}