Aggiunta pagina per appunti condivisi con setup minimale di Preact

This commit is contained in:
2022-08-27 22:58:13 +02:00
parent 5337849bc7
commit 6e90f8c32f
7 changed files with 465 additions and 1 deletions
+5
View File
@@ -95,6 +95,11 @@ func routes(h handler.Service, r fiber.Router) {
return h.HandleQueryAppunti(c, query, CreateContext(c))
})
r.Get("/appunti/condivisi", func(c *fiber.Ctx) error {
c.Type("html")
return h.HandleAppuntiCondivisiPage(c, CreateContext(c))
})
r.Get("/news", func(c *fiber.Ctx) error {
c.Type("html")
return h.HandleNewsPage(c, CreateContext(c))