diff --git a/public/index.html b/public/index.html index 5682097..3f4e590 100644 --- a/public/index.html +++ b/public/index.html @@ -9,5 +9,6 @@

Hello there...

Test +Login \ No newline at end of file diff --git a/public/login/index.html b/public/login/index.html new file mode 100644 index 0000000..f87b425 --- /dev/null +++ b/public/login/index.html @@ -0,0 +1,27 @@ + + + + + Login + + +
+ +
+ +
+ +
+ + + + + \ No newline at end of file diff --git a/scripts/login.js b/scripts/login.js new file mode 100644 index 0000000..dbef5a6 --- /dev/null +++ b/scripts/login.js @@ -0,0 +1,7 @@ +let nameEl = document.getElementById("loginMail"); +let passwordEl = document.getElementById("loginPassword"); + +function login() { + //console.log(nameEl.value) + //console.log(passwordEl.value) +} \ No newline at end of file diff --git a/scripts/routes/other/route-index.js b/scripts/routes/other/route-index.js index aef688a..562512e 100644 --- a/scripts/routes/other/route-index.js +++ b/scripts/routes/other/route-index.js @@ -9,4 +9,8 @@ router.get('/example', (req, res) => { res.sendFile(path.join(__dirname, '../../../public/example/index.html')); }) +router.get('/login', (req, res) => { + res.sendFile(path.join(__dirname, '../../../public/login/index.html')); +}) + module.exports = router; \ No newline at end of file