Commit 16e77ad6 authored by Max Alekseenko's avatar Max Alekseenko

fix wordings

parent 1c27f5c1
...@@ -46,7 +46,7 @@ const RewardsDashboard = () => { ...@@ -46,7 +46,7 @@ const RewardsDashboard = () => {
<Flex flexDirection="column" alignItems="flex-start" w="full" gap={ 6 }> <Flex flexDirection="column" alignItems="flex-start" w="full" gap={ 6 }>
<Flex gap={ 6 } flexDirection={{ base: 'column', md: 'row' }}> <Flex gap={ 6 } flexDirection={{ base: 'column', md: 'row' }}>
<RewardsDashboardCard <RewardsDashboardCard
description="Claim your daily merits and any merits received from referrals." description="Claim your daily Merits and any Merits received from referrals."
direction="column-reverse" direction="column-reverse"
contentAfter={ <DailyRewardClaimButton/> } contentAfter={ <DailyRewardClaimButton/> }
> >
...@@ -57,7 +57,7 @@ const RewardsDashboard = () => { ...@@ -57,7 +57,7 @@ const RewardsDashboard = () => {
withIcon withIcon
hint={ ( hint={ (
<> <>
Total number of merits earned from all activities.{ ' ' } Total number of Merits earned from all activities.{ ' ' }
<LinkExternal href="https://docs.blockscout.com/using-blockscout/merits"> <LinkExternal href="https://docs.blockscout.com/using-blockscout/merits">
More info on Merits More info on Merits
</LinkExternal> </LinkExternal>
...@@ -79,7 +79,7 @@ const RewardsDashboard = () => { ...@@ -79,7 +79,7 @@ const RewardsDashboard = () => {
</RewardsDashboardCard> </RewardsDashboardCard>
<RewardsDashboardCard <RewardsDashboardCard
title="Streaks" title="Streaks"
description={ `Current number of consecutive days you${ apos }ve claimed your daily merits.` } description={ `Current number of consecutive days you${ apos }ve claimed your daily Merits.` }
direction="column-reverse" direction="column-reverse"
availableSoon availableSoon
blurFilter blurFilter
...@@ -91,11 +91,11 @@ const RewardsDashboard = () => { ...@@ -91,11 +91,11 @@ const RewardsDashboard = () => {
title="Referral program" title="Referral program"
description={ ( description={ (
<> <>
Refer friends and boost your merits! You receive a{ ' ' } Refer friends and boost your Merits! You receive a{ ' ' }
<Skeleton as="span" isLoaded={ !rewardsConfigQuery.isPending }> <Skeleton as="span" isLoaded={ !rewardsConfigQuery.isPending }>
{ Number(rewardsConfigQuery.data?.rewards.referral_share || 0) * 100 }% { Number(rewardsConfigQuery.data?.rewards.referral_share || 0) * 100 }%
</Skeleton> </Skeleton>
{ ' ' }bonus on all merits earned by your referrals. { ' ' }bonus on all Merits earned by your referrals.
</> </>
) } ) }
direction="row" direction="row"
...@@ -124,7 +124,7 @@ const RewardsDashboard = () => { ...@@ -124,7 +124,7 @@ const RewardsDashboard = () => {
<Flex gap={ 6 } flexDirection={{ base: 'column', md: 'row' }}> <Flex gap={ 6 } flexDirection={{ base: 'column', md: 'row' }}>
<RewardsDashboardCard <RewardsDashboardCard
title="Activity" title="Activity"
description="Earn merits for your everyday Blockscout activities. You deserve to be rewarded for choosing open-source public goods!" description="Earn Merits for your everyday Blockscout activities. You deserve to be rewarded for choosing open-source public goods!"
availableSoon availableSoon
blurFilter blurFilter
> >
...@@ -133,7 +133,7 @@ const RewardsDashboard = () => { ...@@ -133,7 +133,7 @@ const RewardsDashboard = () => {
</RewardsDashboardCard> </RewardsDashboardCard>
<RewardsDashboardCard <RewardsDashboardCard
title="Verify contracts" title="Verify contracts"
description="Verified contracts are so important for transparency and interaction. Verify your contracts on Blockscout and receive merits for your efforts." // eslint-disable-line max-len description="Verified contracts are so important for transparency and interaction. Verify your contracts on Blockscout and receive Merits for your efforts." // eslint-disable-line max-len
availableSoon availableSoon
blurFilter blurFilter
> >
......
...@@ -25,7 +25,7 @@ const RewardsButton = ({ variant = 'header', size }: Props) => { ...@@ -25,7 +25,7 @@ const RewardsButton = ({ variant = 'header', size }: Props) => {
return ( return (
<Tooltip <Tooltip
label="Earn merits for using Blockscout" label="Earn Merits for using Blockscout"
textAlign="center" textAlign="center"
padding={ 2 } padding={ 2 }
openDelay={ 500 } openDelay={ 500 }
......
...@@ -21,7 +21,7 @@ const CongratsStepContent = ({ isReferral }: Props) => { ...@@ -21,7 +21,7 @@ const CongratsStepContent = ({ isReferral }: Props) => {
const referralReward = Number(registrationWithReferralReward) - Number(registrationReward); const referralReward = Number(registrationWithReferralReward) - Number(registrationReward);
const refLink = referralsQuery.data?.link || ''; const refLink = referralsQuery.data?.link || '';
const shareText = `Just signed up for @blockscoutcom Merits program and got ${ registrationReward } merits!\n\nUse my referral link to get extra ${ referralReward } merits: ${ refLink }`; // eslint-disable-line max-len const shareText = `Just signed up for @blockscoutcom Merits Program and got ${ registrationReward } Merits!\n\nUse my referral link to get extra ${ referralReward } Merits: ${ refLink }`; // eslint-disable-line max-len
const textColor = useColorModeValue('blue.700', 'blue.100'); const textColor = useColorModeValue('blue.700', 'blue.100');
const dividerColor = useColorModeValue('whiteAlpha.800', 'whiteAlpha.100'); const dividerColor = useColorModeValue('whiteAlpha.800', 'whiteAlpha.100');
...@@ -87,7 +87,7 @@ const CongratsStepContent = ({ isReferral }: Props) => { ...@@ -87,7 +87,7 @@ const CongratsStepContent = ({ isReferral }: Props) => {
<Skeleton as="span" isLoaded={ !rewardsConfigQuery.isLoading }> <Skeleton as="span" isLoaded={ !rewardsConfigQuery.isLoading }>
{ Number(rewardsConfigQuery.data?.rewards.referral_share || 0) * 100 }% { Number(rewardsConfigQuery.data?.rewards.referral_share || 0) * 100 }%
</Skeleton> </Skeleton>
{ ' ' }bonus on all merits earned by your referrals { ' ' }bonus on all Merits earned by your referrals
</Text> </Text>
<RewardsReadOnlyInputWithCopy <RewardsReadOnlyInputWithCopy
label="Referral link" label="Referral link"
...@@ -115,7 +115,7 @@ const CongratsStepContent = ({ isReferral }: Props) => { ...@@ -115,7 +115,7 @@ const CongratsStepContent = ({ isReferral }: Props) => {
</Text> </Text>
</Flex> </Flex>
<Text fontSize="md" mt={ 2 }> <Text fontSize="md" mt={ 2 }>
Explore your current merits balance, find activities to boost your merits, Explore your current Merits balance, find activities to boost your Merits,
and view your capybara NFT badge collection on the dashboard and view your capybara NFT badge collection on the dashboard
</Text> </Text>
<Button mt={ 3 } as="a" href={ route({ pathname: '/account/rewards' }) }> <Button mt={ 3 } as="a" href={ route({ pathname: '/account/rewards' }) }>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment