remove unused routes

This commit is contained in:
jc 2023-10-22 00:52:58 -04:00
commit 54793b3731
No known key found for this signature in database
2 changed files with 0 additions and 10 deletions

View file

@ -39,8 +39,6 @@ func main() {
e.Static("/static", "static") e.Static("/static", "static")
e.GET("/", pages.Index) e.GET("/", pages.Index)
e.GET("/projects", pages.Projects)
e.GET("/about-me", pages.AboutMe)
e.Logger.Fatal(e.Start(":5173")) e.Logger.Fatal(e.Start(":5173"))
} }

View file

@ -9,11 +9,3 @@ type Page struct {}
func Index(c echo.Context) error { func Index(c echo.Context) error {
return c.Render(200, "index.html", Page{}) return c.Render(200, "index.html", Page{})
} }
func Projects(c echo.Context) error {
return c.Render(200, "projects-only.html", Page{})
}
func AboutMe(c echo.Context) error {
return c.Render(200, "about-me.html", Page{})
}