Add product Added

main
Pedram Keshavarzi 3 years ago
parent 7485d954ac
commit 703de932c3
  1. 2
      src/App.js
  2. 11
      src/view/addProduct/index.js

@ -29,6 +29,7 @@ import ENTER_EXAM from './view/Exam/EnterExam/index'
import EXAM from './view/Exam' import EXAM from './view/Exam'
import CallBack from './view/CallBack'; import CallBack from './view/CallBack';
import AdminPanel from './view/admin'; import AdminPanel from './view/admin';
import AddProduct from './view/addProduct';
let data = [ let data = [
@ -682,6 +683,7 @@ function App() {
} }
/> />
<Route path="/adminpanel" element={<AdminPanel />} /> <Route path="/adminpanel" element={<AdminPanel />} />
<Route path="/adminpanel/add-product" element={<AddProduct />} />
<Route path="/register" element={<Register activeLogin={activeLogin}/>}/> <Route path="/register" element={<Register activeLogin={activeLogin}/>}/>
<Route path="/accounting" element={<Accounting />} /> <Route path="/accounting" element={<Accounting />} />
<Route path="/messages" element={<Messages />} /> <Route path="/messages" element={<Messages />} />

@ -0,0 +1,11 @@
import React from "react";
const AddProduct = () => {
return(
<div className="w-[96%] h-screen bg-gray-200 flex items-center justify-center">
skdjfksajflkjasdfasdf
</div>
)
}
export default AddProduct;
Loading…
Cancel
Save