From bd8253dc9857abff8b4a1afdcab3badbcb53e40c Mon Sep 17 00:00:00 2001 From: Aman kumar vishwakrma <186990161+amankv1234@users.noreply.github.com> Date: Sun, 19 Jul 2026 22:53:11 +0530 Subject: [PATCH 1/5] social share button integration --- frontend/.env.example | 12 ------------ frontend/index.html | 19 +++++++++++++++---- frontend/src/components/Navbar.jsx | 24 ++++++++++++++---------- 3 files changed, 29 insertions(+), 26 deletions(-) delete mode 100644 frontend/.env.example diff --git a/frontend/.env.example b/frontend/.env.example deleted file mode 100644 index 4c220784..00000000 --- a/frontend/.env.example +++ /dev/null @@ -1,12 +0,0 @@ -# env-copy - -#Ethereum Sepolia (11155111) -VITE_CONTRACT_ADDRESS_11155111=0x54a542dCDC306eE281b5De4613EcEfe6e6ABc562 - -# Ethereum Classic (61) -VITE_CONTRACT_ADDRESS_61=0xD044A85a5daC307217B9bF313A90E8a60AF7DdCe - -# Polygon Mainnet (137) -VITE_CONTRACT_ADDRESS_137=0xD044A85a5daC307217B9bF313A90E8a60AF7DdCe - -VITE_WALLETCONNECT_PROJECT_ID= diff --git a/frontend/index.html b/frontend/index.html index 6b6278da..8bc54b64 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,27 +1,33 @@ + Chainvoice | Stability Nexus - + - + - + - + + +
+ + \ No newline at end of file diff --git a/frontend/src/components/Navbar.jsx b/frontend/src/components/Navbar.jsx index 74ac36ed..65d1ca2b 100644 --- a/frontend/src/components/Navbar.jsx +++ b/frontend/src/components/Navbar.jsx @@ -184,8 +184,8 @@ function Navbar() { {item.icon} @@ -195,8 +195,8 @@ function Navbar() { {item.icon} @@ -205,6 +205,7 @@ function Navbar() { )} ))} + {publicItems.map((item) => ( {item.icon} @@ -224,11 +225,14 @@ function Navbar() { ))} +
+ +
@@ -327,8 +331,8 @@ function Navbar() { to={item.path} onClick={closeMobileMenu} className={`block w-full text-left px-4 py-3 rounded-lg transition-colors ${isActive(item.path) - ? "bg-green-900/30 text-green-400 font-medium" - : "text-white hover:bg-gray-800" + ? "bg-green-900/30 text-green-400 font-medium" + : "text-white hover:bg-gray-800" }`} >
From be1f8f3161492892d277b0372eca4ef06c206cdf Mon Sep 17 00:00:00 2001 From: Aman kumar vishwakrma <186990161+amankv1234@users.noreply.github.com> Date: Sun, 19 Jul 2026 22:58:11 +0530 Subject: [PATCH 2/5] social share button integration --- frontend/.env.example | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 frontend/.env.example diff --git a/frontend/.env.example b/frontend/.env.example new file mode 100644 index 00000000..4c220784 --- /dev/null +++ b/frontend/.env.example @@ -0,0 +1,12 @@ +# env-copy + +#Ethereum Sepolia (11155111) +VITE_CONTRACT_ADDRESS_11155111=0x54a542dCDC306eE281b5De4613EcEfe6e6ABc562 + +# Ethereum Classic (61) +VITE_CONTRACT_ADDRESS_61=0xD044A85a5daC307217B9bF313A90E8a60AF7DdCe + +# Polygon Mainnet (137) +VITE_CONTRACT_ADDRESS_137=0xD044A85a5daC307217B9bF313A90E8a60AF7DdCe + +VITE_WALLETCONNECT_PROJECT_ID= From 3147d1a74b58e08970adbe481f7a3a047ad05a0a Mon Sep 17 00:00:00 2001 From: Aman kumar vishwakrma <186990161+amankv1234@users.noreply.github.com> Date: Sun, 19 Jul 2026 23:08:50 +0530 Subject: [PATCH 3/5] socail share button integration --- frontend/.env.example | 2 +- frontend/src/components/Navbar.jsx | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/frontend/.env.example b/frontend/.env.example index 4c220784..7bdb27ef 100644 --- a/frontend/.env.example +++ b/frontend/.env.example @@ -9,4 +9,4 @@ VITE_CONTRACT_ADDRESS_61=0xD044A85a5daC307217B9bF313A90E8a60AF7DdCe # Polygon Mainnet (137) VITE_CONTRACT_ADDRESS_137=0xD044A85a5daC307217B9bF313A90E8a60AF7DdCe -VITE_WALLETCONNECT_PROJECT_ID= +VITE_WALLETCONNECT_PROJECT_ID= \ No newline at end of file diff --git a/frontend/src/components/Navbar.jsx b/frontend/src/components/Navbar.jsx index 65d1ca2b..adbeddca 100644 --- a/frontend/src/components/Navbar.jsx +++ b/frontend/src/components/Navbar.jsx @@ -205,7 +205,7 @@ function Navbar() { )} ))} - +
{publicItems.map((item) => ( ))} -
- Date: Sun, 19 Jul 2026 23:35:34 +0530 Subject: [PATCH 4/5] socail share button integration --- frontend/.env.example | 2 +- frontend/index.html | 19 +++++-------------- frontend/src/components/Navbar.jsx | 21 ++++++++++----------- 3 files changed, 16 insertions(+), 26 deletions(-) diff --git a/frontend/.env.example b/frontend/.env.example index 7bdb27ef..4c220784 100644 --- a/frontend/.env.example +++ b/frontend/.env.example @@ -9,4 +9,4 @@ VITE_CONTRACT_ADDRESS_61=0xD044A85a5daC307217B9bF313A90E8a60AF7DdCe # Polygon Mainnet (137) VITE_CONTRACT_ADDRESS_137=0xD044A85a5daC307217B9bF313A90E8a60AF7DdCe -VITE_WALLETCONNECT_PROJECT_ID= \ No newline at end of file +VITE_WALLETCONNECT_PROJECT_ID= diff --git a/frontend/index.html b/frontend/index.html index 8bc54b64..dd8cfd03 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -1,33 +1,27 @@ - Chainvoice | Stability Nexus - + - + - + - + - + -
- \ No newline at end of file diff --git a/frontend/src/components/Navbar.jsx b/frontend/src/components/Navbar.jsx index adbeddca..502e8ba0 100644 --- a/frontend/src/components/Navbar.jsx +++ b/frontend/src/components/Navbar.jsx @@ -184,8 +184,8 @@ function Navbar() { {item.icon} @@ -195,8 +195,8 @@ function Navbar() { {item.icon} @@ -215,8 +215,8 @@ function Navbar() { {item.icon} @@ -230,7 +230,6 @@ function Navbar() { whileTap={{ scale: 0.95 }} className="ml-4 flex items-center space-x-4" > -
@@ -329,8 +328,8 @@ function Navbar() { to={item.path} onClick={closeMobileMenu} className={`block w-full text-left px-4 py-3 rounded-lg transition-colors ${isActive(item.path) - ? "bg-green-900/30 text-green-400 font-medium" - : "text-white hover:bg-gray-800" + ? "bg-green-900/30 text-green-400 font-medium" + : "text-white hover:bg-gray-800" }`} >
From e41040d3bc3924cde6cbe56883e5ae6cf8d6e0d2 Mon Sep 17 00:00:00 2001 From: Aman kumar vishwakrma <186990161+amankv1234@users.noreply.github.com> Date: Mon, 20 Jul 2026 00:01:23 +0530 Subject: [PATCH 5/5] fix: add share button to mobile menu for responsive access --- frontend/src/components/Navbar.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/components/Navbar.jsx b/frontend/src/components/Navbar.jsx index 502e8ba0..4378d5a7 100644 --- a/frontend/src/components/Navbar.jsx +++ b/frontend/src/components/Navbar.jsx @@ -339,6 +339,10 @@ function Navbar() { ))} +
+
+
+