diff --git a/src/config/Paths.ts b/src/config/Paths.ts index d696c76..1896dbb 100644 --- a/src/config/Paths.ts +++ b/src/config/Paths.ts @@ -2,4 +2,7 @@ export const Paths = { home: "/", editor: "/editor", viewer: "/viewer", + catalog: { + list: "/catalogue", + }, }; diff --git a/src/langs/fa.json b/src/langs/fa.json index 75cce43..a91d5cd 100644 --- a/src/langs/fa.json +++ b/src/langs/fa.json @@ -1,7 +1,8 @@ { "sidebar": { "menu": "منو", - "home_page": "صفحه اصلی" + "home_page": "صفحه اصلی", + "catalog": "کاتالوگ" }, "header": { "search": "جستجو" diff --git a/src/shared/SideBar.tsx b/src/shared/SideBar.tsx index 8f07e2d..590608b 100644 --- a/src/shared/SideBar.tsx +++ b/src/shared/SideBar.tsx @@ -3,6 +3,7 @@ import LogoImage from '../assets/images/logo.svg' import LogoSmall from '../assets/images/logo-small.svg' import { useTranslation } from 'react-i18next' import { + DocumentText, Home2, Logout, } from 'iconsax-react' @@ -74,6 +75,14 @@ const SideBar: FC = () => { link={Paths.home} activeName={Paths.home} /> + + } + title={t('sidebar.catalog')} + isActive={isActive(Paths.catalog.list)} + link={Paths.catalog.list} + activeName={Paths.catalog.list} + />