feat: add route for connection page

This commit is contained in:
Ivana Andersson 2023-08-15 09:43:36 +03:00
parent 216cb3b96b
commit b11d387249
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,7 @@ import './App.css'
import config from '../tamagui.config' import config from '../tamagui.config'
import LandingPage from './components/LandingPage' import LandingPage from './components/LandingPage'
import DeviceHealthCheck from './pages/DeviceHealthCheck/DeviceHealthCheck' import DeviceHealthCheck from './pages/DeviceHealthCheck/DeviceHealthCheck'
import ContentPage from './components/ConnectionPage'
const router = createBrowserRouter([ const router = createBrowserRouter([
{ {
@ -15,6 +16,10 @@ const router = createBrowserRouter([
path: '/device-health-check', path: '/device-health-check',
element: <DeviceHealthCheck />, element: <DeviceHealthCheck />,
}, },
{
path: '/connection-page',
element: <ContentPage />,
},
]) ])
function App() { function App() {