feat: implement passkey registration flow

This commit is contained in:
Prad Nukala
2024-12-09 16:23:18 -05:00
parent 27d4dfcdfd
commit 0e8b92e53d
11 changed files with 182 additions and 82 deletions
@@ -6,11 +6,11 @@ import (
"github.com/onsonr/sonr/pkg/blocks/text"
)
templ ProfileFormView(turnstileSiteKey string) {
templ ProfileFormView(data forms.CreateProfileData) {
@layout.Root("New Profile | Sonr.ID") {
@layout.Container() {
@text.Header("Create a Profile", "Enter some basic information about yourself.")
@forms.CreateProfile("/register/start", "POST")
@forms.CreateProfile("/register/start", "POST", data)
}
}
}