From 70300bdc3f365fc3ec48cc1404bf4ab91a3cd892 Mon Sep 17 00:00:00 2001 From: kalyaniugale Date: Mon, 22 Sep 2025 21:02:02 +0530 Subject: [PATCH 1/2] removed logins from all pages --- about.html | 10 +- assets/css/about.css | 2 +- contact.html | 37 +--- convert.html | 144 +-------------- customize.html | 134 +------------- faq.html | 105 +---------- feedback.html | 96 +--------- helpcenter.html | 62 +------ index.html | 410 ++----------------------------------------- privacypolicy.html | 76 +------- reportissue.html | 100 +---------- scale.html | 138 +-------------- 12 files changed, 52 insertions(+), 1262 deletions(-) diff --git a/about.html b/about.html index 2007cf0..c2efe67 100644 --- a/about.html +++ b/about.html @@ -133,14 +133,8 @@ - - - Login - - + +
diff --git a/assets/css/about.css b/assets/css/about.css index 9c0480c..124d85d 100644 --- a/assets/css/about.css +++ b/assets/css/about.css @@ -2392,7 +2392,7 @@ body.about-page.dark-mode li { .social-links { justify-content: center; } - } + @media (max-width: 1024px) { .footer-content { diff --git a/contact.html b/contact.html index 1108217..c92280e 100644 --- a/contact.html +++ b/contact.html @@ -173,37 +173,9 @@ color: #1e1e1e; } - .login-btn { - background-color: #d18a68; - color: white; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - display: flex; - align-items: center; - gap: 0.5rem; - } - - body.dark-mode .login-btn { - background-color: #e0e0e0; - color: #0d0d0d; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 2px 2px #e0e0e0; - border: 2px solid transparent; - } - body.dark-mode .login-btn:hover { - transform: translateY(-3px); - background: #e0e0e0; - box-shadow: 0 2px 2px #e0e0e0; - } + + + .hamburger { display: none; @@ -849,9 +821,6 @@
diff --git a/convert.html b/convert.html index d16f772..00f1908 100644 --- a/convert.html +++ b/convert.html @@ -496,47 +496,10 @@ color: #1e1e1e; } - .login-btn { - background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723); - color: white; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 4px 15px #402a26; - border: 2px solid transparent; - } + + - .login-btn:hover { - transform: translateY(-3px); - box-shadow: 0 8px 25px #624844; - background: linear-gradient(90deg, #543732, #3d2b28, #341d19); - } - - body.dark-mode .login-btn { - background: #e0e0e0; - color: #0d0d0d; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 2px 2px #e0e0e0; - border: 2px solid transparent; - } - - body.dark-mode .login-btn:hover { - transform: translateY(-3px); - background: #e0e0e0; - box-shadow: 0 2px 2px #e0e0e0; - } + .hamburger { display: none; @@ -644,10 +607,6 @@ z-index: 1001; } - .login-btn { - padding: 0.5rem 1rem; - font-size: 0.9rem; - } .dark-mode-btn { width: 40px; @@ -688,10 +647,7 @@ gap: 0.3rem; } - .login-btn { - padding: 0.4rem 0.8rem; - font-size: 0.8rem; - } + .dark-mode-btn { width: 35px; @@ -768,50 +724,7 @@ color: #1e1e1e; } - .login-btn { - - background-color: #5C4033; - color: white; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3); - border: 2px solid transparent; - } - - .login-btn:hover { - transform: translateY(-3px); - box-shadow: 0 8px 25px #cf622f; - background-color:#5C4033; - border-color: rgba(255, 255, 255, 0.3); - } - - body.dark-mode .login-btn { - background-color: #e0e0e0; - color: #0d0d0d; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 2px 2px #e0e0e0; - border: 2px solid transparent; - } - - body.dark-mode .login-btn:hover { - transform: translateY(-3px); - background: #e0e0e0; - box-shadow: 0 2px 2px #e0e0e0; - } - + /* Dark Mode Styles for Content */ body.dark-mode .input-label { @@ -888,10 +801,7 @@ gap: 0.3rem; } - .login-btn { - padding: 0.4rem 0.8rem; - font-size: 0.8rem; - } + .dark-mode-btn { width: 35px; @@ -1441,14 +1351,7 @@ - - +
@@ -1932,38 +1835,7 @@ }); - // Function to update login state - function updateLoginState() { - const isLoggedIn = localStorage.getItem("isLoggedIn") === "true"; - const loginBtn = document.getElementById("openLoginModal"); - const logoutBtn = document.getElementById("logoutBtn"); - - if (isLoggedIn) { - loginBtn.style.display = "none"; - logoutBtn.style.display = "flex"; - } else { - loginBtn.style.display = "flex"; - logoutBtn.style.display = "none"; - } - } - - // Logout functionality - const logoutBtn = document.getElementById("logoutBtn"); - if (logoutBtn) { - logoutBtn.addEventListener("click", (e) => { - e.preventDefault(); - localStorage.removeItem("isLoggedIn"); - localStorage.removeItem("currentUser"); - updateLoginState(); - alert("You have been logged out successfully!"); - }); - } - - // Check login state on page load - document.addEventListener("DOMContentLoaded", () => { - updateLoginState(); - }); - + // Add some sample data for demo purposes document.addEventListener('DOMContentLoaded', function () { // Add floating animation to page elements diff --git a/customize.html b/customize.html index 5177c67..16ea0aa 100644 --- a/customize.html +++ b/customize.html @@ -265,48 +265,7 @@ color: #1e1e1e; } - .login-btn { - background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723); - color: white; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 4px 15px #402a26; - border: 2px solid transparent; - } - - .login-btn:hover { - transform: translateY(-3px); - box-shadow: 0 8px 25px #624844; - background: linear-gradient(90deg, #543732, #3d2b28, #341d19); - } - - body.dark-mode .login-btn { - background: #e0e0e0; - color: #0d0d0d; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 2px 2px #e0e0e0; - border: 2px solid transparent; - } - - body.dark-mode .login-btn:hover { - transform: translateY(-3px); - background: #e0e0e0; - box-shadow: 0 2px 2px #e0e0e0; - } - + .hamburger { display: none; flex-direction: column; @@ -421,48 +380,6 @@ color: #1e1e1e; } - .login-btn { - background-color:#5C4033; - color: white; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3); - border: 2px solid transparent; - } - - .login-btn:hover { - transform: translateY(-3px); - box-shadow: 0 8px 25px #cf622f; - background-color:#5C4033; - border-color: rgba(255, 255, 255, 0.3); - } - - body.dark-mode .login-btn { - background-color: #e0e0e0; - color: #0d0d0d; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 2px 2px #e0e0e0; - border: 2px solid transparent; - } - - body.dark-mode .login-btn:hover { - transform: translateY(-3px); - background: #e0e0e0; - box-shadow: 0 2px 2px #e0e0e0; - } .hamburger { display: none; @@ -570,10 +487,7 @@ z-index: 1001; } - .login-btn { - padding: 0.5rem 1rem; - font-size: 0.9rem; - } + .dark-mode-btn { width: 40px; @@ -614,10 +528,6 @@ gap: 0.3rem; } - .login-btn { - padding: 0.4rem 0.8rem; - font-size: 0.8rem; - } .dark-mode-btn { width: 35px; @@ -1432,14 +1342,6 @@ - -
@@ -1837,37 +1739,7 @@ document.querySelector(`[data-brand="${savedBrand}"]`)?.classList.add('selected'); } - // Function to update login state - function updateLoginState() { - const isLoggedIn = localStorage.getItem("isLoggedIn") === "true"; - const loginBtn = document.getElementById("openLoginModal"); - const logoutBtn = document.getElementById("logoutBtn"); - - if (isLoggedIn) { - loginBtn.style.display = "none"; - logoutBtn.style.display = "flex"; - } else { - loginBtn.style.display = "flex"; - logoutBtn.style.display = "none"; - } - } - - // Logout functionality - const logoutBtn = document.getElementById("logoutBtn"); - if (logoutBtn) { - logoutBtn.addEventListener("click", (e) => { - e.preventDefault(); - localStorage.removeItem("isLoggedIn"); - localStorage.removeItem("currentUser"); - updateLoginState(); - alert("You have been logged out successfully!"); - }); - } - - // Check login state on page load - document.addEventListener("DOMContentLoaded", () => { - updateLoginState(); - }); + // Initialize page document.addEventListener('DOMContentLoaded', () => { diff --git a/faq.html b/faq.html index e463db0..8040817 100644 --- a/faq.html +++ b/faq.html @@ -243,48 +243,7 @@ color: #1e1e1e; } - .login-btn { - background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723); - color: white; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 4px 15px #402a26; - border: 2px solid transparent; - } - - .login-btn:hover { - transform: translateY(-3px); - box-shadow: 0 8px 25px #624844; - background: linear-gradient(90deg, #543732, #3d2b28, #341d19); - } - - body.dark-mode .login-btn { - background: #e0e0e0; - color: #0d0d0d; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 2px 2px #e0e0e0; - border: 2px solid transparent; - } - - body.dark-mode .login-btn:hover { - transform: translateY(-3px); - background: #e0e0e0; - box-shadow: 0 2px 2px #e0e0e0; - } - + .hamburger { display: none; flex-direction: column; @@ -398,48 +357,7 @@ color: #1e1e1e; } - .login-btn { - background-color: #5C4033; - color: white; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3); - border: 2px solid transparent; - } - - .login-btn:hover { - transform: translateY(-3px); - box-shadow: 0 8px 25px #cf622f; - background-color: #5C4033; - border-color: rgba(255, 255, 255, 0.3); - } - - body.dark-mode .login-btn { - background-color: #e0e0e0; - color: #0d0d0d; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 2px 2px #e0e0e0; - border: 2px solid transparent; - } - - body.dark-mode .login-btn:hover { - transform: translateY(-3px); - background: #e0e0e0; - box-shadow: 0 2px 2px #e0e0e0; - } + .hamburger { display: none; @@ -922,10 +840,7 @@ z-index: 1001; } - .login-btn { - padding: 0.5rem 1rem; - font-size: 0.9rem; - } + .dark-mode-btn { width: 40px; @@ -966,11 +881,6 @@ gap: 0.3rem; } - .login-btn { - padding: 0.4rem 0.8rem; - font-size: 0.8rem; - } - .dark-mode-btn { width: 35px; height: 35px; @@ -1091,14 +1001,7 @@ - - +
diff --git a/feedback.html b/feedback.html index 38436e4..40bd986 100644 --- a/feedback.html +++ b/feedback.html @@ -193,49 +193,7 @@ color: #1e1e1e; } - .login-btn { - background-color: #d18a68; - color: white; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3); - border: 2px solid transparent; - } - - .login-btn:hover { - transform: translateY(-3px); - box-shadow: 0 8px 25px #d18a68; - background-color: #d18a68; - border-color: rgba(255, 255, 255, 0.3); - } - - body.dark-mode .login-btn { - background-color: #e0e0e0; - color: #0d0d0d; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 2px 2px #e0e0e0; - border: 2px solid transparent; - } - - body.dark-mode .login-btn:hover { - transform: translateY(-3px); - background: #e0e0e0; - box-shadow: 0 2px 2px #e0e0e0; - } - + .hamburger { display: none; flex-direction: column; @@ -319,7 +277,7 @@ margin-bottom: 1rem; } body.dark-mode .feedback-title{ - ont-size: 3rem; + font-size: 3rem; font-weight: 700; background: #e0e0e0; -webkit-background-clip: text; @@ -970,14 +928,7 @@ - - +
@@ -1337,46 +1288,7 @@ }, 1500); }); - // Login functionality (basic implementation) - const loginBtn = document.getElementById('openLoginModal'); - const logoutBtn = document.getElementById('logoutBtn'); - - // Check if user is logged in - function updateLoginState() { - const isLoggedIn = localStorage.getItem('isLoggedIn') === 'true'; - if (isLoggedIn) { - loginBtn.style.display = 'none'; - logoutBtn.style.display = 'flex'; - } else { - loginBtn.style.display = 'flex'; - logoutBtn.style.display = 'none'; - } - } - - // Simple login (just for demo) - loginBtn.addEventListener('click', (e) => { - e.preventDefault(); - const username = prompt('Enter username:'); - if (username) { - localStorage.setItem('isLoggedIn', 'true'); - localStorage.setItem('currentUser', username); - updateLoginState(); - alert(`Welcome, ${username}!`); - } - }); - - // Logout functionality - logoutBtn.addEventListener('click', (e) => { - e.preventDefault(); - localStorage.removeItem('isLoggedIn'); - localStorage.removeItem('currentUser'); - updateLoginState(); - alert('You have been logged out successfully!'); - }); - - // Initialize login state - updateLoginState(); - + // Auto-fill user name if logged in document.addEventListener('DOMContentLoaded', () => { const currentUser = localStorage.getItem('currentUser'); diff --git a/helpcenter.html b/helpcenter.html index 0344105..080676e 100644 --- a/helpcenter.html +++ b/helpcenter.html @@ -236,48 +236,7 @@ color: #1e1e1e; } - .login-btn { - background-color:#5C4033; - color: white; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3); - border: 2px solid transparent; - } - - .login-btn:hover { - transform: translateY(-3px); - box-shadow: 0 8px 25px #cf622f; - background-color:#5C4033; - border-color: rgba(255, 255, 255, 0.3); - } - - body.dark-mode .login-btn { - background-color: #e0e0e0; - color: #0d0d0d; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 2px 2px #e0e0e0; - border: 2px solid transparent; - } - - body.dark-mode .login-btn:hover { - transform: translateY(-3px); - background: #e0e0e0; - box-shadow: 0 2px 2px #e0e0e0; - } + .hamburger { display: none; @@ -362,10 +321,7 @@ z-index: 1001; } - .login-btn { - padding: 0.5rem 1rem; - font-size: 0.9rem; - } + .dark-mode-btn { width: 40px; @@ -405,10 +361,7 @@ gap: 0.3rem; } - .login-btn { - padding: 0.4rem 0.8rem; - font-size: 0.8rem; - } + .dark-mode-btn { width: 35px; @@ -877,14 +830,7 @@ - - +
diff --git a/index.html b/index.html index 54b933c..7c949e6 100644 --- a/index.html +++ b/index.html @@ -338,81 +338,9 @@ color: #1e1e1e; } - .login-btn { - - background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723); - color: white; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 4px 15px #402a26; - border: 2px solid transparent; - } - - .login-btn:hover { - transform: translateY(-3px); - box-shadow: 0 8px 25px #624844; - background-color:linear-gradient(90deg, #543732, #3d2b28, #341d19); - } - - body.dark-mode .login-btn { - background: #e0e0e0; - color: #0d0d0d; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 2px 2px #e0e0e0; - border: 2px solid transparent; - } - - body.dark-mode .login-btn:hover { - transform: translateY(-3px); - background: #e0e0e0; - box-shadow: 0 2px 2px #e0e0e0; - } - - .signup-btn { - background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723); - color: white; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 4px 15px #402a26; - border: 2px solid transparent; - } - - .signup-btn:hover { - transform: translateY(-3px); - box-shadow: 0 8px 25px #624844; - background:linear-gradient(90deg, #543732, #3d2b28, #341d19); - border-color: rgba(255, 255, 255, 0.3); - } - - body.dark-mode .signup-btn { - background:linear-gradient(90deg, #543732, #3d2b28, #341d19); - box-shadow: 0 4px 15px #402a26; - } - - body.dark-mode .signup-btn:hover { - background: linear-gradient(90deg, #543732, #3d2b28, #341d19); - box-shadow: 0 8px 25px #402a26; - } + + /* Dark mode base */ body.dark-mode { background: #3b3b3b; @@ -432,28 +360,7 @@ } - /* Dark mode for login button */ - body.dark-mode .login-btn { - background: #e0e0e0; - color: #0d0d0d; - box-shadow: 0 2px 2px #e0e0e0; - } - - body.dark-mode .login-btn:hover { - background: #e0e0e0; - box-shadow: 0 2px 2px #e0e0e0; - } - - /* Dark mode for signup button */ - body.dark-mode .signup-btn { - background: linear-gradient(90deg, #543732, #3d2b28, #341d19); - box-shadow: 0 4px 15px #402a26; - } - - body.dark-mode .signup-btn:hover { - background: linear-gradient(90deg, #543732, #3d2b28, #341d19); - box-shadow: 0 8px 25px #402a26; - } + .hamburger { @@ -639,11 +546,7 @@ z-index: 1001; } - .login-btn { - padding: 0.5rem 1rem; - font-size: 0.9rem; - } - + .dark-mode-btn { width: 40px; height: 40px; @@ -683,10 +586,7 @@ gap: 0.3rem; } - .login-btn { - padding: 0.4rem 0.8rem; - font-size: 0.8rem; - } + .dark-mode-btn { width: 35px; @@ -1334,21 +1234,7 @@ } } - /* Login Modal */ - #loginModal { - display: flex; - position: fixed; - top: 0; - left: 0; - width: 100vw; - height: 100vh; - background: rgba(5, 4, 4, 0.715); - backdrop-filter: blur(5px); - z-index: 2000; - align-items: center; - justify-content: center; - } - + .modal-content { background: white; border-radius: 20px; @@ -1623,9 +1509,6 @@ } /* Hidden by default - remove this line to show the modal */ -#loginModal { - display: flex; /* Changed from none to flex for demo */ -} @@ -1684,14 +1567,7 @@

