From 98ddc5aaaebaee8fad7e0b2630c1fde24f16c568 Mon Sep 17 00:00:00 2001 From: victorAnumudu Date: Wed, 3 Jan 2024 19:58:07 +0100 Subject: [PATCH] added dummy job groups page --- src/Routers.jsx | 2 + src/components/JobGroups/JobGroups.jsx | 10 ++ src/components/Partials/RightSideBar.jsx | 161 ++++++++++++++++++++++- src/views/JobGroupsPage.jsx | 10 ++ 4 files changed, 182 insertions(+), 1 deletion(-) create mode 100644 src/components/JobGroups/JobGroups.jsx create mode 100644 src/views/JobGroupsPage.jsx diff --git a/src/Routers.jsx b/src/Routers.jsx index ce12c76..4f6f51c 100644 --- a/src/Routers.jsx +++ b/src/Routers.jsx @@ -52,6 +52,7 @@ import AppleRedirectPage from "./views/AppleRedirectPage"; import LndPage from "./views/LndPage"; import FamilySettingsPage from "./views/FamilySettingsPage"; import AppDownloadPage from "./views/AppDownloadPage"; +import JobGroupsPage from "./views/JobGroupsPage"; export default function Routers() { return ( @@ -134,6 +135,7 @@ export default function Routers() { } /> } /> } /> + } /> } /> diff --git a/src/components/JobGroups/JobGroups.jsx b/src/components/JobGroups/JobGroups.jsx new file mode 100644 index 0000000..87d96c9 --- /dev/null +++ b/src/components/JobGroups/JobGroups.jsx @@ -0,0 +1,10 @@ +import React from 'react' +import Layout from '../Partials/Layout' + +export default function JobGroups() { + return ( + +
JobGroups
+
+ ) +} diff --git a/src/components/Partials/RightSideBar.jsx b/src/components/Partials/RightSideBar.jsx index 51594b6..5a73988 100644 --- a/src/components/Partials/RightSideBar.jsx +++ b/src/components/Partials/RightSideBar.jsx @@ -154,7 +154,166 @@ export default function RightSideBar() { - {/**/} + + {/*JOB LINKS*/} +
+ {/* heading */} +
+

+ Job Links +

+
+
+ +
+
+ {/* image */} +
+ + + + + + + +
+ {/* name */} +
+

+ Active Task +

+
+ {/* action */} +
+ {userDetails && userDetails?.account_type !== "FAMILY" && ( + <> +
+ {/* image */} +
+ + + + + + + +
+ {/* name */} +
+

+ Review Pending +

+
+
+ +
+ {/* image */} +
+ + + + + + +
+ {/* name */} +
+

+ Past Due +

+
+
+ + {/* Line */} +
+ +
+ {/* image */} +
+ + + + + + +
+ {/* name */} +
+

+ Job Groups +

+
+
+ + )} +
+
); diff --git a/src/views/JobGroupsPage.jsx b/src/views/JobGroupsPage.jsx new file mode 100644 index 0000000..3ad236e --- /dev/null +++ b/src/views/JobGroupsPage.jsx @@ -0,0 +1,10 @@ +import React from 'react' +import JobGroups from '../components/JobGroups/JobGroups' + +export default function JobGroupsPage() { + return ( + <> + + + ) +}