From ec7430bb43fffadf71aa8d2a3cda15180e7f190f Mon Sep 17 00:00:00 2001 From: Lisara Yatiwala Date: Wed, 9 Oct 2024 14:41:32 +0530 Subject: [PATCH 1/4] Fixed "Donate Us" button popup in the Navbar --- index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 42fe432..92841ff 100644 --- a/index.html +++ b/index.html @@ -25,7 +25,7 @@ @@ -256,7 +256,7 @@ button.addEventListener("click", function() { // Determine which button was clicked and show the popup accordingly const trigger = button.getAttribute("data-popup-trigger"); - if (trigger === "donate" || trigger === "cover-page" || trigger === "navbar") { + if (trigger === "cover-page" || trigger === "navbar") { popup.style.display = "block"; overlay.style.display = "block"; } From eba775ce07bcc490cdd2d8bdce236947ad50cc92 Mon Sep 17 00:00:00 2001 From: Lisara Yatiwala Date: Wed, 9 Oct 2024 15:27:59 +0530 Subject: [PATCH 2/4] "JUST $1 PLANTS A TREE" button fixed Now "JUST $1 PLANTS A TREE" button works and shows the popup --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 92841ff..bb09f8d 100644 --- a/index.html +++ b/index.html @@ -256,7 +256,7 @@ button.addEventListener("click", function() { // Determine which button was clicked and show the popup accordingly const trigger = button.getAttribute("data-popup-trigger"); - if (trigger === "cover-page" || trigger === "navbar") { + if ((trigger === "donate" || trigger === "cover-page" || trigger === "navbar") { popup.style.display = "block"; overlay.style.display = "block"; } From 6bc5f6ca0086d6fb70ed79ae8bced51475971eae Mon Sep 17 00:00:00 2001 From: Lisara Yatiwala Date: Wed, 9 Oct 2024 15:30:26 +0530 Subject: [PATCH 3/4] [fix]: "JUST $1 PLANTS A TREE" button --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index bb09f8d..ac0d312 100644 --- a/index.html +++ b/index.html @@ -256,7 +256,7 @@ button.addEventListener("click", function() { // Determine which button was clicked and show the popup accordingly const trigger = button.getAttribute("data-popup-trigger"); - if ((trigger === "donate" || trigger === "cover-page" || trigger === "navbar") { + if (trigger === "donate" || trigger === "cover-page" || trigger === "navbar") { popup.style.display = "block"; overlay.style.display = "block"; } From 5b5cae697fd14ea833080ff24ee228561944dbd2 Mon Sep 17 00:00:00 2001 From: Lisara Yatiwala Date: Wed, 9 Oct 2024 15:36:18 +0530 Subject: [PATCH 4/4] About.html - Fixed "Donate Us" button popup in the Navbar Fixed the "Donate Us" button popup in the Navbar on both pages, index.html, about.html --- about.html | 1 - 1 file changed, 1 deletion(-) diff --git a/about.html b/about.html index 6bf6b6a..877b102 100644 --- a/about.html +++ b/about.html @@ -54,7 +54,6 @@ DONATE ABOUT US