From 8eb491fa97ab093297f8a7a419f08b141522f004 Mon Sep 17 00:00:00 2001 From: Lucas Schumacher Date: Thu, 1 Aug 2024 21:31:39 -0400 Subject: [PATCH] Add signup page --- main.go | 1 + templates/signup.gohtml | 22 ++++++++++++++++++++++ templates/tailwind.gohtml | 2 +- 3 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 templates/signup.gohtml diff --git a/main.go b/main.go index bc32995..8a51cfc 100644 --- a/main.go +++ b/main.go @@ -21,6 +21,7 @@ func main() { r.Get("/", ctrlrs.StaticTemplate("home.gohtml", "tailwind.gohtml")) r.Get("/contact", ctrlrs.StaticTemplate("contact.gohtml", "tailwind.gohtml")) r.Get("/faq", ctrlrs.FAQ("faq.gohtml", "tailwind.gohtml")) + r.Get("/signup", ctrlrs.StaticTemplate("signup.gohtml", "tailwind.gohtml")) r.NotFound(notFoundHandler) fmt.Println("Starting the server on :3000...") http.ListenAndServe(":3000", r) diff --git a/templates/signup.gohtml b/templates/signup.gohtml new file mode 100644 index 0000000..7b20d15 --- /dev/null +++ b/templates/signup.gohtml @@ -0,0 +1,22 @@ + + + + {{template "header".}} +
+
+
+ + +
+
+ + +
+
+ +
+
+
+ {{template "footer" .}} + + diff --git a/templates/tailwind.gohtml b/templates/tailwind.gohtml index c6607e7..9ac0a67 100644 --- a/templates/tailwind.gohtml +++ b/templates/tailwind.gohtml @@ -17,7 +17,7 @@
Sign in - Sign up + Sign up