fix(left-manage-validator): separate into different folders
This commit is contained in:
parent
f8816abb71
commit
345f978e1c
|
@ -4,8 +4,8 @@ import { InformationBox } from '@status-im/components'
|
||||||
import { CloseCircleIcon } from '@status-im/icons'
|
import { CloseCircleIcon } from '@status-im/icons'
|
||||||
|
|
||||||
import Header from './Header'
|
import Header from './Header'
|
||||||
import ValidatorDataCards from './ValidatorDataCards'
|
import ValidatorDataCards from './ValidatorDataCards/ValidatorDataCards'
|
||||||
import ValidatorSettingsCards from './ValidatorSettingsCards'
|
import ValidatorSettingsCards from './ValidatorSettingsCards/ValidatorSettingsCards'
|
||||||
import ValidatorGraffiti from './ValidatorGraffiti'
|
import ValidatorGraffiti from './ValidatorGraffiti'
|
||||||
import ValidatorDataTabs from './ManageValidatorTable/ValidatorDataTabs'
|
import ValidatorDataTabs from './ManageValidatorTable/ValidatorDataTabs'
|
||||||
import Footer from './Footer'
|
import Footer from './Footer'
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import { Text } from '@status-im/components'
|
import { Text } from '@status-im/components'
|
||||||
import { XStack, YStack } from 'tamagui'
|
import { XStack, YStack } from 'tamagui'
|
||||||
import Icon from '../../../components/General/Icon'
|
|
||||||
|
import Icon from '../../../../components/General/Icon'
|
||||||
|
|
||||||
type ValidatorDataCardProps = {
|
type ValidatorDataCardProps = {
|
||||||
title: string
|
title: string
|
|
@ -1,4 +1,5 @@
|
||||||
import { Stack } from 'tamagui'
|
import { Stack } from 'tamagui'
|
||||||
|
|
||||||
import ValidatorDataCard from './ValidatorDataCard'
|
import ValidatorDataCard from './ValidatorDataCard'
|
||||||
import ValidatorPeersCard from './ValidatorPeersCard'
|
import ValidatorPeersCard from './ValidatorPeersCard'
|
||||||
|
|
||||||
|
@ -14,7 +15,7 @@ const ValidatorDataCards = () => {
|
||||||
padding: '0 30px',
|
padding: '0 30px',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<ValidatorPeersCard title="Peers" value="67"></ValidatorPeersCard>
|
<ValidatorPeersCard title="Peers" value="67" />
|
||||||
<ValidatorDataCard title="Slots Behind" value={19} iconPath="ghost.png" />
|
<ValidatorDataCard title="Slots Behind" value={19} iconPath="ghost.png" />
|
||||||
<ValidatorDataCard
|
<ValidatorDataCard
|
||||||
title="Blocks"
|
title="Blocks"
|
|
@ -3,7 +3,7 @@ import { DisconnectIcon, AdvancedIcon, ExternalIcon } from '@status-im/icons'
|
||||||
import { useNavigate } from 'react-router-dom'
|
import { useNavigate } from 'react-router-dom'
|
||||||
import { Stack, YStack } from 'tamagui'
|
import { Stack, YStack } from 'tamagui'
|
||||||
|
|
||||||
import { CARD_TITLES } from '../../../constants'
|
import { CARD_TITLES } from '../../../../constants'
|
||||||
|
|
||||||
type CardTitle = (typeof CARD_TITLES)[number]
|
type CardTitle = (typeof CARD_TITLES)[number]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { Stack } from 'tamagui'
|
import { Stack } from 'tamagui'
|
||||||
|
|
||||||
import ValidatorSettingCard from './ValidatorSettingCard'
|
import ValidatorSettingCard from './ValidatorSettingCard'
|
||||||
import { CARD_TITLES } from '../../../constants'
|
import { CARD_TITLES } from '../../../../constants'
|
||||||
|
|
||||||
const ValidatorSettingsCards = () => {
|
const ValidatorSettingsCards = () => {
|
||||||
return (
|
return (
|
Loading…
Reference in New Issue