diff --git a/cmd/tracks/main.go b/cmd/tracks/main.go index 9d7d3d53..60780b55 100644 --- a/cmd/tracks/main.go +++ b/cmd/tracks/main.go @@ -103,6 +103,9 @@ func setupRoutes(router *gin.Engine, cfg *config.Config) { { webProtected.GET("/", webHandler.ShowDashboard) webProtected.GET("/dashboard", webHandler.ShowDashboard) + webProtected.GET("/todos", webHandler.ShowTodos) + webProtected.GET("/projects", webHandler.ShowProjects) + webProtected.GET("/contexts", webHandler.ShowContexts) // Admin web routes webAdmin := webProtected.Group("/admin") diff --git a/cmd/tracks/web/templates/contexts.html b/cmd/tracks/web/templates/contexts.html new file mode 100644 index 00000000..a50328a4 --- /dev/null +++ b/cmd/tracks/web/templates/contexts.html @@ -0,0 +1,83 @@ +{{define "content"}} + + +
No contexts yet. Create contexts to categorize where or how you'll complete todos!
+No projects yet. Create your first one to organize your todos!
+No todos yet. Create your first one to get started!
+