package views import ( "fmt" "github.com/ditatompel/xmr-remote-nodes/internal/config" "time" ) var buildTime = time.Now().Unix() type Meta struct { Title string Description string Keywords string Robots string Permalink string Identifier string } templ base(m Meta) { { m.Title } — xmr.ditatompel.com @navbar(m.Identifier)
{ children... }
} templ BaseLayout(m Meta, cmp templ.Component) { @base(m) { @cmp } } templ BlankLayout(cmp templ.Component) { @cmp } templ ModalLayout(title string, cmp templ.Component) {
} templ heroGradient() { } templ Alert(status, message string) { switch status { case "success":
Success: { message }
case "error":
Error: { message }
default:
{ message }
} }