mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-03 01:41:44 +00:00
feature/1126 implement pkl config (#1161)
- **refactor: move marketing pages to** - **feat: add role select input**
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
package modals
|
||||
|
||||
import (
|
||||
"github.com/labstack/echo/v4"
|
||||
"github.com/onsonr/sonr/pkg/nebula/auth"
|
||||
"github.com/onsonr/sonr/pkg/nebula/global/styles"
|
||||
)
|
||||
|
||||
// RegisterModal returns the Register Modal.
|
||||
templ RegisterModal(c echo.Context) {
|
||||
@styles.OpenModal("Account Registration", "Enter your account information below to create your account.") {
|
||||
@auth.RegisterStart()
|
||||
}
|
||||
}
|
||||
|
||||
// LoginModal returns the Login Modal.
|
||||
templ LoginModal(c echo.Context) {
|
||||
@styles.OpenModal("Account Registration", "Enter your account information below to create your account.") {
|
||||
@auth.LoginStart()
|
||||
}
|
||||
}
|
||||
|
||||
// AuthorizeModal returns the Authorize Modal.
|
||||
templ AuthorizeModal(c echo.Context) {
|
||||
@styles.OpenModal("Account Registration", "Enter your account information below to create your account.") {
|
||||
@auth.AuthorizeStart()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user