2024-11-27 13:37:07 -05:00
|
|
|
package login
|
|
|
|
|
|
|
|
|
|
import (
|
2024-11-27 18:24:14 -05:00
|
|
|
"github.com/onsonr/sonr/pkg/webapp/components/layout"
|
|
|
|
|
"github.com/onsonr/sonr/pkg/webapp/components/view"
|
|
|
|
|
"github.com/onsonr/sonr/pkg/webapp/pages/auth/internal"
|
2024-11-27 13:37:07 -05:00
|
|
|
)
|
|
|
|
|
|
|
|
|
|
// RedirectModal returns the Modal with a QR code to scan.
|
|
|
|
|
templ Page() {
|
2024-11-27 18:24:14 -05:00
|
|
|
@view.FullScreenModal() {
|
2024-11-27 13:37:07 -05:00
|
|
|
<div class="relative text-center">
|
|
|
|
|
@internal.RegisterHeader()
|
2024-11-27 18:24:14 -05:00
|
|
|
@layout.Separator("Or Reserve Handle")
|
2024-11-27 13:37:07 -05:00
|
|
|
@internal.ReserveHandleForm()
|
|
|
|
|
</div>
|
|
|
|
|
@internal.RegisterFooter()
|
|
|
|
|
}
|
|
|
|
|
}
|