import { createBrowserRouter, RouterProvider } from "react-router-dom"; import Animated from "../../pages/Animated"; import Home from "../../pages/Home"; import HomeLayout from "../components/layouts/HomeLayout"; const router = createBrowserRouter([ { path: "/", element: , children: [ { path: "animated", element: , }, { path: "", element: , }, ], }, ]); const RouterProviderComponent = () => { return ; }; export default RouterProviderComponent;