diff --git a/src/hh1.nim b/src/hh1.nim index 7384667..f782805 100644 --- a/src/hh1.nim +++ b/src/hh1.nim @@ -117,6 +117,9 @@ load() "/admin" -> get: compileTemplateFile("view" / "admin" / "index.html", baseDir = getScriptDir()) +"/admin/add-product" -> get: + compileTemplateFile("view" / "admin" / "addproduct.html", baseDir = getScriptDir()) + servePublic("src/public", "/static") run() diff --git a/src/view/admin/addproduct.html b/src/view/admin/addproduct.html new file mode 100644 index 0000000..e024559 --- /dev/null +++ b/src/view/admin/addproduct.html @@ -0,0 +1,43 @@ +{% extends "view/admin/partials/_master.html" %} + +{% block addProduct %} active {% endblock %} + +{% block content %} + +
Already have an Account? Sign In
+