dashboard api for employer
This commit is contained in:
parent
2e89215c9f
commit
a2b299792a
@ -181,7 +181,6 @@ export default function Dashboard({
|
|||||||
<div>
|
<div>
|
||||||
<div className="text-xs font-semibold text-slate-400 uppercase tracking-widest">{t('total_hired_workers', 'Total Hired Workers')}</div>
|
<div className="text-xs font-semibold text-slate-400 uppercase tracking-widest">{t('total_hired_workers', 'Total Hired Workers')}</div>
|
||||||
<div className="text-3xl font-black text-slate-800 mt-1">{stats.hired_count}</div>
|
<div className="text-3xl font-black text-slate-800 mt-1">{stats.hired_count}</div>
|
||||||
<div className="text-[11px] text-slate-500 font-medium mt-1">{t('direct_contracts', 'Direct contracts initiated')}</div>
|
|
||||||
</div>
|
</div>
|
||||||
<Link href="/employer/candidates" className="text-xs font-bold text-[#185FA5] hover:underline flex items-center space-x-1 pt-2 border-t border-slate-100">
|
<Link href="/employer/candidates" className="text-xs font-bold text-[#185FA5] hover:underline flex items-center space-x-1 pt-2 border-t border-slate-100">
|
||||||
<span>{t('track_active_staff', 'Track active staff')}</span>
|
<span>{t('track_active_staff', 'Track active staff')}</span>
|
||||||
@ -200,9 +199,8 @@ export default function Dashboard({
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
<div>
|
||||||
<div className="text-xs font-semibold text-slate-400 uppercase tracking-widest">{t('shortlisted_candidates', 'Shortlisted Candidates')}</div>
|
<div className="text-xs font-semibold text-slate-400 uppercase tracking-widest">{t('saved_workers', 'Saved Workers')}</div>
|
||||||
<div className="text-3xl font-black text-slate-800 mt-1">{stats.shortlisted_count}</div>
|
<div className="text-3xl font-black text-slate-800 mt-1">{stats.shortlisted_count}</div>
|
||||||
<div className="text-[11px] text-slate-500 font-medium mt-1">{t('bookmark_list', 'Bookmark list for interviews')}</div>
|
|
||||||
</div>
|
</div>
|
||||||
<Link href="/employer/shortlist" className="text-xs font-bold text-[#185FA5] hover:underline flex items-center space-x-1 pt-2 border-t border-slate-100">
|
<Link href="/employer/shortlist" className="text-xs font-bold text-[#185FA5] hover:underline flex items-center space-x-1 pt-2 border-t border-slate-100">
|
||||||
<span>{t('open_shortlist', 'Open shortlist book')}</span>
|
<span>{t('open_shortlist', 'Open shortlist book')}</span>
|
||||||
|
|||||||
@ -22,7 +22,7 @@ import {
|
|||||||
DropdownMenuSeparator,
|
DropdownMenuSeparator,
|
||||||
DropdownMenuTrigger
|
DropdownMenuTrigger
|
||||||
} from '@/components/ui/dropdown-menu';
|
} from '@/components/ui/dropdown-menu';
|
||||||
import FilterDrawer, { FilterSection, FilterSelect, FilterInput, FilterChips, FilterCheckboxList } from '../../Components/Employer/FilterDrawer';
|
import FilterDrawer, { FilterSection, FilterSelect, FilterInput, FilterChips, FilterCheckboxList } from '../../components/Employer/FilterDrawer';
|
||||||
|
|
||||||
export default function SelectedCandidates({
|
export default function SelectedCandidates({
|
||||||
selectedWorkers,
|
selectedWorkers,
|
||||||
|
|||||||
@ -28,7 +28,7 @@ import {
|
|||||||
ShieldCheck,
|
ShieldCheck,
|
||||||
User
|
User
|
||||||
} from 'lucide-react';
|
} from 'lucide-react';
|
||||||
import FilterDrawer, { FilterSection, FilterSelect, FilterInput, FilterChips, FilterCheckboxList } from '../../../Components/Employer/FilterDrawer';
|
import FilterDrawer, { FilterSection, FilterSelect, FilterInput, FilterChips, FilterCheckboxList } from '../../../components/Employer/FilterDrawer';
|
||||||
|
|
||||||
const getLanguageFlag = (lang) => {
|
const getLanguageFlag = (lang) => {
|
||||||
const flags = {
|
const flags = {
|
||||||
|
|||||||
@ -43,7 +43,8 @@
|
|||||||
"total_hired_workers": "Total Hired Workers",
|
"total_hired_workers": "Total Hired Workers",
|
||||||
"direct_contracts": "Direct contracts initiated",
|
"direct_contracts": "Direct contracts initiated",
|
||||||
"track_active_staff": "Track active staff",
|
"track_active_staff": "Track active staff",
|
||||||
"shortlisted_candidates": "Shortlisted Candidates",
|
"shortlisted_candidates": "Saved Workers",
|
||||||
|
"saved_workers": "Saved Workers",
|
||||||
"bookmark_list": "Bookmark list for interviews",
|
"bookmark_list": "Bookmark list for interviews",
|
||||||
"open_shortlist": "Open shortlist book",
|
"open_shortlist": "Open shortlist book",
|
||||||
"discover_insights": "Discover Insights & Market Stats",
|
"discover_insights": "Discover Insights & Market Stats",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user