feat: add initial components to the page

This commit is contained in:
RadoslavDimchev 2023-08-16 10:48:27 +03:00
parent 7dff29b697
commit 87fc53a64e
3 changed files with 19 additions and 4 deletions

View File

@ -7,6 +7,7 @@ import LandingPage from './pages/LandingPage/LandingPage'
import DeviceHealthCheck from './pages/DeviceHealthCheck/DeviceHealthCheck' import DeviceHealthCheck from './pages/DeviceHealthCheck/DeviceHealthCheck'
import ConnectDevicePage from './pages/ConnectDevicePage/ConnectDevicePage' import ConnectDevicePage from './pages/ConnectDevicePage/ConnectDevicePage'
import DeviceSyncStatus from './pages/DeviceSyncStatus/DeviceSyncStatus' import DeviceSyncStatus from './pages/DeviceSyncStatus/DeviceSyncStatus'
import PairDevice from './pages/PairDevice/PairDevice'
const router = createBrowserRouter([ const router = createBrowserRouter([
{ {
@ -27,7 +28,7 @@ const router = createBrowserRouter([
}, },
{ {
path: '/pair-device', path: '/pair-device',
element: <DeviceSyncStatus />, element: <PairDevice />,
}, },
]) ])

View File

@ -1,3 +0,0 @@
const PairDevice = () => {}
export default PairDevice

View File

@ -0,0 +1,17 @@
import { YStack } from 'tamagui'
import PageWrapperShadow from '../../components/PageWrappers/PageWrapperShadow'
const PairDevice = () => {
return (
<PageWrapperShadow rightImageSrc="/background-images/day-night-bg.png">
<YStack
space={'$4'}
style={{
maxWidth: '100%',
}}
></YStack>
</PageWrapperShadow>
)
}
export default PairDevice