diff --git a/Projects/Bake_website/menu.css b/Projects/Bake_website/menu.css index 1bc545b0..e13e2d6e 100644 --- a/Projects/Bake_website/menu.css +++ b/Projects/Bake_website/menu.css @@ -1,3 +1,6 @@ +:root { + --black-color: #000000; +} body { font-family: 'Source Sans Pro', sans-serif; margin: 0; @@ -34,7 +37,7 @@ body { } .nav-link { - color: #fff; + color: #ffffff; text-decoration: none; font-size: 1.1em; } @@ -393,7 +396,7 @@ header { .nav-link { display: block; - color: var(--white-color); + color: var(--black-color); font-size: 1.4rem; text-transform: uppercase; letter-spacing: 2px; diff --git a/Projects/Bake_website/style.css b/Projects/Bake_website/style.css index 3952738d..f0fdb9dc 100644 --- a/Projects/Bake_website/style.css +++ b/Projects/Bake_website/style.css @@ -15,6 +15,7 @@ --secondary-font-color: #e1b164; --body-font-color: #515151; --white-color: #fff; + --black-color: #000000; --dark-bg: #121212; } @@ -156,7 +157,7 @@ header { .nav-link { display: block; - color: var(--white-color); + color: var(--black-color); font-size: 1.4rem; text-transform: uppercase; letter-spacing: 2px; @@ -183,7 +184,7 @@ header { font-family: var(--main-font); font-size: 3.5rem; font-weight: 900; - color: var(--white-color); + color: var(--black-color); text-transform: uppercase; letter-spacing: .5rem; margin-right: -.5rem; diff --git a/about.html b/about.html index e48d4ae0..2afa4eaf 100644 --- a/about.html +++ b/about.html @@ -512,6 +512,7 @@

style="font-size: 20px; font-style:cursive;color: rgb(215, 213, 85);"> Privacy Notice Copyright Policy + diff --git a/assets/css/style.css b/assets/css/style.css index 0945e82d..9913f926 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -50,7 +50,7 @@ body { display: flex; align-items: center; text-align: center; - color: white; + color: rgb(230, 225, 225); padding-bottom: 6%; padding-top: 3%; } @@ -62,14 +62,14 @@ body { left: 0; right: 0; bottom: 0; - background-color: black; + background-color: rgb(255, 255, 255); border-radius: 34px; transition: background-color 0.4s; box-shadow: 0 0 20px #fb16e4; } .slider .dark-theme { - background-color: black; + background-color: rgb(255, 255, 255); } .slider:before { @@ -114,7 +114,7 @@ input:checked + .slider:before { a { text-decoration: none; - color: #fff; + color: #ffffff; } footer { @@ -234,14 +234,14 @@ input::placeholder { border: 1px solid white; font-size: 16px; width: 250px; - color: white; + color: rgb(255, 255, 255); background-color: transparent; transition: background-color 0.3s, border-color 0.3s, box-shadow 0.3s ease, transform 0.3s ease; } /* Hover effect for input field */ #newsletter-form input[type="email"]:hover { - background-color: rgba(255, 255, 255, 0.1); + background-color: rgba(0, 0, 0, 0.1); border-color: #f0e68c; box-shadow: 0 0 10px yellow; /* Glowing effect */ transform: scale(1.05); /* Slight size increase on hover */ @@ -1573,11 +1573,25 @@ ul.socials { /* .socials{ margin-bottom: 1rem; } */ -.policy{ - display: flex; - justify-content: center; - align-items: center; +.policy { + text-align: center; + margin-top: 20px; } -.policy a{ - margin: 10px 10px 50px 10px; + +.policy a { + margin: 0 10px; + display: inline-block; + text-decoration: none; +} + +.policy a:hover { + text-decoration: underline; } + +.policy p { + font-size: 18px; + color: rgb(215, 213, 85); + margin-top: 10px; + font-style: italic; +} + diff --git a/assets/css/themeToggle.css b/assets/css/themeToggle.css index bf70d966..8ac5af89 100644 --- a/assets/css/themeToggle.css +++ b/assets/css/themeToggle.css @@ -53,7 +53,7 @@ body.dark { width: 26px; left: 4px; bottom: 4px; - background-color: white; + background-color: rgb(255, 255, 255); border-radius: 50%; transition: 0.4s; background-size: 18px 18px; @@ -61,7 +61,6 @@ body.dark { background-repeat: no-repeat; } - /* Sun icon in light mode */ body.light .slider:before { background-image: url('/assets/img/sun.icon.png'); /* Update path as necessary */ @@ -72,7 +71,7 @@ body.dark .slider:before { background-image: url('/assets/img/moon.icon.png'); /* Update path as necessary */ } -/* Move knob to right when checked */ +/* Move knob to the right when checked */ input:checked + .slider:before { - transform: translateX(26px); /* Move knob to the right */ + transform: translateX(26px); } diff --git a/assets/js/subscribe.js b/assets/js/subscribe.js index 8abd7d9f..f4162567 100644 --- a/assets/js/subscribe.js +++ b/assets/js/subscribe.js @@ -11,9 +11,9 @@ document.getElementById('newsletter-form').addEventListener('submit', async func }, body: JSON.stringify({ email }) }); - + if (response.ok) { - // Show Toastify success notification + // Show success message Toastify({ text: "Subscription successful! A confirmation email has been sent.", duration: 3000, @@ -23,9 +23,10 @@ document.getElementById('newsletter-form').addEventListener('submit', async func className: "toastify toastify-success", stopOnFocus: true, }).showToast(); - + document.getElementById('newsletter-form').reset(); } else { + // Show failure message Toastify({ text: "Failed to subscribe. Please try again.", duration: 3000, @@ -37,6 +38,7 @@ document.getElementById('newsletter-form').addEventListener('submit', async func }).showToast(); } } catch (error) { + // Show network error message Toastify({ text: "Error occurred. Please check your connection and try again.", duration: 3000, @@ -48,4 +50,4 @@ document.getElementById('newsletter-form').addEventListener('submit', async func }).showToast(); console.error('Error:', error); } -}); +}) \ No newline at end of file diff --git a/assets/js/toggletheme.js b/assets/js/toggletheme.js index 7f7dfb45..7f67dfd8 100644 --- a/assets/js/toggletheme.js +++ b/assets/js/toggletheme.js @@ -2,17 +2,23 @@ document.addEventListener('DOMContentLoaded', () => { const themeToggleButton = document.getElementById('theme-toggle'); const body = document.body; - + // Get the saved theme from localStorage or default to 'light' const currentTheme = localStorage.getItem('theme') || 'light'; + + // Apply the current theme class to the body body.classList.add(currentTheme); - themeToggleButton.checked = currentTheme === 'dark'; // Set checkbox state - + // Set the initial state of the toggle button based on the current theme + themeToggleButton.checked = currentTheme === 'dark'; + + // Add an event listener to handle theme changes themeToggleButton.addEventListener('change', () => { if (themeToggleButton.checked) { + // Switch to dark theme body.classList.replace('light', 'dark'); localStorage.setItem('theme', 'dark'); } else { + // Switch to light theme body.classList.replace('dark', 'light'); localStorage.setItem('theme', 'light'); } diff --git a/backend/package-lock.json b/backend/package-lock.json index 9392218e..f8b73d33 100644 --- a/backend/package-lock.json +++ b/backend/package-lock.json @@ -12,7 +12,7 @@ "body-parser": "^1.20.2", "cors": "^2.8.5", "dotenv": "^16.4.5", - "express": "^4.19.2", + "express": "^4.21.1", "mongodb": "^6.8.0", "mongoose": "^8.5.2", "nodemailer": "^6.9.14", @@ -86,9 +86,10 @@ } }, "node_modules/body-parser": { - "version": "1.20.2", - "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.2.tgz", - "integrity": "sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==", + "version": "1.20.3", + "resolved": "https://registry.npmjs.org/body-parser/-/body-parser-1.20.3.tgz", + "integrity": "sha512-7rAxByjUMqQ3/bHJy7D6OGXvx/MMc4IqBn/X0fcM1QUcAItpZrBEYhWGem+tzXH90c+G01ypMcYJBO9Y30203g==", + "license": "MIT", "dependencies": { "bytes": "3.1.2", "content-type": "~1.0.5", @@ -98,7 +99,7 @@ "http-errors": "2.0.0", "iconv-lite": "0.4.24", "on-finished": "2.4.1", - "qs": "6.11.0", + "qs": "6.13.0", "raw-body": "2.5.2", "type-is": "~1.6.18", "unpipe": "1.0.0" @@ -148,6 +149,7 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/call-bind/-/call-bind-1.0.7.tgz", "integrity": "sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -210,9 +212,10 @@ } }, "node_modules/cookie": { - "version": "0.6.0", - "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.6.0.tgz", - "integrity": "sha512-U71cyTamuh1CRNCfpGY6to28lxvNwPG4Guz/EVjgf3Jmzv0vlDp1atT9eS5dDjMYHucpHbWns6Lwf3BKz6svdw==", + "version": "0.7.1", + "resolved": "https://registry.npmjs.org/cookie/-/cookie-0.7.1.tgz", + "integrity": "sha512-6DnInpx7SJ2AK3+CTUE/ZM0vWTUboZCegxhC2xiIydHR9jNuTAASBrfEpHhiGOZw/nX51bHt6YQl8jsGo4y/0w==", + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -246,6 +249,7 @@ "version": "1.1.4", "resolved": "https://registry.npmjs.org/define-data-property/-/define-data-property-1.1.4.tgz", "integrity": "sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0", "es-errors": "^1.3.0", @@ -292,9 +296,10 @@ "integrity": "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==" }, "node_modules/encodeurl": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", - "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-2.0.0.tgz", + "integrity": "sha512-Q0n9HRi4m6JuGIV1eFlmvJB7ZEVxu93IrMyiMsGC0lrMJMWzRgx6WGquyfQgZVb31vhGgXnfmPNNXmxnOkRBrg==", + "license": "MIT", "engines": { "node": ">= 0.8" } @@ -303,6 +308,7 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/es-define-property/-/es-define-property-1.0.0.tgz", "integrity": "sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.2.4" }, @@ -314,6 +320,7 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "license": "MIT", "engines": { "node": ">= 0.4" } @@ -321,47 +328,50 @@ "node_modules/escape-html": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/escape-html/-/escape-html-1.0.3.tgz", - "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==" + "integrity": "sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==", + "license": "MIT" }, "node_modules/etag": { "version": "1.8.1", "resolved": "https://registry.npmjs.org/etag/-/etag-1.8.1.tgz", "integrity": "sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==", + "license": "MIT", "engines": { "node": ">= 0.6" } }, "node_modules/express": { - "version": "4.19.2", - "resolved": "https://registry.npmjs.org/express/-/express-4.19.2.tgz", - "integrity": "sha512-5T6nhjsT+EOMzuck8JjBHARTHfMht0POzlA60WV2pMD3gyXw2LZnZ+ueGdNxG+0calOJcWKbpFcuzLZ91YWq9Q==", + "version": "4.21.1", + "resolved": "https://registry.npmjs.org/express/-/express-4.21.1.tgz", + "integrity": "sha512-YSFlK1Ee0/GC8QaO91tHcDxJiE/X4FbpAyQWkxAvG6AXCuR65YzK8ua6D9hvi/TzUfZMpc+BwuM1IPw8fmQBiQ==", + "license": "MIT", "dependencies": { "accepts": "~1.3.8", "array-flatten": "1.1.1", - "body-parser": "1.20.2", + "body-parser": "1.20.3", "content-disposition": "0.5.4", "content-type": "~1.0.4", - "cookie": "0.6.0", + "cookie": "0.7.1", "cookie-signature": "1.0.6", "debug": "2.6.9", "depd": "2.0.0", - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "etag": "~1.8.1", - "finalhandler": "1.2.0", + "finalhandler": "1.3.1", "fresh": "0.5.2", "http-errors": "2.0.0", - "merge-descriptors": "1.0.1", + "merge-descriptors": "1.0.3", "methods": "~1.1.2", "on-finished": "2.4.1", "parseurl": "~1.3.3", - "path-to-regexp": "0.1.7", + "path-to-regexp": "0.1.10", "proxy-addr": "~2.0.7", - "qs": "6.11.0", + "qs": "6.13.0", "range-parser": "~1.2.1", "safe-buffer": "5.2.1", - "send": "0.18.0", - "serve-static": "1.15.0", + "send": "0.19.0", + "serve-static": "1.16.2", "setprototypeof": "1.2.0", "statuses": "2.0.1", "type-is": "~1.6.18", @@ -384,12 +394,13 @@ } }, "node_modules/finalhandler": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.2.0.tgz", - "integrity": "sha512-5uXcUVftlQMFnWC9qu/svkWv3GTd2PfUhK/3PLkYNAe7FbqJMt3515HaxE6eRL74GdsriiwujiawdaB1BpEISg==", + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/finalhandler/-/finalhandler-1.3.1.tgz", + "integrity": "sha512-6BN9trH7bp3qvnrRyzsBz+g3lZxTNZTbVO2EV1CS0WIcDbawYVdYvGflME/9QP0h0pYlCDBCTjYa9nZzMDpyxQ==", + "license": "MIT", "dependencies": { "debug": "2.6.9", - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "on-finished": "2.4.1", "parseurl": "~1.3.3", @@ -412,6 +423,7 @@ "version": "0.5.2", "resolved": "https://registry.npmjs.org/fresh/-/fresh-0.5.2.tgz", "integrity": "sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==", + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -433,6 +445,7 @@ "version": "1.1.2", "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -441,6 +454,7 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/get-intrinsic/-/get-intrinsic-1.2.4.tgz", "integrity": "sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==", + "license": "MIT", "dependencies": { "es-errors": "^1.3.0", "function-bind": "^1.1.2", @@ -470,6 +484,7 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/gopd/-/gopd-1.0.1.tgz", "integrity": "sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==", + "license": "MIT", "dependencies": { "get-intrinsic": "^1.1.3" }, @@ -489,6 +504,7 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/has-property-descriptors/-/has-property-descriptors-1.0.2.tgz", "integrity": "sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==", + "license": "MIT", "dependencies": { "es-define-property": "^1.0.0" }, @@ -500,6 +516,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-proto/-/has-proto-1.0.3.tgz", "integrity": "sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -511,6 +528,7 @@ "version": "1.0.3", "resolved": "https://registry.npmjs.org/has-symbols/-/has-symbols-1.0.3.tgz", "integrity": "sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -522,6 +540,7 @@ "version": "2.0.2", "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "license": "MIT", "dependencies": { "function-bind": "^1.1.2" }, @@ -633,9 +652,13 @@ "integrity": "sha512-ZS4Bp4r/Zoeq6+NLJpP+0Zzm0pR8whtGPf1XExKLJBAczGMnSi3It14OiNCStjQjM6NU1okjQGSxgEZN8eBYKg==" }, "node_modules/merge-descriptors": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.1.tgz", - "integrity": "sha512-cCi6g3/Zr1iqQi6ySbseM1Xvooa98N0w31jzUYrXPX2xqObmFGHJ0tQ5u74H3mVh7wLouTseZyYIq39g8cNp1w==" + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/merge-descriptors/-/merge-descriptors-1.0.3.tgz", + "integrity": "sha512-gaNvAS7TZ897/rVaZ0nMtAyxNyi/pdbjbAwUpFQpN70GqnVfOiXpeUUMKRBmzXaSQ8DdTX4/0ms62r2K+hE6mQ==", + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } }, "node_modules/methods": { "version": "1.1.2", @@ -649,6 +672,7 @@ "version": "1.6.0", "resolved": "https://registry.npmjs.org/mime/-/mime-1.6.0.tgz", "integrity": "sha512-x0Vn8spI+wuJ1O6S7gnbaQg8Pxh4NNHb7KSINmEWKiPE4RKOplvijn+NkmYmmRgP68mc70j2EbeTFRsrswaQeg==", + "license": "MIT", "bin": { "mime": "cli.js" }, @@ -940,6 +964,7 @@ "version": "1.13.2", "resolved": "https://registry.npmjs.org/object-inspect/-/object-inspect-1.13.2.tgz", "integrity": "sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==", + "license": "MIT", "engines": { "node": ">= 0.4" }, @@ -962,14 +987,16 @@ "version": "1.3.3", "resolved": "https://registry.npmjs.org/parseurl/-/parseurl-1.3.3.tgz", "integrity": "sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==", + "license": "MIT", "engines": { "node": ">= 0.8" } }, "node_modules/path-to-regexp": { - "version": "0.1.7", - "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.7.tgz", - "integrity": "sha512-5DFkuoqlv1uYQKxy8omFBeJPQcdoE07Kv2sferDCrAq1ohOU+MSDswDIbnx3YAM60qIOnYa53wBhXW0EbMonrQ==" + "version": "0.1.10", + "resolved": "https://registry.npmjs.org/path-to-regexp/-/path-to-regexp-0.1.10.tgz", + "integrity": "sha512-7lf7qcQidTku0Gu3YDPc8DJ1q7OOucfa/BSsIwjuh56VU7katFvuM8hULfkwB3Fns/rsVF7PwPKVw1sl5KQS9w==", + "license": "MIT" }, "node_modules/picomatch": { "version": "2.3.1", @@ -1008,11 +1035,12 @@ } }, "node_modules/qs": { - "version": "6.11.0", - "resolved": "https://registry.npmjs.org/qs/-/qs-6.11.0.tgz", - "integrity": "sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==", + "version": "6.13.0", + "resolved": "https://registry.npmjs.org/qs/-/qs-6.13.0.tgz", + "integrity": "sha512-+38qI9SOr8tfZ4QmJNplMUxqjbe7LKvvZgWdExBOmd+egZTtjLB67Gu0HRX3u/XOq7UU2Nx6nsjvS16Z9uwfpg==", + "license": "BSD-3-Clause", "dependencies": { - "side-channel": "^1.0.4" + "side-channel": "^1.0.6" }, "engines": { "node": ">=0.6" @@ -1025,6 +1053,7 @@ "version": "1.2.1", "resolved": "https://registry.npmjs.org/range-parser/-/range-parser-1.2.1.tgz", "integrity": "sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==", + "license": "MIT", "engines": { "node": ">= 0.6" } @@ -1090,9 +1119,10 @@ } }, "node_modules/send": { - "version": "0.18.0", - "resolved": "https://registry.npmjs.org/send/-/send-0.18.0.tgz", - "integrity": "sha512-qqWzuOjSFOuqPjFe4NOsMLafToQQwBSOEpS+FwEt3A2V3vKubTquT3vmLTQpFgMXp8AlFWFuP1qKaJZOtPpVXg==", + "version": "0.19.0", + "resolved": "https://registry.npmjs.org/send/-/send-0.19.0.tgz", + "integrity": "sha512-dW41u5VfLXu8SJh5bwRmyYUbAoSB3c9uQh6L8h/KtsFREPWpbX1lrljJo186Jc4nmci/sGUZ9a0a0J2zgfq2hw==", + "license": "MIT", "dependencies": { "debug": "2.6.9", "depd": "2.0.0", @@ -1112,20 +1142,31 @@ "node": ">= 0.8.0" } }, + "node_modules/send/node_modules/encodeurl": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/encodeurl/-/encodeurl-1.0.2.tgz", + "integrity": "sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==", + "license": "MIT", + "engines": { + "node": ">= 0.8" + } + }, "node_modules/send/node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==" + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "license": "MIT" }, "node_modules/serve-static": { - "version": "1.15.0", - "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.15.0.tgz", - "integrity": "sha512-XGuRDNjXUijsUL0vl6nSD7cwURuzEgglbOaFuZM9g3kwDXOWVTck0jLzjPzGD+TazWbboZYu52/9/XPdUgne9g==", + "version": "1.16.2", + "resolved": "https://registry.npmjs.org/serve-static/-/serve-static-1.16.2.tgz", + "integrity": "sha512-VqpjJZKadQB/PEbEwvFdO43Ax5dFBZ2UECszz8bQ7pi7wt//PWe1P6MN7eCnjsatYtBT6EuiClbjSWP2WrIoTw==", + "license": "MIT", "dependencies": { - "encodeurl": "~1.0.2", + "encodeurl": "~2.0.0", "escape-html": "~1.0.3", "parseurl": "~1.3.3", - "send": "0.18.0" + "send": "0.19.0" }, "engines": { "node": ">= 0.8.0" @@ -1135,6 +1176,7 @@ "version": "1.2.2", "resolved": "https://registry.npmjs.org/set-function-length/-/set-function-length-1.2.2.tgz", "integrity": "sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==", + "license": "MIT", "dependencies": { "define-data-property": "^1.1.4", "es-errors": "^1.3.0", @@ -1156,6 +1198,7 @@ "version": "1.0.6", "resolved": "https://registry.npmjs.org/side-channel/-/side-channel-1.0.6.tgz", "integrity": "sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==", + "license": "MIT", "dependencies": { "call-bind": "^1.0.7", "es-errors": "^1.3.0", diff --git a/backend/package.json b/backend/package.json index ea31ebc3..b3b3828e 100644 --- a/backend/package.json +++ b/backend/package.json @@ -4,7 +4,7 @@ "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", - "dev":"nodemon server.js" + "dev": "nodemon server.js" }, "keywords": [], "author": "", @@ -14,7 +14,7 @@ "body-parser": "^1.20.2", "cors": "^2.8.5", "dotenv": "^16.4.5", - "express": "^4.19.2", + "express": "^4.21.1", "mongodb": "^6.8.0", "mongoose": "^8.5.2", "nodemailer": "^6.9.14", diff --git a/contact.html b/contact.html index 7475c533..f43becf3 100644 --- a/contact.html +++ b/contact.html @@ -341,7 +341,7 @@ } .hamburger i { - color: white; + color: rgb(255, 255, 255); font-size: 24px; } @@ -700,6 +700,7 @@

Privacy Notice Copyright Policy + diff --git a/contributor.html b/contributor.html index df57e149..489e6189 100644 --- a/contributor.html +++ b/contributor.html @@ -427,6 +427,7 @@

Meet Our Contributors

style="font-size: 20px; font-style:cursive;color: rgb(215, 213, 85);"> Privacy Notice Copyright Policy + diff --git a/index.html b/index.html index d104e63f..105dbb21 100644 --- a/index.html +++ b/index.html @@ -102,7 +102,7 @@ } .dark-theme a { - color: black; + color: rgb(0, 0, 0); } .main-content { @@ -554,6 +554,7 @@

Subscribe to our Newsletter

style="font-size: 20px; font-style:cursive;color: rgb(215, 213, 85);"> Privacy Notice Copyright Policy + diff --git a/style.css b/style.css index db5f4635..dcf677a7 100644 --- a/style.css +++ b/style.css @@ -48,7 +48,7 @@ } .nav-link:hover { - text-shadow: 0 0 3px #fff, 0 0 10px rgba(167, 45, 237, 0.3), 0 0 20px rgba(167, 45, 237, 0.4), 0 0 30px rgba(167, 45, 237, 0.5), 0 0 40px rgba(167, 45, 237, 0.6), 0 0 50px rgba(167, 45, 237, 0.7); + text-shadow: 0 0 3px #4b4949, 0 0 10px rgba(167, 45, 237, 0.3), 0 0 20px rgba(167, 45, 237, 0.4), 0 0 30px rgba(167, 45, 237, 0.5), 0 0 40px rgba(167, 45, 237, 0.6), 0 0 50px rgba(167, 45, 237, 0.7); } .btn a:before { @@ -85,8 +85,8 @@ } .main.navbar.dark-theme { - background: #1a1a1a; /* Dark background */ - color: #f0f0f0; /* Light text color */ + background: #000000; /* Dark background */ + color: #a49090; /* Light text color */ }