diff --git a/login/login.css b/login/login.css index ca26c01a..54c3cb24 100644 --- a/login/login.css +++ b/login/login.css @@ -22,6 +22,7 @@ h1 { font-weight: 700; letter-spacing: -1.5px; margin: 0; + display: contents; margin-bottom: 15px; } @@ -353,6 +354,21 @@ input { padding:2px; transition: 0.3s ease-in-out; } + + + /* Add styles for the success banners */ + .success-banner { + display: none; + background-color: #4CAF50; + color: white; + padding: 15px; + text-align: center; + position: fixed; + top: 0; + width: 100%; + z-index: 10000; + } + /* hover ibn social icons */ .social-container .fb:hover { color: white; @@ -365,4 +381,5 @@ input { .social-container .lin:hover { color: white; background-color: #0A66C2; -} \ No newline at end of file +} + diff --git a/login/script.js b/login/script.js index 7c918d38..00db0b3e 100644 --- a/login/script.js +++ b/login/script.js @@ -27,16 +27,6 @@ document.addEventListener("DOMContentLoaded", function() { }, 2000); }); - loginForm.addEventListener("submit", (event) => { - event.preventDefault(); - - - // login success - alert("Login successful!"); - setTimeout(() => { - window.location.href = "index.html"; - }, 1000); - }); }); function togglePasswordVisibility(buttonId, inputId, iconId) { diff --git a/newLogin.html b/newLogin.html index 42c36801..cc0bed60 100644 --- a/newLogin.html +++ b/newLogin.html @@ -11,21 +11,23 @@ +
Logged in successfully
+
Registered successfully
-
+

Tour Guide

- - -
+ + +
- +