diff --git a/aboutus.html b/aboutus.html index 0feee4b..9c4d939 100644 --- a/aboutus.html +++ b/aboutus.html @@ -87,6 +87,7 @@

Our Mission

© 2023 Copyright:

TravelTales:) About us + Privacy Policy @@ -101,6 +102,96 @@

To write or read a post you must do authorization.

+ + + \ No newline at end of file diff --git a/index.html b/index.html index 0243819..7d76840 100644 --- a/index.html +++ b/index.html @@ -176,6 +176,7 @@

Sign in

© 2023 Copyright:

TravelTales:) About us + Privacy Policy @@ -190,6 +191,105 @@

To write or read a post you must do authorization.

+ + + const privacyPolicyModal = new bootstrap.Modal(document.getElementById('privacyPolicyModal')); + + document.getElementById('privacyPolicyLink').addEventListener('click', () => { + privacyPolicyModal.show(); + }); + + const acceptButton = document.querySelector('#privacyPolicyModal .btn-primary'); + const closeButton = document.querySelector('#privacyPolicyModal .btn-secondary'); + + acceptButton.addEventListener('click', () => { + privacyPolicyModal.hide(); // Close the modal + }); + + closeButton.addEventListener('click', () => { + privacyPolicyModal.hide(); // Close the modal + }); + \ No newline at end of file