Personen DB Abfragen + Seiten

This commit is contained in:
Simon Martens
2025-02-15 23:33:15 +01:00
parent 0aa8511ef0
commit e8edefa4b4
28 changed files with 949 additions and 65 deletions

View File

@@ -24,14 +24,6 @@ type IndexPage struct {
pagemodels.Page
}
func (p *IndexPage) Up(app core.App) error {
return nil
}
func (p *IndexPage) Down(app core.App) error {
return nil
}
func (p *IndexPage) Setup(router *router.Router[*core.RequestEvent], app core.App, engine *templating.Engine) error {
router.GET("/{$}", func(e *core.RequestEvent) error {
var builder strings.Builder