package pages import ( c "git.ekzyis.com/ekzyis/delphi.market/server/router/context" "git.ekzyis.com/ekzyis/delphi.market/server/router/pages/components" ) templ Index() { @components.Head() @components.Nav()
@components.Figlet("random", "delphi")
A prediction market using the lightning network
if ctx.Value(c.ReqPathContextKey).(string) == "/" {
} else {
optional
}
@components.Modal(nil) @components.Footer() } func tabStyle(path string, tab string) string { class := "!no-underline" if path == tab { class += " font-bold border-b-none" } return class }