import { createRoot } from "react-dom/client";
import "./index.css";
import { createBrowserRouter, RouterProvider } from "react-router-dom";

const root = document.getElementById("root")!;

const router = createBrowserRouter([
  {
    path: "/",
    element: <div>Hello, World!</div>,
  },
  {
    path: "/login",
    element: <div>Hello from /login!</div>,
  },
  {
    path: "/register",
    element: <div>Hello from /register!</div>,
  },
]);

createRoot(root).render(<RouterProvider router={router} />);
