Merge branch 'rd-hn.create-pair-device-page' of https://github.com/nimbus-gui/nimbus-gui into rd-hn.create-pair-device-page

This commit is contained in:
RadoslavDimchev 2023-08-16 13:50:33 +03:00
commit 3478457ccb
1 changed files with 19 additions and 1 deletions

View File

@ -2,14 +2,16 @@ import { Separator, XStack, YStack } from 'tamagui'
import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow'
import SyncStatus from './SyncStatus'
import NimbusLogo from '../../components/Logos/NimbusLogo'
import { Button, Tag } from '@status-im/components'
import { Button, Checkbox, Tag, Text } from '@status-im/components'
import PairIcon from '../../components/Icons/PairIcon'
import CreateIcon from '../../components/Icons/CreateIcon'
import NodeIcon from '../../components/Icons/NodeIcon'
import Titles from '../../components/General/Titles'
import { useState } from 'react'
const PairDevice = () => {
const isPaired = false
const [autoChecked, setAutoChecked] = useState(false)
return (
<PageWrapperShadow rightImageSrc="/background-images/day-night-bg.png">
@ -30,6 +32,22 @@ const PairDevice = () => {
<Separator borderColor={'#e3e3e3'} />
<SyncStatus isPairing={true} timer={'00:12'} isAwaitingPairing={true} />
<Separator borderColor={'#e3e3e3'} />
<Text size={19} weight={'semibold'} color="#09101C">
Settings
</Text>
<XStack space={'$4'}>
<Checkbox
id="port-checkbox"
variant="outline"
selected={autoChecked}
onCheckedChange={v => {
setAutoChecked(v)
}}
size={20}
/>
<Text size={15}>Auto Connect Paired Device</Text>
</XStack>
<Separator borderColor={'#e3e3e3'} />
<XStack>
<Button icon={<NodeIcon />} disabled={!isPaired}>
Continue