Baking Mode On

- - +
@@ -1824,111 +1700,7 @@
-
- -
+ diff --git a/reportissue.html b/reportissue.html index 7de8d50..1c98713 100644 --- a/reportissue.html +++ b/reportissue.html @@ -322,48 +322,7 @@ color: #1e1e1e; } - .login-btn { - background-color: #d18a68; - color: white; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3); - border: 2px solid transparent; - } - - .login-btn:hover { - transform: translateY(-3px); - box-shadow: 0 8px 25px #d18a68; - background-color: #d18a68; - border-color: rgba(255, 255, 255, 0.3); - } - - body.dark-mode .login-btn { - background-color: #e0e0e0; - color: #0d0d0d; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 2px 2px #e0e0e0; - border: 2px solid transparent; - } - - body.dark-mode .login-btn:hover { - transform: translateY(-3px); - background: #e0e0e0; - box-shadow: 0 2px 2px #e0e0e0; - } + .hamburger { display: none; @@ -1044,14 +1003,7 @@ - - +
@@ -1314,53 +1266,7 @@ }, 1500); }); - // Login functionality (basic implementation) - const loginBtn = document.getElementById('openLoginModal'); - const logoutBtn = document.getElementById('logoutBtn'); - - // Check if user is logged in - function updateLoginState() { - const isLoggedIn = localStorage.getItem('isLoggedIn') === 'true'; - if (isLoggedIn) { - loginBtn.style.display = 'none'; - logoutBtn.style.display = 'flex'; - } else { - loginBtn.style.display = 'flex'; - logoutBtn.style.display = 'none'; - } - } - - // Simple login (just for demo) - loginBtn.addEventListener('click', (e) => { - e.preventDefault(); - const username = prompt('Enter username:'); - if (username) { - localStorage.setItem('isLoggedIn', 'true'); - localStorage.setItem('currentUser', username); - updateLoginState(); - alert(`Welcome, ${username}!`); - } - }); - - // Logout functionality - logoutBtn.addEventListener('click', (e) => { - e.preventDefault(); - localStorage.removeItem('isLoggedIn'); - localStorage.removeItem('currentUser'); - updateLoginState(); - alert('You have been logged out successfully!'); - }); - - // Initialize login state - updateLoginState(); - - // Auto-fill user name if logged in - document.addEventListener('DOMContentLoaded', () => { - const currentUser = localStorage.getItem('currentUser'); - if (currentUser) { - document.getElementById('userName').value = currentUser; - } - }); + diff --git a/scale.html b/scale.html index 2a16c4e..a0d5299 100644 --- a/scale.html +++ b/scale.html @@ -222,48 +222,7 @@ color: #1e1e1e; } - .login-btn { - background: linear-gradient(90deg, #3e2723, #6e463e, #3e2723); - color: white; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 4px 15px #402a26; - border: 2px solid transparent; - } - - .login-btn:hover { - transform: translateY(-3px); - box-shadow: 0 8px 25px #624844; - background: linear-gradient(90deg, #543732, #3d2b28, #341d19); - } - - body.dark-mode .login-btn { - background: #e0e0e0; - color: #0d0d0d; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 2px 2px #e0e0e0; - border: 2px solid transparent; - } - - body.dark-mode .login-btn:hover { - transform: translateY(-3px); - background: #e0e0e0; - box-shadow: 0 2px 2px #e0e0e0; - } - + .hamburger { display: none; flex-direction: column; @@ -346,48 +305,7 @@ color: #1e1e1e; } - .login-btn { - background-color: #d18a68; - color: white; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3); - border: 2px solid transparent; - } - - .login-btn:hover { - transform: translateY(-3px); - box-shadow: 0 8px 25px rgba(255, 107, 107, 0.4); - background: #d18a68; - border-color: rgba(255, 255, 255, 0.3); - } - - body.dark-mode .login-btn { - background-color: #e0e0e0; - color: #0d0d0d; - text-decoration: none; - padding: 0.7rem 1.5rem; - border-radius: 25px; - font-weight: 600; - transition: all 0.3s ease; - display: flex; - align-items: center; - gap: 0.5rem; - box-shadow: 0 2px 2px #e0e0e0; - border: 2px solid transparent; - } - - body.dark-mode .login-btn:hover { - transform: translateY(-3px); - background: #e0e0e0; - box-shadow: 0 2px 2px #e0e0e0; - } + /* ===== STANDARDIZED MOBILE NAVIGATION ===== */ @@ -458,11 +376,7 @@ z-index: 1001; } - .login-btn { - padding: 0.5rem 1rem; - font-size: 0.9rem; - } - + .dark-mode-btn { width: 40px; height: 40px; @@ -502,10 +416,7 @@ gap: 0.3rem; } - .login-btn { - padding: 0.4rem 0.8rem; - font-size: 0.8rem; - } + .dark-mode-btn { width: 35px; @@ -1800,14 +1711,7 @@ - - +
@@ -2339,37 +2243,7 @@

