diff --git a/frontend/src/AdminLayout.tsx b/frontend/src/AdminLayout.tsx new file mode 100644 index 0000000..621c03f --- /dev/null +++ b/frontend/src/AdminLayout.tsx @@ -0,0 +1,22 @@ +import React from 'react'; +import { Link, Outlet } from 'react-router-dom'; + +const AdminLayout: React.FC = () => { + return ( +
+ +
+ +
+
+ ); +}; + +export default AdminLayout; diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index e5ba036..e27721f 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -4,6 +4,7 @@ import LoginPage from './LoginPage'; import ProductList from './ProductList'; import ProductDetail from './ProductDetail'; import CartPage from './CartPage'; +import AdminLayout from './AdminLayout'; import { CartProvider } from './CartContext'; import { AuthProvider } from './AuthContext'; @@ -12,19 +13,30 @@ function App() { -
-
- - } /> - } /> - } /> - } /> - -
+ + +
+
+ + } /> + } /> + } /> + } /> + +
+ + } /> + }> + Product Management (To be implemented)} /> + Category Management (To be implemented)} /> + Seller Management (To be implemented)} /> + + ) } -export default App; \ No newline at end of file +export default App;