refactor: refactor authentication pages into their own modules

This commit is contained in:
Prad Nukala
2024-11-27 13:37:07 -05:00
parent 44027b9303
commit 74d8d516b3
79 changed files with 1621 additions and 5687 deletions
+18
View File
@@ -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()
}
}