Scaling Factor: ${scale.toFix }); - // Function to update login state - function updateLoginState() { - const isLoggedIn = localStorage.getItem("isLoggedIn") === "true"; - const loginBtn = document.getElementById("openLoginModal"); - const logoutBtn = document.getElementById("logoutBtn"); - - if (isLoggedIn) { - loginBtn.style.display = "none"; - logoutBtn.style.display = "flex"; - } else { - loginBtn.style.display = "flex"; - logoutBtn.style.display = "none"; - } - } - - // Logout functionality - const logoutBtn = document.getElementById("logoutBtn"); - if (logoutBtn) { - logoutBtn.addEventListener("click", (e) => { - e.preventDefault(); - localStorage.removeItem("isLoggedIn"); - localStorage.removeItem("currentUser"); - updateLoginState(); - alert("You have been logged out successfully!"); - }); - } - - // Check login state on page load - document.addEventListener("DOMContentLoaded", () => { - updateLoginState(); - }); + // Add some example recipes on page load window.addEventListener('load', function () { From 42150dfd40d1275d28411b3e9baae93d68857d75 Mon Sep 17 00:00:00 2001 From: kalyaniugale Date: Mon, 22 Sep 2025 21:44:11 +0530 Subject: [PATCH 2/2] resolved conflicts --- convert.html | 2451 +++++++++++++------------------------------------ index.html | 2468 ++++++++++++++------------------------------------ 2 files changed, 1302 insertions(+), 3617 deletions(-) diff --git a/convert.html b/convert.html index 00f1908..02ba2a2 100644 --- a/convert.html +++ b/convert.html @@ -1,1380 +1,375 @@ - - - - - - Convert Recipe - BakeGenius.ai | AI-Powered Recipe Conversion Tool - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + /* Floating emojis */ + .floating-elements { position:fixed; inset:0; pointer-events:none; z-index:1; } + .floating-cupcake { position:absolute; font-size:2rem; animation: float 6s ease-in-out infinite; } + .floating-cupcake:nth-child(1){ top:10%; left:10%; animation-delay:0s;} + .floating-cupcake:nth-child(2){ top:20%; right:15%; animation-delay:2s;} + .floating-cupcake:nth-child(3){ bottom:20%; left:20%; animation-delay:4s;} + .floating-cupcake:nth-child(4){ bottom:30%; right:10%; animation-delay:1s;} + @keyframes float { 0%,100% { transform:translateY(0) rotate(0deg);} 50% { transform:translateY(-20px) rotate(5deg);} } + + /* Back to Top button */ + #backToTop { + position: fixed; right: 2.5rem; bottom: 2.5rem; z-index: 2000; + background: linear-gradient(45deg, #a4766a, #5d4037); color: #fff; border: none; border-radius: 50%; + width: 56px; height: 56px; font-size: 2rem; box-shadow: 0 8px 24px rgba(0,0,0,0.18); + cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .4s, transform .2s; + } + #backToTop.show { opacity:1; pointer-events:auto; transform: scale(1.08); } + #backToTop:hover { transform: scale(1.15); } + + /* ===== FOOTER ===== */ + .footer { background: radial-gradient(circle at center, #e9b4b6, #e5c5b3); backdrop-filter: blur(15px); position:relative; z-index:2; border-top:1px solid rgba(255,255,255,0.3); margin-top:4rem; } + body.dark-mode .footer { background:#1e1e1e; } + .footer-content { max-width:1500px; margin:0 auto; display:grid; grid-template-columns:2fr 1fr 1fr 1fr; gap:3rem; padding:3rem 2rem 2rem; } + .footer-section h3.footer-title { color:#3e2723; font-size:1.2rem; font-weight:700; margin-bottom:1.5rem; position:relative; } + .footer-section h3.footer-title::after { content:''; position:absolute; bottom:-8px; left:0; width:30px; height:3px; background:#3e2723; border-radius:2px; } + body.dark-mode .footer-section h3.footer-title::after { background:#e0e0e0; } + .footer-logo { display:flex; align-items:center; gap:.8rem; margin-bottom:1.5rem; font-size:1.8rem; font-weight:700; color:#3e2723;} + .footer-logo-icon { font-size:2rem; } + .footer-description { color:#333; line-height:1.6; margin-bottom:2rem; font-size:.95rem; } + .footer-links { list-style:none; padding:0; margin:0; } + .footer-links li { margin-bottom:.8rem; } + .footer-links a { color:#333; text-decoration:none; display:flex; align-items:center; gap:.8rem; font-weight:500; transition:all .3s ease; padding:.3rem 0; border-radius:5px; } + .footer-links a:hover { color:black; transform:translateX(4px); background:rgba(255,107,107,0.1); padding-left:.8rem; } + .footer-links i { font-size:.9rem; width:16px; opacity:.7; } + .social-links { display:flex; gap:1rem; margin-top:1rem; } + .social-link { display:inline-flex; align-items:center; justify-content:center; width:45px; height:45px; background:linear-gradient(90deg,#3e2723,#6e463e,#3e2723); color:white; text-decoration:none; border-radius:50%; font-size:1.2rem; transition:all .3s ease; box-shadow:0 4px 15px rgba(0,0,0,0.2); } + .social-link:hover { transform:translateY(-3px) scale(1.1); box-shadow:0 8px 25px rgba(0,0,0,0.3); } + + .footer-bottom { background:rgba(0,0,0,0.05); backdrop-filter:blur(10px); border-top:1px solid rgba(255,255,255,0.1); padding:1.5rem 0; } + .footer-bottom-content { max-width:1500px; margin:0 auto; padding:0 2rem; display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:1rem; } + .copyright { color:#333; font-size:.9rem; margin:0; } + .copyright .name { color:#3e2723; font-weight:600; } + + @media (max-width:1024px){ + .footer-content{ grid-template-columns:1fr 1fr; gap:2rem; } + } + @media (max-width:768px){ + .footer-content{ grid-template-columns:1fr; gap:2rem; text-align:center; } + .footer-bottom-content{ flex-direction:column; text-align:center; gap:1rem; } + .social-links{ justify-content:center; } + } + -
-
🧁
-
🍰
-
🥧
-
🍪
+ + + + + +
+ - -
- - -
- -
-
- - -
- -
- - -
- - -
- - -
-
-

