diff --git a/pages/privacy.html b/pages/privacy.html index 4f622d9..882e808 100644 --- a/pages/privacy.html +++ b/pages/privacy.html @@ -47,6 +47,25 @@ display: none; } } + + + .Lastupdate { + margin-bottom: 18px; + font-size: 20px !important; + font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, serif !important; + font-weight: 700; + margin-top: 0px; + color: rgb(255, 171, 4) !important; + } + + #last-updated-date { + font-size: 18px; + color: rgb(255, 255, 255) !important; + font-weight: 400 !important; + } + + + @@ -185,6 +204,7 @@

+
Last updated:
Privacy Policy
This Privacy Policy describes how your personal information is collected, used, and shared when you visit or @@ -274,6 +294,46 @@

{ + setTimeout(() => { + const loader = document.getElementById("loader"); + if (loader) { + loader.style.display = "none"; + } else { + console.error("Element with ID 'loader' not found."); + } + }, 500); + + // Update the date dynamically + function updateLastUpdatedDate() { + const dateElement = document.getElementById("last-updated-date"); + const now = new Date(); + const day = now.getDate(); + const monthNames = [ + "January", "February", "March", "April", "May", "June", + "July", "August", "September", "October", "November", "December" + ]; + const month = monthNames[now.getMonth()]; + const year = now.getFullYear(); + dateElement.textContent = `${month} ${day}, ${year}`; + } + + function updateWeekly() { + const now = new Date(); + const dayOfWeek = now.getDay(); // 0 (Sunday) to 6 (Saturday) + const timeUntilNextUpdate = (7 - dayOfWeek) * 24 * 60 * 60 * 1000; // Time until next Sunday + updateLastUpdatedDate(); + setTimeout(updateWeekly, timeUntilNextUpdate); + } + + updateWeekly(); + }); + + + diff --git a/pages/terms.html b/pages/terms.html index ff5aa66..ab33667 100644 --- a/pages/terms.html +++ b/pages/terms.html @@ -47,6 +47,23 @@ display: none; } } + + .Lastupdate { + margin-bottom: 18px; + font-size: 20px !important; + font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, serif !important; + font-weight: 700; + margin-top: 0px; + color: rgb(255, 171, 4) !important; + } + + #last-updated-date { + font-size: 18px; + color: rgb(255, 255, 255) !important; + font-weight: 400 !important; + } + + @@ -184,6 +201,7 @@

+
Last updated:
Terms and Conditions
These terms and conditions outline the rules and regulations for the use of our website. @@ -282,6 +300,44 @@

{ + setTimeout(() => { + const loader = document.getElementById("loader"); + if (loader) { + loader.style.display = "none"; + } else { + console.error("Element with ID 'loader' not found."); + } + }, 500); + + // Update the date dynamically + function updateLastUpdatedDate() { + const dateElement = document.getElementById("last-updated-date"); + const now = new Date(); + const day = now.getDate(); + const monthNames = [ + "January", "February", "March", "April", "May", "June", + "July", "August", "September", "October", "November", "December" + ]; + const month = monthNames[now.getMonth()]; + const year = now.getFullYear(); + dateElement.textContent = `${month} ${day}, ${year}`; + } + + function updateWeekly() { + const now = new Date(); + const dayOfWeek = now.getDay(); // 0 (Sunday) to 6 (Saturday) + const timeUntilNextUpdate = (7 - dayOfWeek) * 24 * 60 * 60 * 1000; // Time until next Sunday + updateLastUpdatedDate(); + setTimeout(updateWeekly, timeUntilNextUpdate); + } + + updateWeekly(); + }); + +