mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-10 18:36:50 +00:00
Create page layout
This commit is contained in:
parent
11c18a316f
commit
9327424e09
BIN
public/background-images/sync-status-background.png
Normal file
BIN
public/background-images/sync-status-background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 988 KiB |
@ -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 DeviceSyncStatus from './pages/DeviceHealthCheck/DeviceSyncStatus'
|
||||||
|
|
||||||
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: '/device-sync-status',
|
||||||
|
element: <DeviceSyncStatus />,
|
||||||
|
},
|
||||||
])
|
])
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
|
24
src/pages/DeviceHealthCheck/DeviceSyncStatus.tsx
Normal file
24
src/pages/DeviceHealthCheck/DeviceSyncStatus.tsx
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
import { Stack, YStack } from 'tamagui'
|
||||||
|
import LayoutComponent from '../../components/LayoutComponent'
|
||||||
|
import NimbusLogo from '../../components/NimbusLogo'
|
||||||
|
import Titles from '../../components/Titles'
|
||||||
|
import { Button } from '@status-im/components'
|
||||||
|
|
||||||
|
const DeviceSyncStatus = () => {
|
||||||
|
return (
|
||||||
|
<LayoutComponent
|
||||||
|
content={<DeviceSyncStatusContent />}
|
||||||
|
rightImageSrc="/background-images/sync-status-background.png"
|
||||||
|
/>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
|
export default DeviceSyncStatus
|
||||||
|
|
||||||
|
const DeviceSyncStatusContent = () => {
|
||||||
|
return (
|
||||||
|
<div className="container-inner landing-page">
|
||||||
|
|
||||||
|
</div>
|
||||||
|
)
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user