From 025ab1a795c405950d25cc437dc3da924b83724f Mon Sep 17 00:00:00 2001 From: Megha-Dev-19 <100185149+Megha-Dev-19@users.noreply.github.com> Date: Wed, 6 Sep 2023 22:52:50 +0530 Subject: [PATCH] UI update for Elections (#209) --- src/components/common/ProgressTracker.jsx | 8 +++++++- src/pages/Activate.jsx | 4 +++- src/utils/constants.js | 2 ++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/src/components/common/ProgressTracker.jsx b/src/components/common/ProgressTracker.jsx index acbb1a5..898a891 100644 --- a/src/components/common/ProgressTracker.jsx +++ b/src/components/common/ProgressTracker.jsx @@ -126,8 +126,14 @@ const ProgressTracker = () => { clipPath: `polygon(0 0, 100% 0, calc(100% - ${getClipPercentage()}%) 100%, 0% 100%)`, }} > -

+

JOIN {humansRegistered} HUMANS TO REACH {ReadableNumber} VOTERS +

diff --git a/src/pages/Activate.jsx b/src/pages/Activate.jsx index cb341e5..b24422d 100644 --- a/src/pages/Activate.jsx +++ b/src/pages/Activate.jsx @@ -77,9 +77,11 @@ const ActivatePage = () => { /> window.open(Links.ELECTIONS, '_blank')} title="NEAR General Election" description="The NDC is launching the inaugural ecosystem wide General Election to enable decentralized governance on-chain. #Vote in the September 8th General Election and mint your “I Voted” reputation Soul Bound Token!" + buttonText="Vote Now" />