24 lines
455 B
Go
Raw Normal View History

2024-05-19 23:56:53 +02:00
package components
import (
g "github.com/maragudk/gomponents"
hx "github.com/maragudk/gomponents-htmx"
. "github.com/maragudk/gomponents/html"
b "github.com/willoma/bulma-gomponents"
)
func Login() g.Node {
2024-06-11 11:03:08 +02:00
return FormEl(hx.Post("https://api.portfolio.dariusklein.nl/login"),
2024-05-19 23:56:53 +02:00
b.Section(
Email(false, false, nil),
Password(false, false, nil),
b.Field(
b.Grouped,
b.Control(
b.Button(b.Link, "login"),
),
),
),
)
}