Added login form html and styling
This commit is contained in:
@@ -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()))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user