Set URL after loading database

This commit is contained in:
2024-11-15 11:55:31 -07:00
parent 0bab92db02
commit beef4523c2
4 changed files with 91 additions and 41 deletions

View File

@ -29,6 +29,7 @@ func hxTarget(target string) h.Attrib {
func HomePage() h.ParentElement {
return e.Div()(
e.H1()(h.Text("[untitled]")),
e.Button(
a.Type("button"),
hxGet("/hello"),
@ -38,3 +39,7 @@ func HomePage() h.ParentElement {
e.Div(a.Id("hello"))(),
)
}
func Splash() h.Term {
return h.Terms{}
}