18 lines
363 B
Go
18 lines
363 B
Go
package components
|
|
|
|
import "github.com/maxence-charriere/go-app/v9/pkg/app"
|
|
|
|
type header struct {
|
|
app.Compo
|
|
}
|
|
|
|
func (h *header) Render() app.UI {
|
|
return app.Div().
|
|
Class("border-solid border-4 border-borderpink rounded").
|
|
Body(
|
|
app.H1().
|
|
Class("font-[anisha] bg-cool text-aliceblue text-[80px] text-center").
|
|
Text("Internetica Galactica"),
|
|
)
|
|
}
|