This commit is contained in:
Eden Kirin
2024-02-05 22:30:11 +01:00
commit c0f161abe1
26 changed files with 2480 additions and 0 deletions

17
app/handlers/about.go Normal file
View File

@ -0,0 +1,17 @@
package handlers
import (
"fiber-sessions/app/templates"
"github.com/gofiber/fiber/v2"
)
var pcAbout templates.PageContext = templates.PageContext{
Title: "Welcome to the demo - About",
ActivePage: "about",
}
func About(f *fiber.Ctx) error {
Render(f, templates.About(pcAbout))
return nil
}