Ajouter responsiveness au header #93

Merged
vlbeaudoin merged 21 commits from feature/responsive-header into main 2023-08-16 13:43:50 -04:00
3 changed files with 9 additions and 3 deletions
Showing only changes of commit 9b60983098 - Show all commits

View file

@ -214,11 +214,11 @@ func RunServer() {
e.GET("/", handleIndex) e.GET("/", handleIndex)
e.GET("/a-propos", handleAPropos) //e.GET("/a-propos", handleAPropos)
e.GET("/actualite", handleActualite) //e.GET("/actualite", handleActualite)
e.GET("/actualite/:article", handleActualiteArticle) //e.GET("/actualite/:article", handleActualiteArticle)
e.GET("/vie-etudiante", handleVieEtudiante) e.GET("/vie-etudiante", handleVieEtudiante)
@ -254,18 +254,24 @@ func handleIndex(c echo.Context) error {
return c.Render(http.StatusOK, "index-html", nil) return c.Render(http.StatusOK, "index-html", nil)
} }
/*
func handleAPropos(c echo.Context) error { func handleAPropos(c echo.Context) error {
return c.Render(http.StatusOK, "a-propos-html", nil) return c.Render(http.StatusOK, "a-propos-html", nil)
} }
*/
/*
func handleActualite(c echo.Context) error { func handleActualite(c echo.Context) error {
return c.Render(http.StatusOK, "actualite-html", nil) return c.Render(http.StatusOK, "actualite-html", nil)
} }
*/
/*
func handleActualiteArticle(c echo.Context) error { func handleActualiteArticle(c echo.Context) error {
article := c.Param("article") article := c.Param("article")
return c.String(http.StatusOK, fmt.Sprintf("Article: %s", article)) return c.String(http.StatusOK, fmt.Sprintf("Article: %s", article))
} }
*/
func handleVieEtudiante(c echo.Context) error { func handleVieEtudiante(c echo.Context) error {
return c.Render(http.StatusOK, "vie-etudiante-html", nil) return c.Render(http.StatusOK, "vie-etudiante-html", nil)