feat: initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
// App.tsx / router.tsx
|
||||
import { createBrowserRouter, RouterProvider } from "react-router-dom";
|
||||
import HomeInternPage from "../internify/intern/HomeInternPage";
|
||||
import InternLayout from "../internify/layout";
|
||||
|
||||
const router = createBrowserRouter([
|
||||
{
|
||||
path: "/",
|
||||
element: <InternLayout />,
|
||||
children: [
|
||||
{ path: "home", element: <HomeInternPage /> },
|
||||
],
|
||||
},
|
||||
]);
|
||||
|
||||
export default function App() {
|
||||
return <RouterProvider router={router} />;
|
||||
}
|
||||
Reference in New Issue
Block a user