aboutsummaryrefslogtreecommitdiff
path: root/src/templates.js
diff options
context:
space:
mode:
authorMark Powers <markppowers0@gmail.com>2020-10-19 17:58:08 -0500
committerMark Powers <markppowers0@gmail.com>2020-10-19 17:58:08 -0500
commit43a0e72c9955fd2900492530ab283d083b617ba8 (patch)
treef0786ff93d3f53b55cac5b67f33f48d2ee73734d /src/templates.js
parentc2a5c1a32a6a818ba4830112c5ac4e5992f14762 (diff)
Add about and signup
Diffstat (limited to 'src/templates.js')
-rw-r--r--src/templates.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/templates.js b/src/templates.js
index f7bfdfb..28435f8 100644
--- a/src/templates.js
+++ b/src/templates.js
@@ -9,8 +9,9 @@ function loadTemplate(templates, name, filepath){
function setUpTemplates(){
let templates = {};
-
+ loadTemplate(templates, "about", path.join(__dirname, 'templates/about.html'))
loadTemplate(templates, "login", path.join(__dirname, 'templates/login.html'))
+ loadTemplate(templates, "signup", path.join(__dirname, 'templates/sign-up.html'))
loadTemplate(templates, "ledger", path.join(__dirname, 'templates/ledger.html'))
loadTemplate(templates, "ledger-edit", path.join(__dirname, 'templates/ledger-edit.html'))
loadTemplate(templates, "goals", path.join(__dirname, 'templates/goals.html'))