mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 18:31:41 +00:00
refactor: refactor authentication pages into their own modules
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
package login
|
||||
|
||||
import (
|
||||
"github.com/onsonr/sonr/pkg/webapp/components/ui"
|
||||
"github.com/onsonr/sonr/pkg/webapp/pages/login/internal"
|
||||
)
|
||||
|
||||
// RedirectModal returns the Modal with a QR code to scan.
|
||||
templ Page() {
|
||||
@ui.FullScreenModal() {
|
||||
<div class="relative text-center">
|
||||
@internal.RegisterHeader()
|
||||
@ui.Separator("Or Reserve Handle")
|
||||
@internal.ReserveHandleForm()
|
||||
</div>
|
||||
@internal.RegisterFooter()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user