(no commit message provided)

This commit is contained in:
Prad Nukala
2024-07-05 22:20:13 -04:00
committed by Prad Nukala (aider)
commit 5fd43dfd6b
457 changed files with 115535 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
package components
templ Home(sessionID string) {
@RootLayout() {
@Container() {
@Header("Sonr.ID", "The most secure crypto wallet ever made.")
@Rows() {
@SecondaryButton("Login", "/login")
@PrimaryButton("Register", "/register")
}
}
@footer(sessionID)
}
}
templ Login(sessionID string) {
@RootLayout() {
@Container() {
@Header("Login", "Authenticate with your existing Sonr Identity.")
This is the Login page.
}
@footer(sessionID)
}
}
templ Register(sessionID string, challenge string) {
@RootLayout() {
@Container() {
@Header("Register", "Begin your Interchain Journey securely with a Sonr Identity.")
@Form("register", "/api/register/finish", "POST") {
@NameInput()
@UsernameInput()
@PasskeyButton("register")
}
}
}
@footer(sessionID)
}