From e243f101b3266ed98a1b668562a639408ffe36d7 Mon Sep 17 00:00:00 2001
From: physcik <mynameisgennadiy@vk.com>
Date: Fri, 10 Apr 2026 20:45:57 +0500
Subject: router setup

---
 front/src/App.tsx | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)
 create mode 100644 front/src/App.tsx

(limited to 'front/src/App.tsx')

diff --git a/front/src/App.tsx b/front/src/App.tsx
new file mode 100644
index 0000000..47cc1ed
--- /dev/null
+++ b/front/src/App.tsx
@@ -0,0 +1,27 @@
+import './App.css';
+import Sidebar from './Emelents/Sidebar';
+import { createBrowserRouter, RouterProvider } from 'react-router';
+import IndexElement from './Emelents/IndexElement';
+import ClassesList from './Emelents/ClassList';
+
+const router = createBrowserRouter([
+    {
+        index: true,
+        element: (<IndexElement />),
+    },
+    {
+        path: "/classes",
+        element: (<ClassesList />),
+    },
+]);
+
+function App() {
+    return (
+        <div>
+            <Sidebar />
+            <RouterProvider router={router} />
+        </div>
+    );
+}
+
+export default App;
-- 
cgit v1.3

