From ae6d3afe8043e83e209534b8d58fbf7c6eb69e75 Mon Sep 17 00:00:00 2001 From: 0xmegalodon Date: Fri, 12 Jan 2024 18:56:20 +0700 Subject: [PATCH 1/2] test --- src/modules/Whitelist/index.tsx | 4 ++-- src/modules/Whitelist/leaderBoard/index.tsx | 6 +++--- src/modules/Whitelist/steps/index.tsx | 18 +++++++++--------- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/src/modules/Whitelist/index.tsx b/src/modules/Whitelist/index.tsx index b5c197bcc..d387b6bb8 100644 --- a/src/modules/Whitelist/index.tsx +++ b/src/modules/Whitelist/index.tsx @@ -21,8 +21,8 @@ const Whitelist = () => { return ( -

BVM Allowlist Dashboard

-

You’re almost there!
Complete the tasks below to upgrade your multiplier!

+

Get a bigger multiplier

+ {/*

Get a bigger multiplier.

*/}
diff --git a/src/modules/Whitelist/leaderBoard/index.tsx b/src/modules/Whitelist/leaderBoard/index.tsx index 3adfc23fe..54be66aa1 100644 --- a/src/modules/Whitelist/leaderBoard/index.tsx +++ b/src/modules/Whitelist/leaderBoard/index.tsx @@ -249,7 +249,7 @@ const LeaderBoard = () => { label={

Content Points are calculated based on the performance of your posts on X, including Views, Likes, Reposts, and Quotes. - Note: To be qualified, you must tag:
@bvmnetwork

+ Note: To be qualified, you must tag: @bvmnetwork

} > @@ -471,7 +471,7 @@ const LeaderBoard = () => {
*/} - + {/* {renderTimeLine({ content:

Public sale starting soon

@@ -483,7 +483,7 @@ const LeaderBoard = () => { )}
-
+
*/} { diff --git a/src/modules/Whitelist/steps/index.tsx b/src/modules/Whitelist/steps/index.tsx index 4adadec5a..97172ccbd 100644 --- a/src/modules/Whitelist/steps/index.tsx +++ b/src/modules/Whitelist/steps/index.tsx @@ -32,10 +32,10 @@ const Steps = () => { const res: any = await requestAuthenByShareCode(); setAuthenCode(res); - const shareUrl = getLink(''); + const shareUrl = " https://bvm.network";//getLink(''); let content = ''; - content = `I've discover the future of Bitcoin: @bvmnetwork\n\nBVM is the 1st modular blockchain meta protocol. And its public sale is starting soon.\n\nJoin the allowlist today!\n\n#${res?.public_code}\n\n`; + content = `Welcome to the future of Bitcoin with @bvmnetwork\n\nBitcoin Virtual Machine is the first modular blockchain metaprotocol that lets you launch your Bitcoin L2 blockchain protocol in a few clicks.\n\n$BVM public sale starting soon\n\n#${res?.public_code}\n\nJoin the allowlist`; window.open( `https://twitter.com/intent/tweet?url=${shareUrl}&text=${encodeURIComponent( @@ -49,7 +49,7 @@ const Steps = () => { const shareUrl = getLink(''); let content = ''; - content = `I've discover the future of Bitcoin: @bvmnetwork\n\nBVM is the 1st modular blockchain meta protocol. And its public sale is starting soon.\n\nJoin the allowlist today!\n\n`; + content = `Welcome to the future of Bitcoin with @bvmnetwork.\n\nBitcoin Virtual Machine is the first modular blockchain metaprotocol that lets you launch your Bitcoin L2 blockchain protocol in a few clicks.\n\n$BVM public sale starting soon.\n\nJoin the allowlist:`; window.open( `https://twitter.com/intent/tweet?url=${shareUrl}&text=${encodeURIComponent( @@ -124,15 +124,15 @@ const Steps = () => { return ( [ { - title: 'Share posts on X', - desc: 'Follow @bvmnetwork, share valuable content, and tag @bvmnetwork on X to unlock your starting multiplier.', - actionText: 'Share', + title: 'Get your initial multiplier', + desc: 'Post anything on X and tag @bvmnetwork', + actionText: 'Post', actionHandle: handleShareTw, }, { - title: 'The more you post, the more points you earn.', - desc: 'The number of posts is unlimited. All you need to do is create a post on X, tag @bvmnetwork, earn more points with higher post engagement to upgrade your multiplier.', - actionText: 'Share More', + title: 'Level up your multiplier', + desc: 'The more you post, the bigger multiplier you’ll get.', + actionText: 'Post', actionHandle: handleShareTwMore, }, // { From 25de4b2c140760e8b09e19f9840edc55def75a75 Mon Sep 17 00:00:00 2001 From: 0xmegalodon Date: Fri, 12 Jan 2024 18:57:54 +0700 Subject: [PATCH 2/2] test --- src/modules/Whitelist/leaderBoard/index.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/modules/Whitelist/leaderBoard/index.tsx b/src/modules/Whitelist/leaderBoard/index.tsx index 54be66aa1..73bb776eb 100644 --- a/src/modules/Whitelist/leaderBoard/index.tsx +++ b/src/modules/Whitelist/leaderBoard/index.tsx @@ -4,21 +4,16 @@ import ScrollWrapper from '@/components/ScrollWrapper/ScrollWrapper'; import { ILeaderBoardPoint } from '@/interfaces/leader-board-point'; import { getTopLeaderBoards } from '@/services/leaderboard'; import { formatCurrency, formatName } from '@/utils/format'; -import { compareString } from '@/utils/string'; -import { Box, Flex, Text } from '@chakra-ui/react'; -import remove from 'lodash/remove'; +import { Box, Flex, Text, Tooltip } from '@chakra-ui/react'; import React, { useEffect, useMemo, useRef, useState } from 'react'; import styles from './styles.module.scss'; import clsx from 'classnames'; import AppLoading from '@/components/AppLoading'; -import { Tooltip } from '@chakra-ui/react'; import { CDN_URL_ICONS } from '@/config'; import { getUrlAvatarTwitter } from '@/utils/twitter'; import cs from 'clsx'; import { useAppSelector } from '@/stores/hooks'; import { commonSelector } from '@/stores/states/common/selector'; -// import Countdown from 'react-countdown'; -// import dayjs from 'dayjs'; const valueToClassName: any = { '10': 'boost_10',