Added login form html and styling

This commit is contained in:
2025-02-06 23:28:13 +11:00
parent dfbf3d1c79
commit 5a93ef81dd
8 changed files with 237 additions and 4 deletions

View File

@@ -3,6 +3,7 @@ package server
import (
"net/http"
"projectreshoot/handlers"
"projectreshoot/view/page"
)
func addRoutes(
@@ -10,4 +11,6 @@ func addRoutes(
) {
mux.Handle("GET /static/", http.StripPrefix("/static/", handlers.HandleStatic()))
mux.Handle("GET /", handlers.HandleRoot())
mux.Handle("GET /about", handlers.HandlePage(page.About()))
mux.Handle("GET /login", handlers.HandlePage(page.Login()))
}