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

14
handlers/page.go Normal file
View File

@@ -0,0 +1,14 @@
package handlers
import (
"github.com/a-h/templ"
"net/http"
)
func HandlePage(Page templ.Component) http.Handler {
return http.HandlerFunc(
func(w http.ResponseWriter, r *http.Request) {
Page.Render(r.Context(), w)
},
)
}