feat: dummy pages

This commit is contained in:
2026-03-02 22:37:30 +01:00
parent 9a1f7e0d99
commit 19fb5b9292
13 changed files with 188 additions and 40 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)
}