package handlers

import (
	"html/template"
	"net/http"
)

var (
	templateWorkspace = template.Must(template.ParseFiles(
		"html/loop.html",
		"html/workspace.html",
	))
)

func ContentHandler(w http.ResponseWriter, r *http.Request) {
	if err := templateWorkspace.Execute(w, nil); err != nil {
		http.Error(w, err.Error(), http.StatusInternalServerError)
	}
}
