#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

View File

@@ -1,7 +1,7 @@
package service
import (
"me-fit/templates"
"me-fit/template"
"me-fit/utils"
"database/sql"
@@ -23,9 +23,9 @@ var (
)
)
func App(w http.ResponseWriter, r *http.Request) {
comp := templates.App()
layout := templates.Layout(comp)
func WorkoutPage(w http.ResponseWriter, r *http.Request) {
comp := template.App()
layout := template.Layout(comp)
layout.Render(r.Context(), w)
}