diff --git a/src/pages/Dashboard/Dashboard.tsx b/src/pages/Dashboard/Dashboard.tsx index 91684392..081d7622 100644 --- a/src/pages/Dashboard/Dashboard.tsx +++ b/src/pages/Dashboard/Dashboard.tsx @@ -1,71 +1,15 @@ -import { XStack, YStack } from 'tamagui' +import { XStack } from 'tamagui' import LeftSidebar from './LeftSidebar' import RightSidebar from './RightSideBar/RightSidebar' -import BasicInfoCards from './BasicInfoCards/BasicInfoCards' -import AddCardsContainer from '../../components/General/AddCards/AddCardsContainer' -import BalanceChartCard from './BalanceChartCard/BalanceChartCard' -import CPUCard from './CPULoad/CPUCard' -import ConsensusUptimeCard from './ConsensusUptime/ConsensusUptimeCard' -import ExecutionUptime from './ExecutionUptime/ExecutionUptime' -import DeviceUptime from './DeviceUptime/DeviceUptime' -import TitleLogo from './TitleLogo' -import StorageCard from './StorageCard/StorageCard' -import NetworkCard from './NetworkCard/NetworkCard' -import SyncStatusCard from './SyncStatusCards/SyncStatusCards' -import MemoryCard from './MemoryCard/MemoryCard' -import { Stack } from 'tamagui' +import DashboardContent from './DashboardContent' -const Dashboard = () => { - return ( - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ) -} +const Dashboard = () => ( + + + + + +); export default Dashboard diff --git a/src/pages/Dashboard/DashboardContent.tsx b/src/pages/Dashboard/DashboardContent.tsx new file mode 100644 index 00000000..aa85e98c --- /dev/null +++ b/src/pages/Dashboard/DashboardContent.tsx @@ -0,0 +1,63 @@ +import { XStack, YStack } from 'tamagui'; + +import BasicInfoCards from './BasicInfoCards/BasicInfoCards'; +import AddCardsContainer from '../../components/General/AddCards/AddCardsContainer'; +import BalanceChartCard from './BalanceChartCard/BalanceChartCard'; +import CPUCard from './CPULoad/CPUCard'; +import ConsensusUptimeCard from './ConsensusUptime/ConsensusUptimeCard'; +import ExecutionUptime from './ExecutionUptime/ExecutionUptime'; +import DeviceUptime from './DeviceUptime/DeviceUptime'; +import TitleLogo from './TitleLogo'; +import StorageCard from './StorageCard/StorageCard'; +import NetworkCard from './NetworkCard/NetworkCard'; +import SyncStatusCard from './SyncStatusCards/SyncStatusCards'; +import MemoryCard from './MemoryCard/MemoryCard'; + +const DashboardContent = () => ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +); +export default DashboardContent \ No newline at end of file