FEAT: Initial Upload Page

This commit is contained in:
fahd
2026-08-12 19:03:02 +03:00
parent 7754051e9c
commit dc2d1c6e33
14 changed files with 1005 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
package handlers
import (
"net/http"
"thamanyah/cms/v2/internal/views"
)
func Home(w http.ResponseWriter, r *http.Request) {
views.Home().Render(r.Context(), w)
}
func Hello(w http.ResponseWriter, r *http.Request) {
views.Greeting("Fahd Shalhoub").Render(r.Context(), w)
}
func Health(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Content-Type", "text/plain; charset=utf-8")
w.Write([]byte("ok"))
}