feat: add new button components and layout improvements

This commit is contained in:
Prad Nukala
2024-11-27 18:24:14 -05:00
parent 74d8d516b3
commit 09e4d4d452
28 changed files with 941 additions and 766 deletions
+5 -4
View File
@@ -1,16 +1,17 @@
package login
import (
"github.com/onsonr/sonr/pkg/webapp/components/ui"
"github.com/onsonr/sonr/pkg/webapp/pages/login/internal"
"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"
)
// RedirectModal returns the Modal with a QR code to scan.
templ Page() {
@ui.FullScreenModal() {
@view.FullScreenModal() {
<div class="relative text-center">
@internal.RegisterHeader()
@ui.Separator("Or Reserve Handle")
@layout.Separator("Or Reserve Handle")
@internal.ReserveHandleForm()
</div>
@internal.RegisterFooter()