new articles

This commit is contained in:
samantha42
2026-03-20 11:47:13 +01:00
parent 1f80e7cf9b
commit d66c37677d
6 changed files with 655 additions and 188 deletions
+4
View File
@@ -31,6 +31,8 @@ func Portfolio(w http.ResponseWriter, r *http.Request) {
http.ServeFile(w, r, "./static/portfolio.html")
}
func Infra(w http.ResponseWriter, r *http.Request) { http.ServeFile(w, r, "./static/infra.html") }
func Finance(w http.ResponseWriter, r *http.Request) { http.ServeFile(w, r, "./static/finance.html") }
func Cinema(w http.ResponseWriter, r *http.Request) { http.ServeFile(w, r, "./static/cinema.html") }
func Cyber(w http.ResponseWriter, r *http.Request) { http.ServeFile(w, r, "./static/cyber.html") }
func About(w http.ResponseWriter, r *http.Request) { http.ServeFile(w, r, "./static/about.html") }
func GitPage(w http.ResponseWriter, r *http.Request) { http.ServeFile(w, r, "./static/gitpage.html") }
@@ -99,6 +101,8 @@ func main() {
http.HandleFunc("/", About)
//http.HandleFunc("/portfolio", Portfolio)
http.HandleFunc("/infra", Infra)
http.HandleFunc("/finance", Finance)
http.HandleFunc("/cinema", Cinema)
http.HandleFunc("/cyber", Cyber)
//http.HandleFunc("/gitpage", GitPage)
//http.HandleFunc("/gitpage/TicTacToe", GitPageTicTacToe)