Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -0,0 +1,74 @@
|
||||
import { Outlet, useParams } from "react-router";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import SidebarIconsLayout from "~/components/ui/layouts/SidebarIconsLayout";
|
||||
import UrlUtils from "~/utils/app/UrlUtils";
|
||||
import { BellIcon, ClipboardIcon, FileTextIcon, GlobeIcon, UserIcon } from "~/components/ui/icons/vendor";
|
||||
import CalendarIcon from "~/components/ui/icons/CalendarIcon";
|
||||
import MegaphoneIcon from "~/components/ui/icons/emails/MegaphoneIcon";
|
||||
import ViewBoardsIcon from "~/components/ui/icons/ViewBoardsIcon";
|
||||
|
||||
export default function HrRoute() {
|
||||
const { t } = useTranslation();
|
||||
const params = useParams();
|
||||
|
||||
return (
|
||||
<SidebarIconsLayout
|
||||
label={{ align: "right" }}
|
||||
items={[
|
||||
{
|
||||
name: t("shared.overview"),
|
||||
href: UrlUtils.getModulePath(params, "hr"),
|
||||
exact: true,
|
||||
icon: <ViewBoardsIcon className="h-5 w-5" />,
|
||||
},
|
||||
{
|
||||
name: t("hr.nav.leave"),
|
||||
href: UrlUtils.getModulePath(params, "hr/leave"),
|
||||
icon: <CalendarIcon className="h-5 w-5" />,
|
||||
},
|
||||
{
|
||||
name: t("hr.nav.sick"),
|
||||
href: UrlUtils.getModulePath(params, "hr/sick"),
|
||||
icon: <BellIcon className="h-5 w-5" />,
|
||||
},
|
||||
{
|
||||
name: t("hr.nav.announcements"),
|
||||
href: UrlUtils.getModulePath(params, "hr/announcements"),
|
||||
icon: <MegaphoneIcon className="h-5 w-5" />,
|
||||
},
|
||||
{
|
||||
name: t("hr.nav.payslips"),
|
||||
href: UrlUtils.getModulePath(params, "hr/payslips"),
|
||||
icon: <FileTextIcon className="h-5 w-5" />,
|
||||
},
|
||||
{
|
||||
name: t("hr.nav.requests"),
|
||||
href: UrlUtils.getModulePath(params, "hr/requests"),
|
||||
icon: <ClipboardIcon className="h-5 w-5" />,
|
||||
},
|
||||
{
|
||||
name: t("hr.nav.surveys"),
|
||||
href: UrlUtils.getModulePath(params, "hr/surveys"),
|
||||
icon: <ViewBoardsIcon className="h-5 w-5" />,
|
||||
},
|
||||
{
|
||||
name: t("hr.nav.directory"),
|
||||
href: UrlUtils.getModulePath(params, "hr/directory"),
|
||||
icon: <UserIcon className="h-5 w-5" />,
|
||||
},
|
||||
{
|
||||
name: t("hr.nav.locations"),
|
||||
href: UrlUtils.getModulePath(params, "hr/locations"),
|
||||
icon: <GlobeIcon className="h-5 w-5" />,
|
||||
},
|
||||
{
|
||||
name: t("hr.nav.myDocuments"),
|
||||
href: UrlUtils.getModulePath(params, "hr/my-documents"),
|
||||
icon: <FileTextIcon className="h-5 w-5" />,
|
||||
},
|
||||
]}
|
||||
>
|
||||
<Outlet />
|
||||
</SidebarIconsLayout>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user