diff --git a/src/pages/Misc/ComingSoonPage.jsx b/src/pages/Misc/ComingSoonPage.jsx new file mode 100644 index 00000000..937b4603 --- /dev/null +++ b/src/pages/Misc/ComingSoonPage.jsx @@ -0,0 +1,24 @@ +import React from 'react' +import { Link } from 'react-router-dom' + +export const ComingSoonPage = () => { + return ( + <> +
+

Coming Soon!

+

We're currently working on this feature and will have it ready shortly. + Thank you for your patience!

+
+ girl-doing-yoga-light +
+
+ + ) +} \ No newline at end of file diff --git a/src/pages/employee/EmployeeProfile.jsx b/src/pages/employee/EmployeeProfile.jsx index a000f72d..a1e10df3 100644 --- a/src/pages/employee/EmployeeProfile.jsx +++ b/src/pages/employee/EmployeeProfile.jsx @@ -8,7 +8,7 @@ import { getCachedData } from "../../slices/apiDataManager"; import { useEmployeeProfile, useEmployees, useEmployeesByProject } from "../../hooks/useEmployees"; import { useSelector } from "react-redux"; import EmployeeRepository from "../../repositories/EmployeeRepository"; - +import { ComingSoonPage } from "../Misc/ComingSoonPage"; const EmployeeProfile = () => { @@ -56,49 +56,32 @@ const EmployeeProfile = () => { switch (activePill) { case "account": { return ( -
- {/*
*/} -

Account

- {/*
*/} - -
+ <> + + ); } case "attendance": { return ( -
-
- {/* Teams */} -

attendance component

- {/* Teams */} -
-
+ <> + + ); break; } case "activities": { return ( -

activites components

+ <> + + ); break; } default: - return
-

Coming Soon!

-

We're currently working on this feature and will have it ready shortly. - Thank you for your patience!

-
- girl-doing-yoga-light -
-
; + return <> + + ; } };