From 2ceae25afdaff694f6d42aa44f57ceb8cfe3479a Mon Sep 17 00:00:00 2001 From: Megha-Dev-19 <100185149+Megha-Dev-19@users.noreply.github.com> Date: Tue, 26 Sep 2023 19:28:36 +0530 Subject: [PATCH] Activate Page UI update (#221) --- src/components/common/ImageTextBlock.jsx | 5 ++++- src/pages/Activate.jsx | 3 +++ src/utils/constants.js | 3 +++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/components/common/ImageTextBlock.jsx b/src/components/common/ImageTextBlock.jsx index 659e81a..a270058 100644 --- a/src/components/common/ImageTextBlock.jsx +++ b/src/components/common/ImageTextBlock.jsx @@ -24,7 +24,10 @@ const ImageTextBlock = ({

{buttonText ?? 'Apply Now'}

) : ( - +

{buttonText ?? 'Coming Soon'}

)} diff --git a/src/pages/Activate.jsx b/src/pages/Activate.jsx index 52c9af4..52138b0 100644 --- a/src/pages/Activate.jsx +++ b/src/pages/Activate.jsx @@ -41,12 +41,14 @@ const ActivatePage = () => { 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="Closed" + onClick={() => window.open(Links.ELECTIONS, '_blank')} /> window.open(Links.NOMINATIONS, '_blank')} /> { title="Astra++" description="Astra++ is a comprehensive suite of DAO tooling that makes possible for any DAO to easily self-manage and grow its membership, and filling a void left by AstroDAO." buttonText="Coming Soon" + onClick={() => window.open(Links.ASTRA, '_blank')} />