package templates
type LoginData struct {
Page
Error string
Username string
}
templ loginBody(d LoginData) {
🐝
Veola
Open the door.
Sign in to continue.
if d.Error != "" {
{ d.Error }
}
}
templ Login(d LoginData) {
@Bare(d.Page, loginBody(d))
}
type SetupData struct {
Page
Error string
Username string
}
templ setupBody(d SetupData) {
🐝
Veola
First time here.
Create the admin account. Password must be at least 12 characters.
if d.Error != "" {
{ d.Error }
}
}
templ Setup(d SetupData) {
@Bare(d.Page, setupBody(d))
}