diff --git a/package-lock.json b/package-lock.json index b41da78..ffc040d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -22,10 +22,10 @@ "method-override": "^3.0.0", "mongodb": "^6.6.2", "mongoose": "^7.8.2", + "morgan": "^1.10.0", "nodemailer": "^6.9.15", "passport": "^0.7.0", "passport-local": "^1.0.0", - "morgan": "^1.10.0", "rotating-file-stream": "^3.2.5", "zod": "^3.23.8" }, diff --git a/public/css/style.css b/public/css/style.css index d3c2d3e..bfdd17f 100644 --- a/public/css/style.css +++ b/public/css/style.css @@ -258,8 +258,15 @@ img { /* Footer */ .footer { - margin: 4rem; + /* margin: 4rem; */ text-align: center; + position: fixed; + left: 0; + bottom: 0; + width: 100%; + background-color: #a39f9f; + color: #000; + } diff --git a/views/admin/dashboard.ejs b/views/admin/dashboard.ejs index 6fef31a..7e37ef8 100644 --- a/views/admin/dashboard.ejs +++ b/views/admin/dashboard.ejs @@ -1,6 +1,8 @@ -
-

Posts

- + Add New +
+ +
+

Posts

+ + Add New
+ <% }) %> + + +
\ No newline at end of file