From a68283d658aeae714a34f17a9c1226b5f1b4bf1f Mon Sep 17 00:00:00 2001 From: Hristo Nedelkov Date: Fri, 22 Sep 2023 14:21:43 +0300 Subject: [PATCH] Style buttons and texts --- src/App.tsx | 5 ++++ .../ConnectExistingInstance.tsx | 23 +++++++++++++++---- 2 files changed, 23 insertions(+), 5 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index 337bcf2b..f433fcc2 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -13,6 +13,7 @@ import PinnedNotification from './components/General/PinnedNottification' import { RootState } from './redux/store' import CreateLocalNodePage from './pages/CreateLocalNodePage/CreateLocalNodePage' import ValidatorOnboarding from './pages/ValidatorOnboarding/ValidatorOnboarding' +import ConnectExistingInstance from './pages/ConnectExistingInstance/ConnectExistingInstance' const router = createBrowserRouter([ { @@ -35,6 +36,10 @@ const router = createBrowserRouter([ path: '/pair-device', element: , }, + { + path: '/pair-existing-instance', + element: , + }, { path: '/create-local-node', element: }, { path: '/validator-onboarding', element: }, ]) diff --git a/src/pages/ConnectExistingInstance/ConnectExistingInstance.tsx b/src/pages/ConnectExistingInstance/ConnectExistingInstance.tsx index e1aa6883..c814be18 100644 --- a/src/pages/ConnectExistingInstance/ConnectExistingInstance.tsx +++ b/src/pages/ConnectExistingInstance/ConnectExistingInstance.tsx @@ -1,14 +1,14 @@ import { Separator, XStack, YStack } from 'tamagui' import { useState } from 'react' -import { Button, Checkbox, Text } from '@status-im/components' +import { Button, Text } from '@status-im/components' import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow' -import SyncStatus from './SyncStatus' + import Titles from '../../components/General/Titles' import CreateAvatar from '../../components/General/CreateAvatar/CreateAvatar' -import GenerateId from './GenerateId' -import { NodeIcon } from '@status-im/icons' + +import { NodeIcon, SettingsIcon, CompleteIdIcon } from '@status-im/icons' import Header from '../../components/General/Header' import Icon from '../../components/General/Icon' import PairedSuccessfully from '../PairDevice/PairedSuccessfully' @@ -32,6 +32,19 @@ const ConnectExistingInstance = () => { >
+ + + Connect via IP + + + {/* {isPaired ? : } */} {/* {!isPaired && ( { Advanced Settings - + {isPaired && }