feat: dummy pages

This commit is contained in:
2026-02-19 22:04:29 +01:00
parent cbc2a1a803
commit 6c4b2190b3
15 changed files with 182 additions and 41 deletions
+3 -1
View File
@@ -1,6 +1,7 @@
package handlehome
import (
"context"
"net/http"
"git.schreifuchs.ch/schreifuchs/schreifuchs.ch/internal/components/page"
@@ -21,5 +22,6 @@ func New(mux *http.ServeMux, srv pageService) *Handler {
}
type pageService interface {
GetPages() ([]page.Page, error)
GetPages() ([]page.PageHeader, error)
GetPage(ctx context.Context, uid string) (page.Page, error)
}