diff --git a/main.go b/main.go index 537bbc1..ea9eb73 100644 --- a/main.go +++ b/main.go @@ -43,7 +43,7 @@ func main() { r.GET("/", pages.Home) r.GET("/login", pages.Login) r.GET("/welcome", pages.Welcome) - r.GET("/wishlist", pages.Wishlist) + r.GET("/goals", pages.Goals) runErr := r.Run(":8080") diff --git a/pages/wishlist.go b/pages/wishlist.go index 95a9392..eb944af 100644 --- a/pages/wishlist.go +++ b/pages/wishlist.go @@ -5,8 +5,8 @@ import ( "net/http" ) -func Wishlist(c *gin.Context) { - c.HTML(http.StatusOK, "wishlist.html", gin.H{ +func Goals(c *gin.Context) { + c.HTML(http.StatusOK, "goals.html", gin.H{ "title": "Sponsor A Hacker", }) } diff --git a/templates/goals.html b/templates/goals.html new file mode 100644 index 0000000..6079765 --- /dev/null +++ b/templates/goals.html @@ -0,0 +1,212 @@ + + + + + + + Goals + + + +{{template "pageheader"}} +
+
+

Manage Your Goals

+

Add new goals or track progress on your current items.

+
+ +
+

Add a New Goal

+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+ +
+
+ +
+

Your Current Wishlist

+
+
+
+

Full-Stack Development Certification

+

Progress: 75% funded

+
+ +
+
+
+

Data Science Course

+

Progress: 40% funded

+
+ +
+
+
+ + +
+{{template "footer"}} + + \ No newline at end of file