diff --git a/src/pages/Directory/Directory.jsx b/src/pages/Directory/Directory.jsx new file mode 100644 index 00000000..24f8c979 --- /dev/null +++ b/src/pages/Directory/Directory.jsx @@ -0,0 +1,184 @@ +import React, {useState} from "react"; +import Breadcrumb from "../../components/common/Breadcrumb"; +import IconButton from "../../components/common/IconButton"; +import GlobalModel from "../../components/common/GlobalModel"; +import ManageDirectory from "../../components/Directory/ManageDirectory"; + +const Directory = () => +{ + const [ isOpenModal, setIsOpenModal ] = useState( false ) + const closedModel = () => setIsOpenModal( false ) + + const contacts = [ + { + "userId": 1, + "firstName": "Krish", + "lastName": "Lee", + "phoneNumber": "123456", + "emailAddress": "krish.lee@learningcontainer.com", + "type":"Clinet" + }, + { + "userId": 2, + "firstName": "racks", + "lastName": "jacson", + "phoneNumber": "123456", + "emailAddress": "racks.jacson@learningcontainer.com", + "type":"Vendor" + }, + { + "userId": 3, + "firstName": "denial", + "lastName": "roast", + "phoneNumber": "33333333", + "emailAddress": "denial.roast@learningcontainer.com", + "type":"vendor" + }, + { + "userId": 4, + "firstName": "devid", + "lastName": "neo", + "phoneNumber": "222222222", + "emailAddress": "devid.neo@learningcontainer.com", + "type":"employee" + }, + { + "userId": 5, + "firstName": "jone", + "lastName": "mac", + "phoneNumber": "111111111", + "emailAddress": "jone.mac@learningcontainer.com", + "type":"employee" + } + ] + return ( +
+ + + + + + +
+
+
+ +
+
+ +
+
+
+ + + + + + + + + + + + + + + + +
+ Name + +
+ alert("User icon clicked")} + /> + Email +
+
+ alert("User icon clicked")} + /> + Phone +
+
+
+ + Organization +
+
+
+ + {/*
    + {[ + { id: 1, label: "Active" }, + { id: 2, label: "On Hold" }, + { id: 3, label: "Inactive" }, + { id: 4, label: "Completed" }, + ].map(({ id, label }) => ( +
  • +
    + handleStatusChange(id)} + /> + +
    +
  • + ))} +
+ */} +
+
+ Action +
+ No projects found +
+
+
+
+ ); +}; + +export default Directory;