Commit 676d7bc8 authored by Max Alekseenko's avatar Max Alekseenko

remove redundant shadow

parent b6fa6490
...@@ -31,13 +31,7 @@ const RewardsDashboardCard = ({ label, value, withIcon, hint }: Props) => { ...@@ -31,13 +31,7 @@ const RewardsDashboardCard = ({ label, value, withIcon, hint }: Props) => {
</Flex> </Flex>
<Flex alignItems="center"> <Flex alignItems="center">
{ withIcon && ( { withIcon && (
<Icon <Icon as={ meritsIcon } boxSize={ 12 } mt={ -2 } mb={ -2.5 }/>
as={ meritsIcon }
boxSize={ 12 }
mt={ -2 }
mb={ -2.5 }
filter="drop-shadow(0px 4px 3px rgba(21, 57, 103, 0.1))"
/>
) } ) }
<Text fontSize={{ base: '24px', md: '32px' }} lineHeight={{ base: '24px', md: 1.5 }} fontWeight="500"> <Text fontSize={{ base: '24px', md: '32px' }} lineHeight={{ base: '24px', md: 1.5 }} fontWeight="500">
{ value } { value }
......
...@@ -32,12 +32,7 @@ const CongratsStepContent = ({ isReferral }: Props) => { ...@@ -32,12 +32,7 @@ const CongratsStepContent = ({ isReferral }: Props) => {
padding={ 2 } padding={ 2 }
mb={ 8 } mb={ 8 }
> >
<Icon <Icon as={ meritsIcon } boxSize="60px" mb={ -1 }/>
as={ meritsIcon }
boxSize="60px"
mb={ -1 }
filter="drop-shadow(0px 6px 3px rgba(21, 57, 103, 0.1))"
/>
<Skeleton isLoaded={ !rewardsConfigQuery.isLoading }> <Skeleton isLoaded={ !rewardsConfigQuery.isLoading }>
<Text fontSize="30px" fontWeight="700" color="blue.700"> <Text fontSize="30px" fontWeight="700" color="blue.700">
+{ rewardsConfigQuery.data?.rewards[ isReferral ? 'registration_with_referral' : 'registration' ] } +{ rewardsConfigQuery.data?.rewards[ isReferral ? 'registration_with_referral' : 'registration' ] }
...@@ -58,12 +53,7 @@ const CongratsStepContent = ({ isReferral }: Props) => { ...@@ -58,12 +53,7 @@ const CongratsStepContent = ({ isReferral }: Props) => {
}, },
].map(({ title, value }) => ( ].map(({ title, value }) => (
<Flex key={ title } alignItems="center"> <Flex key={ title } alignItems="center">
<Icon <Icon as={ meritsIcon } boxSize={ 8 } mb={ -0.5 }/>
as={ meritsIcon }
boxSize={ 8 }
mb={ -0.5 }
filter="drop-shadow(0px 2px 2px rgba(21, 57, 103, 0.1))"
/>
<Skeleton isLoaded={ !rewardsConfigQuery.isLoading }> <Skeleton isLoaded={ !rewardsConfigQuery.isLoading }>
<Text fontSize="sm" fontWeight="700" color="blue.700"> <Text fontSize="sm" fontWeight="700" color="blue.700">
+{ value } +{ value }
......
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