Create structure for pages and images

This commit is contained in:
RadoslavDimchev 2023-07-13 17:45:55 +03:00
parent a98028b61a
commit 186cac0fc7
3 changed files with 12 additions and 2 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 514 KiB

View File

@ -1,15 +1,16 @@
import { TamaguiProvider } from "tamagui";
import config from "./tamagui.config.js";
import { createBrowserRouter, RouterProvider } from "react-router-dom";
import DeviceHealthCheck from "./pages/DeviceHealthCheck/index.jsx";
import "./App.css";
const router = createBrowserRouter([
{
path: "/",
element: <div>Hello world!</div>,
element: <DeviceHealthCheck />,
},
]);

View File

@ -0,0 +1,9 @@
const DeviceHealthCheck = () => {
return (
<div>
<img src="/background-images/eye-background.png" alt="eye-background" />
</div>
);
};
export default DeviceHealthCheck;