feat: banner

This commit is contained in:
eleanor.mao
2025-04-24 00:43:55 +08:00
parent 7988725223
commit 7aafc3a789
16 changed files with 367 additions and 52 deletions

View File

@ -27,12 +27,12 @@ import { collectEvent } from '@/utils/event';
import { getCityValues } from '@/utils/location';
export const isFullTimePriceRequired = (employType?: JobDetails['employType']) => {
return employType === EmployType.Full || employType === EmployType.All
}
return employType === EmployType.Full || employType === EmployType.All;
};
export const isPartTimePriceRequired = (employType?: JobDetails['employType']) => {
return employType === EmployType.Part || employType === EmployType.All
}
return employType === EmployType.Part || employType === EmployType.All;
};
export const getJobSalary = (data: Partial<JobDetails>) => {
const { salary, employType, lowPriceForFullTime, highPriceForFullTime, lowPriceForPartyTime, highPriceForPartyTime } =