diff --git a/src/assets/images/EquimpmentIcon.js b/src/assets/images/EquimpmentIcon.js
new file mode 100644
index 0000000..f18362f
--- /dev/null
+++ b/src/assets/images/EquimpmentIcon.js
@@ -0,0 +1,35 @@
+import PropTypes from 'prop-types';
+const EquipmentIcon = ({ width = 96, height = 96, color = '#007aff', ...props }) => (
+
+);
+
+export default EquipmentIcon;
+EquipmentIcon.propTypes = {
+ width: PropTypes.string,
+ height: PropTypes.string,
+ color: PropTypes.string
+};
diff --git a/src/assets/images/FleetIcon.js b/src/assets/images/FleetIcon.js
new file mode 100644
index 0000000..a19167f
--- /dev/null
+++ b/src/assets/images/FleetIcon.js
@@ -0,0 +1,54 @@
+import PropTypes from 'prop-types';
+const FleetIcon = ({ width = 96, height = 96, color = '#007aff', ...props }) => (
+
+);
+
+export default FleetIcon;
+FleetIcon.propTypes = {
+ width: PropTypes.string,
+ height: PropTypes.string,
+ color: PropTypes.string
+};
diff --git a/src/assets/images/ProductsIcon.js b/src/assets/images/ProductsIcon.js
new file mode 100644
index 0000000..00c6214
--- /dev/null
+++ b/src/assets/images/ProductsIcon.js
@@ -0,0 +1,49 @@
+import PropTypes from 'prop-types';
+
+const ProductsIcon = ({ width = '96', height = '96', color = '#007AFF', ...props }) => (
+
+);
+
+export default ProductsIcon;
+
+ProductsIcon.propTypes = {
+ width: PropTypes.string,
+ height: PropTypes.string,
+ color: PropTypes.string
+};
diff --git a/src/assets/images/RawMaterialIcon.js b/src/assets/images/RawMaterialIcon.js
new file mode 100644
index 0000000..37fb33f
--- /dev/null
+++ b/src/assets/images/RawMaterialIcon.js
@@ -0,0 +1,42 @@
+import PropTypes from 'prop-types';
+
+const RawMaterialIcon = ({ width = '96', height = '96', color = '#007AFF', ...props }) => (
+
+);
+
+export default RawMaterialIcon;
+
+RawMaterialIcon.propTypes = {
+ width: PropTypes.string,
+ height: PropTypes.string,
+ color: PropTypes.string
+};
diff --git a/src/components/TileComponent/Tile/index.js b/src/components/TileComponent/Tile/index.js
index fc89335..44cfc29 100644
--- a/src/components/TileComponent/Tile/index.js
+++ b/src/components/TileComponent/Tile/index.js
@@ -2,7 +2,6 @@ import React, { useState } from 'react';
import PropTypes from 'prop-types';
import Box from '@mui/material/Box';
import ArrowRightIcon from 'assets/images/ArrowRightIcon';
-
import Accordion from '@mui/material/Accordion';
import AccordionSummary from '@mui/material/AccordionSummary';
import AccordionDetails from '@mui/material/AccordionDetails';
@@ -12,13 +11,9 @@ import LOGGER from 'services/Logger';
export default function Tile({ data, children }) {
let [expand, setExpand] = useState(false);
const classes = useStyles();
+
return (
- {
- LOGGER.log(data.path);
- }}
- >
+
-
+ {
+ console.log(data.path.update);
+ }}
+ >
Update {data.name} {' '}
-
+ {
+ console.log(data.path.addNew);
+ }}
+ >
Add New {data.name} {' '}
-
+ {
+ console.log(data.path.cycleCount);
+ }}
+ >
Cycle Count {' '}
-
+ {
+ console.log(data.path.list);
+ }}
+ >
{data.name} List {' '}
diff --git a/src/components/TileComponent/Tile/styles.js b/src/components/TileComponent/Tile/styles.js
index b5d8f07..55d2b6b 100644
--- a/src/components/TileComponent/Tile/styles.js
+++ b/src/components/TileComponent/Tile/styles.js
@@ -4,7 +4,8 @@ const useStyles = makeStyles({
root: {
backgroundColor: 'white',
borderRadius: '8px',
- boxShadow: '0px 4px 24px #0000000d'
+ boxShadow: '0px 4px 24px #0000000d',
+ height: '230px'
},
hoverChange: {
'&:hover': {
diff --git a/src/components/TileComponent/TileGrid.js b/src/components/TileComponent/TileGrid.js
index 81d3b9d..ca70059 100644
--- a/src/components/TileComponent/TileGrid.js
+++ b/src/components/TileComponent/TileGrid.js
@@ -2,6 +2,7 @@ import React, { useEffect, useRef } from 'react';
import PropTypes from 'prop-types';
import Box from '@mui/material/Box';
import { makeStyles } from '@mui/styles';
+import PropTypes from 'prop-types';
import Tile from './Tile';
@@ -35,7 +36,7 @@ export default function TileGrid({ tiles }) {
{tiles &&
tiles.map((tile) => (
-
+
{' '}
{tile.icon}
diff --git a/src/pages/SetupInventory/index.js b/src/pages/SetupInventory/index.js
new file mode 100644
index 0000000..98189f2
--- /dev/null
+++ b/src/pages/SetupInventory/index.js
@@ -0,0 +1,44 @@
+import MDBox from 'components/MDBox';
+import DashboardNavbar from 'components/DashboardNavbar';
+import Footer from 'components/Footer';
+import DashboardLayout from 'layouts/DashboardLayout';
+import TileGrid from 'components/TileComponent/TileGrid';
+import EquipmentIcon from 'assets/images/EquimpmentIcon';
+import ProductsIcon from 'assets/images/ProductsIcon';
+import FleetIcon from 'assets/images/FleetIcon';
+import RawMaterialIcon from 'assets/images/RawMaterialIcon';
+
+function SetupInventory() {
+ const tileList = [
+ {
+ name: 'Equipment',
+ path: { update: '/update', addNew: '/addNew', cycleCount: '/cycleCount', list: '/list' },
+ icon:
+ },
+ {
+ name: 'Raw Material',
+ path: { update: '/update', addNew: '/addNew', cycleCount: '/cycleCount', list: '/list' },
+ icon:
+ },
+ {
+ name: 'Products',
+ path: { update: '/update', addNew: '/addNew', cycleCount: '/cycleCount', list: '/list' },
+ icon:
+ },
+ {
+ name: 'Fleet',
+ path: { update: '/update', addNew: '/addNew', cycleCount: '/cycleCount', list: '/list' },
+ icon:
+ }
+ ];
+ return (
+
+
+
+
+
+
+
+ );
+}
+export default SetupInventory;