mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-02-13 11:56:26 +00:00
Create structure for pages and images
This commit is contained in:
parent
a98028b61a
commit
186cac0fc7
BIN
public/background-images/eye-background.png
Normal file
BIN
public/background-images/eye-background.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 514 KiB |
@ -1,15 +1,16 @@
|
|||||||
import { TamaguiProvider } from "tamagui";
|
import { TamaguiProvider } from "tamagui";
|
||||||
|
|
||||||
import config from "./tamagui.config.js";
|
import config from "./tamagui.config.js";
|
||||||
|
|
||||||
import { createBrowserRouter, RouterProvider } from "react-router-dom";
|
import { createBrowserRouter, RouterProvider } from "react-router-dom";
|
||||||
|
|
||||||
|
import DeviceHealthCheck from "./pages/DeviceHealthCheck/index.jsx";
|
||||||
|
|
||||||
import "./App.css";
|
import "./App.css";
|
||||||
|
|
||||||
const router = createBrowserRouter([
|
const router = createBrowserRouter([
|
||||||
{
|
{
|
||||||
path: "/",
|
path: "/",
|
||||||
element: <div>Hello world!</div>,
|
element: <DeviceHealthCheck />,
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
9
src/pages/DeviceHealthCheck/index.jsx
Normal file
9
src/pages/DeviceHealthCheck/index.jsx
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
const DeviceHealthCheck = () => {
|
||||||
|
return (
|
||||||
|
<div>
|
||||||
|
<img src="/background-images/eye-background.png" alt="eye-background" />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
};
|
||||||
|
|
||||||
|
export default DeviceHealthCheck;
|
Loading…
x
Reference in New Issue
Block a user