#73 copy sign in form from other branch and some renaming
All checks were successful
Build Docker Image / Explore-Gitea-Actions (push) Successful in 47s

This commit is contained in:
Tim
2024-08-25 22:25:32 +02:00
parent 4360d31bb2
commit 111cd2daab
13 changed files with 152 additions and 57 deletions

18
service/auth.go Normal file
View File

@@ -0,0 +1,18 @@
package service
import (
"net/http"
"me-fit/template"
"me-fit/template/auth"
)
func SignInPage(w http.ResponseWriter, r *http.Request) {
signIn := auth.SignIn()
template.Layout(signIn).Render(r.Context(), w)
}
// func SignUpPage(w http.ResponseWriter, r *http.Request) {
// signIn := auth.SignUp()
// template.Layout(signIn).Render(r.Context(), w)
// }