From 2611ded920a8345922346ed0d43e4efdd94401a1 Mon Sep 17 00:00:00 2001
From: Julien Dessaux
Date: Thu, 27 Oct 2022 23:56:29 +0200
Subject: Began implementing middlewares, session and auth
---
views/header.ejs | 5 +++--
views/login.ejs | 23 +++++++++++++++++++++++
views/nav.ejs | 7 +++++++
views/play.ejs | 4 ++--
4 files changed, 35 insertions(+), 4 deletions(-)
create mode 100644 views/login.ejs
create mode 100644 views/nav.ejs
(limited to 'views')
diff --git a/views/header.ejs b/views/header.ejs
index ddc0b56..e4d69d6 100644
--- a/views/header.ejs
+++ b/views/header.ejs
@@ -3,11 +3,12 @@
-
+
-
+
Jeu de mots - <%- title %>
+ <%- include("nav") %>
diff --git a/views/login.ejs b/views/login.ejs
new file mode 100644
index 0000000..e1178d7
--- /dev/null
+++ b/views/login.ejs
@@ -0,0 +1,23 @@
+<%- include("header") %>
+
+
+<%- include("footer") %>
diff --git a/views/nav.ejs b/views/nav.ejs
new file mode 100644
index 0000000..b494b55
--- /dev/null
+++ b/views/nav.ejs
@@ -0,0 +1,7 @@
+
diff --git a/views/play.ejs b/views/play.ejs
index 5998e40..bc98c94 100644
--- a/views/play.ejs
+++ b/views/play.ejs
@@ -1,5 +1,5 @@
<%- include("header") %>
-Jeu de mots
+À vous de jouer
| | | | | | | | | | | | | | |
| | | | | | | | | | | | | | |
@@ -32,5 +32,5 @@
-
+
<%- include("footer") %>
--
cgit v1.2.3