fix(tools-cards): delete old components

This commit is contained in:
RadoslavDimchev 2024-03-25 22:41:39 +02:00 committed by Emil Ivanichkov
parent 6a92e4e0b6
commit f8816abb71
2 changed files with 0 additions and 63 deletions

View File

@ -1,36 +0,0 @@
import { Stack, YStack } from 'tamagui'
import { Text } from '@status-im/components'
import Icon from '../../../components/General/Icon'
type ValidatorToolCardProps = {
name: string
icon: string
}
const ValidatorToolCard = ({ name, icon }: ValidatorToolCardProps) => {
return (
<YStack
style={{
backgroundColor: '#2A4AF50D',
border: '1px solid #2A4AF566',
borderRadius: '16px',
padding: '12px 16px',
cursor: 'pointer',
width: '100%',
minWidth: '100px',
}}
space={'$4'}
onPress={() => {}}
>
<Stack>
<Text size={19} weight={'semibold'}>
{name}
</Text>
</Stack>
<Icon src={icon} width={70} height={70} />
</YStack>
)
}
export default ValidatorToolCard

View File

@ -1,27 +0,0 @@
import { Stack } from 'tamagui'
import ValidatorToolCard from './ValidatorToolCard'
const ValidatorToolsCards = () => {
const validatorToolsCardsData = [
['Deposit Funds', '/icons/download-keystore-backups-icon.svg'],
['Stop Validator', '/icons/broken-chain.png'],
['Export Validator', '/icons/hand-key.png'],
['Exit Validator', '/icons/pig.png'],
]
return (
<Stack
style={{
display: 'grid',
gridTemplateColumns: 'repeat(auto-fit, minmax(200px, 1fr))',
gap: '8px',
padding: '0 30px',
}}
>
{validatorToolsCardsData.map(([name, icon], index) => (
<ValidatorToolCard key={index} name={name} icon={icon} />
))}
</Stack>
)
}
export default ValidatorToolsCards