From 8e30bd30b059e18986374fd277c28d0192543ca2 Mon Sep 17 00:00:00 2001 From: Caleb Jacob Date: Mon, 8 Jul 2024 12:20:01 -0600 Subject: [PATCH] Updating contact us page copy, opening gleap widget instead of redirecting to zendesk --- src/Gateway/ContactUsPage.jsx | 33 +++++++++++++++------------------ 1 file changed, 15 insertions(+), 18 deletions(-) diff --git a/src/Gateway/ContactUsPage.jsx b/src/Gateway/ContactUsPage.jsx index 7ea76511..aa8bdb89 100644 --- a/src/Gateway/ContactUsPage.jsx +++ b/src/Gateway/ContactUsPage.jsx @@ -1,3 +1,5 @@ +let { emitGatewayEvent } = props; + const urls = { discord: "http://near.chat", discourse: "https://gov.near.org", @@ -281,6 +283,14 @@ const IconTextLink = styled("Link")` } `; +function openGleapWidget() { + emitGatewayEvent && + emitGatewayEvent({ + type: "GLEAP", + action: "OPEN", + }); +} + return (
@@ -316,25 +326,10 @@ return ( - - Chat Support - - - Chat with our developers and get live support + Jump in a voice call with our developers + Thursdays: 11hs & 18hs - - - Telegram Support - - - Discord Support - - - Jump in a voice call with our developers - Thursdays - 11hs & 18hs (UTC) - - Join our Discord @@ -345,7 +340,9 @@ return ( Resolve an issue - + Get in touch with our customer care team + + Launch support form