feat: add folder for general components

This commit is contained in:
RadoslavDimchev 2023-08-15 11:10:59 +03:00
parent 93620f6cb2
commit 1251a443c5
28 changed files with 17 additions and 40 deletions

View File

@ -1,5 +1,5 @@
import StandartLineChart from './StandardLineChart'
import IconText from '../IconText'
import IconText from '../General/IconText'
import { Paragraph, Separator, XStack, YStack } from 'tamagui'
import { Shadow, Text } from '@status-im/components'

View File

@ -1,6 +1,6 @@
import StandartLineChart from './StandardLineChart'
import IconText from '../IconText'
import IconText from '../General/IconText'
import { Paragraph, Separator, XStack, YStack } from 'tamagui'
import { Shadow as ShadowBox, Text } from '@status-im/components'

View File

@ -1,5 +1,5 @@
import StandartLineChart from './StandardLineChart'
import IconText from '../IconText'
import IconText from '../General/IconText'
import { Paragraph, Separator, XStack, YStack } from 'tamagui'
import { Shadow as ShadowBox, Text } from '@status-im/components'

View File

@ -1,4 +1,4 @@
import IconText from '../IconText'
import IconText from '../General/IconText'
import { Paragraph, Separator, XStack, YStack } from 'tamagui'
import StandardGauge from './StandardGauge'
import { Shadow, Text } from '@status-im/components'

View File

@ -9,7 +9,7 @@ import {
GOOD_NETWORK_TEXT,
GOOD_RAM_MEMORY_TEXT,
GOOD_STORAGE_TEXT,
} from '../constants'
} from '../../constants'
type HealthInfoSectionProps = {
usedStorage: number // GB

View File

@ -1,4 +1,4 @@
import { GREEN_CHECKMARK_ICON, RED_CHECKMARK_ICON } from '../constants'
import { GREEN_CHECKMARK_ICON, RED_CHECKMARK_ICON } from '../../constants'
import IconText from './IconText'
type StatusIconTextProps = {

View File

@ -1,6 +1,6 @@
import { XStack } from 'tamagui'
import Icon from '../Icon'
import Tag from '../Tag'
import Icon from '../General/Icon'
import Tag from '../General/Tag'
import { Text } from '@status-im/components'
const NimbusLogo = () => {

View File

@ -1,6 +1,6 @@
import { XStack } from 'tamagui'
import Icon from '../Icon'
import Tag from '../Tag'
import Icon from '../General/Icon'
import Tag from '../General/Tag'
import { Text } from '@status-im/components'
const NodesLogo = () => {

View File

@ -1,23 +0,0 @@
import { ReactNode } from 'react'
import { Stack } from 'tamagui'
type PageBackgroundProps = {
children: ReactNode
}
const PageBackground = ({ children }: PageBackgroundProps) => {
return (
<Stack
style={{
backgroundColor: 'white',
width: '100vw',
background: 'linear-gradient(180deg, rgba(245,242,254,1) 0%, rgba(255,255,255,1) 100%)',
height: '100vh',
}}
>
{children}
</Stack>
)
}
export default PageBackground

View File

@ -1,15 +1,15 @@
import { useState } from 'react'
import BreadcrumbBar from '../../components/BreadcrumbBar'
import BreadcrumbBar from '../../components/General/BreadcrumbBar'
import { Button as StatusButton, Tag, Text, Avatar, Checkbox } from '@status-im/components'
import { Label, Separator, XStack, YStack } from 'tamagui'
import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow'
import NimbusLogo from '../../components/Logos/NimbusLogo'
import Titles from '../../components/Titles'
import Titles from '../../components/General/Titles'
import NodeIcon from '../../components/Icons/NodeIcon'
import ConnectIcon from '../../components/Icons/ConnectIcon'
import PairIcon from '../../components/Icons/PairIcon'
import CreateIcon from '../../components/Icons/CreateIcon'
import LabelInputField from '../../components/LabelInputField'
import LabelInputField from '../../components/General/LabelInputField'
const ConnectDevicePage = () => {
const [autoConnectChecked, setAutoConnectChecked] = useState(false)

View File

@ -1,12 +1,12 @@
import { Stack, XStack, YStack } from 'tamagui'
import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow'
import NimbusLogo from '../../components/Logos/NimbusLogo'
import Titles from '../../components/Titles'
import Titles from '../../components/General/Titles'
import DeviceStorageHealth from '../../components/Charts/DeviceStorageHealth'
import DeviceCPULoad from '../../components/Charts/DeviceCPULoad'
import HealthInfoSection from '../../components/HealthInfoSection'
import HealthInfoSection from '../../components/General/HealthInfoSection'
import { Button, InformationBox } from '@status-im/components'
import Icon from '../../components/Icon'
import Icon from '../../components/General/Icon'
import DeviceMemory from '../../components/Charts/DeviceMemoryHealth'
import DeviceNetworkHealth from '../../components/Charts/DeviceNetworkHealth'

View File

@ -1,6 +1,6 @@
import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow'
import './LandingPage.css'
import QuickStartBar from '../../components/QuickStartBar'
import QuickStartBar from '../../components/General/QuickStartBar'
function LandingPage() {
return (