MED-137: add doctor other jobs view (#55)
* add doctor jobs view * change translation * another translation change * clean up * add analaysis detail view to paths config * translation * merge fix * fix path * move components to shared * refactor * imports * clean up
This commit is contained in:
@@ -2,13 +2,14 @@ import Link from 'next/link';
|
||||
|
||||
import { Menu } from 'lucide-react';
|
||||
|
||||
import { pathsConfig } from '@kit/shared/config';
|
||||
import {
|
||||
DropdownMenu,
|
||||
DropdownMenuContent,
|
||||
DropdownMenuItem,
|
||||
DropdownMenuTrigger,
|
||||
} from '@kit/ui/dropdown-menu';
|
||||
import pathsConfig from '../../../config/paths.config';
|
||||
import { Trans } from '@kit/ui/trans';
|
||||
|
||||
export function DoctorMobileNavigation() {
|
||||
return (
|
||||
@@ -19,9 +20,30 @@ export function DoctorMobileNavigation() {
|
||||
|
||||
<DropdownMenuContent>
|
||||
<DropdownMenuItem>
|
||||
<Link href={pathsConfig.app.doctor}>Home</Link>
|
||||
<Link href={pathsConfig.app.home}>
|
||||
<Trans i18nKey={'common:routes.home'} />
|
||||
</Link>
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem>
|
||||
<Link href={pathsConfig.app.doctor}>
|
||||
<Trans i18nKey={'doctor:sidebar.dashboard'} />
|
||||
</Link>
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem>
|
||||
<Link href={pathsConfig.app.openJobs}>
|
||||
<Trans i18nKey={'doctor:sidebar.openReviews'} />
|
||||
</Link>
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem>
|
||||
<Link href={pathsConfig.app.myJobs}>
|
||||
<Trans i18nKey={'doctor:sidebar.myReviews'} />
|
||||
</Link>
|
||||
</DropdownMenuItem>
|
||||
<DropdownMenuItem>
|
||||
<Link href={pathsConfig.app.completedJobs}>
|
||||
<Trans i18nKey={'doctor:sidebar.completedReviews'} />
|
||||
</Link>
|
||||
</DropdownMenuItem>
|
||||
|
||||
</DropdownMenuContent>
|
||||
</DropdownMenu>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user