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:
commit
3478457ccb
|
@ -2,14 +2,16 @@ import { Separator, XStack, YStack } from 'tamagui'
|
||||||
import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow'
|
import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow'
|
||||||
import SyncStatus from './SyncStatus'
|
import SyncStatus from './SyncStatus'
|
||||||
import NimbusLogo from '../../components/Logos/NimbusLogo'
|
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 PairIcon from '../../components/Icons/PairIcon'
|
||||||
import CreateIcon from '../../components/Icons/CreateIcon'
|
import CreateIcon from '../../components/Icons/CreateIcon'
|
||||||
import NodeIcon from '../../components/Icons/NodeIcon'
|
import NodeIcon from '../../components/Icons/NodeIcon'
|
||||||
import Titles from '../../components/General/Titles'
|
import Titles from '../../components/General/Titles'
|
||||||
|
import { useState } from 'react'
|
||||||
|
|
||||||
const PairDevice = () => {
|
const PairDevice = () => {
|
||||||
const isPaired = false
|
const isPaired = false
|
||||||
|
const [autoChecked, setAutoChecked] = useState(false)
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<PageWrapperShadow rightImageSrc="/background-images/day-night-bg.png">
|
<PageWrapperShadow rightImageSrc="/background-images/day-night-bg.png">
|
||||||
|
@ -30,6 +32,22 @@ const PairDevice = () => {
|
||||||
<Separator borderColor={'#e3e3e3'} />
|
<Separator borderColor={'#e3e3e3'} />
|
||||||
<SyncStatus isPairing={true} timer={'00:12'} isAwaitingPairing={true} />
|
<SyncStatus isPairing={true} timer={'00:12'} isAwaitingPairing={true} />
|
||||||
<Separator borderColor={'#e3e3e3'} />
|
<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>
|
<XStack>
|
||||||
<Button icon={<NodeIcon />} disabled={!isPaired}>
|
<Button icon={<NodeIcon />} disabled={!isPaired}>
|
||||||
Continue
|
Continue
|
||||||
|
|
Loading…
Reference in New Issue