proper-website-2/src/header.go

17 lines
248 B
Go
Raw Permalink Normal View History

2022-03-15 12:48:47 +01:00
package main
2022-03-01 15:50:53 +01:00
import "github.com/maxence-charriere/go-app/v9/pkg/app"
type header struct {
app.Compo
}
func (h *header) Render() app.UI {
2022-03-15 14:12:15 +01:00
return app.Div().
Class("header").
Body(
app.Text("Internetica Galactica"),
2022-03-15 16:42:26 +01:00
//&updater{},
2022-03-15 14:12:15 +01:00
)
2022-03-01 15:50:53 +01:00
}