From e86d2516e0a1eab5c4f3e5a19d70413e9691e178 Mon Sep 17 00:00:00 2001 From: Ivana Andersson Date: Tue, 15 Aug 2023 10:22:36 +0300 Subject: [PATCH] feat: move connect device page to pages folder --- src/App.tsx | 2 +- .../ConnectDevicePage}/ConnectDevicePage.tsx | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) rename src/{components => pages/ConnectDevicePage}/ConnectDevicePage.tsx (88%) diff --git a/src/App.tsx b/src/App.tsx index 8bdf7880..6c4cd65f 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -5,7 +5,7 @@ import './App.css' import config from '../tamagui.config' import LandingPage from './components/LandingPage' import DeviceHealthCheck from './pages/DeviceHealthCheck/DeviceHealthCheck' -import ConnectDevicePage from './components/ConnectDevicePage' +import ConnectDevicePage from './pages/ConnectDevicePage/ConnectDevicePage' const router = createBrowserRouter([ { diff --git a/src/components/ConnectDevicePage.tsx b/src/pages/ConnectDevicePage/ConnectDevicePage.tsx similarity index 88% rename from src/components/ConnectDevicePage.tsx rename to src/pages/ConnectDevicePage/ConnectDevicePage.tsx index a8d13f82..44b9df9e 100644 --- a/src/components/ConnectDevicePage.tsx +++ b/src/pages/ConnectDevicePage/ConnectDevicePage.tsx @@ -1,15 +1,15 @@ import { useState } from 'react' -import BreadcrumbBar from './BreadcrumbBar' +import BreadcrumbBar from '../../components/BreadcrumbBar' import { Button as StatusButton, Tag, Text, Avatar, Checkbox } from '@status-im/components' import { Label, Separator, XStack, YStack } from 'tamagui' -import PageWrapperShadow from './PageWrapperShadow' -import NimbusLogo from './NimbusLogo' -import Titles from './Titles' -import NodeIcon from './NodeIcon' -import ConnectIcon from './ConnectIcon' -import PairIcon from './PairIcon' -import CreateIcon from './CreateIcon' -import LabelInputField from './LabelInputField' +import PageWrapperShadow from '../../components/PageWrapperShadow' +import NimbusLogo from '../../components/NimbusLogo' +import Titles from '../../components/Titles' +import NodeIcon from '../../components/NodeIcon' +import ConnectIcon from '../../components/ConnectIcon' +import PairIcon from '../../components/PairIcon' +import CreateIcon from '../../components/CreateIcon' +import LabelInputField from '../../components/LabelInputField' const ConnectDevicePage = () => { const [autoConnectChecked, setAutoConnectChecked] = useState(false)