first commit

This commit is contained in:
William Bouzourène 2024-12-20 19:58:37 +01:00
commit 3d986c4ee2
27 changed files with 597 additions and 0 deletions

10
controllers/home.go Normal file
View file

@ -0,0 +1,10 @@
package controllers
import "github.com/gofiber/fiber/v2"
func Homepage(c *fiber.Ctx) error {
return c.Render("index", fiber.Map{
"PageTitle": "Accueil",
"Title": "Hello, World!",
}, "layouts/main")
}