🎯 Conversion Results

-
- - -
-
- - - - - - - - - - - - - -
IngredientOriginalGramsNotes
-
-
-
- - -
-
-

⚠️ Ambiguous Measurement

-

- -
- - - - - - - + function showWarning(message){ + const overlay = document.getElementById('overlay'); + const popup = document.getElementById('warningPopup'); + const messageEl = document.getElementById('warningMessage'); + messageEl.textContent = message; + overlay.style.display='block'; + popup.style.display='block'; + } + function closeWarning(){ + document.getElementById('overlay').style.display='none'; + document.getElementById('warningPopup').style.display='none'; + } + window.closeWarning = closeWarning; + + // Back to top behavior + const backToTopBtn = document.getElementById('backToTop'); + window.addEventListener('scroll', ()=>{ + backToTopBtn.classList.toggle('show', window.scrollY > 300); + }); + backToTopBtn.addEventListener('click', ()=> window.scrollTo({top:0, behavior:'smooth'})); + + // Entry animations + document.addEventListener('DOMContentLoaded', ()=>{ + const animateEls = document.querySelectorAll('.input-section, .results-section'); + animateEls.forEach((el,i)=>{ + el.style.animation = `fadeInUp .6s ease forwards ${i*0.2}s`; + el.style.opacity = '0'; + el.style.transform = 'translateY(30px)'; + }); + const style = document.createElement('style'); + style.textContent = `@keyframes fadeInUp{to{opacity:1; transform:translateY(0);}}`; + document.head.appendChild(style); + }); + - - \ No newline at end of file + diff --git a/index.html b/index.html index 7c949e6..a139652 100644 --- a/index.html +++ b/index.html @@ -1,1850 +1,694 @@ - - - - - - BakeGenius.ai - AI-Powered Baking Conversions | Perfect Baking Every Time - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @media (max-width:480px){ + .hero-title{font-size:2rem} + .hero-subtitle{font-size:1.1rem} + .cta-button{font-size:1rem; padding:.8rem 2rem} + } + - -
-
- -

Baking Mode On

-
+ +
+
+ +

Baking Mode On

- - - - -
- -
-

Welcome to BakeGenius.ai

-

- From spoon to scale — get exact gram conversions with AI magic ✨
- Transform vague recipe measurements into precise, consistent results - every time! -

- Start Converting Now 🚀 -
- - -
-
- -

AI-Powered Precision

-

- Advanced AI converts "cups" and "spoons" into exact gram - measurements for perfect baking every time. -

-
-
- -

Smart Recipe Scaling

-

- Effortlessly scale recipes up or down while maintaining perfect - ratios and adjusting rising agents intelligently. -

-
-
- -

Custom Preferences

-

- Personalize conversions based on your preferred brands and - ingredient specifications for consistent results. -

-
-
-
- - - - - - -
-