Skip to content
Extraits de code Groupes Projets
Valider 65121c36 rédigé par souhail.elmahdani's avatar souhail.elmahdani
Parcourir les fichiers

finalized apply to job

parent c2bad547
Branches
1 requête de fusion!23Resolve HIR-24 "Feature/HIR-24" Implemented the apply to job interface
Pipeline #3915 réussi avec l'étape
in 4 minutes et 58 secondes
......@@ -28,6 +28,9 @@ export function SingleFilePreview({ file }: SingleFilePreviewProps) {
width: 1,
height: 1,
position: 'absolute',
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
}}
>
{fileType === 'pdf' ? (
......@@ -38,6 +41,18 @@ export function SingleFilePreview({ file }: SingleFilePreviewProps) {
height="100%"
style={{ borderRadius: '8px' }}
/>
) : fileType === 'doc' || fileType === 'docx' ? (
<Box
component="img"
alt={fileName}
src="/assets/icons/files/ic-word.svg"
sx={{
width: '100px',
height: 'auto',
borderRadius: 1,
objectFit: 'contain',
}}
/>
) : (
<Box
component="img"
......@@ -55,7 +70,6 @@ export function SingleFilePreview({ file }: SingleFilePreviewProps) {
);
}
// ----------------------------------------------------------------------
export function DeleteButton({ sx, ...other }: IconButtonProps) {
......
......@@ -163,7 +163,7 @@ export const _jobs = [...Array(12)].map((_, index) => {
object: '',
body: '',
};
const questions = [{question: "Where you live ?",answer: ""}, {question: "Have you ever used HIRE3 ?",answer: ""}]
const questions = [{question: "Où habites-tu ?",answer: ""}, {question: "Avez-vous déjà utilisé HIRE3 ?",answer: ""}]
return {
id: _mock.id(index),
......@@ -188,6 +188,6 @@ export const _jobs = [...Array(12)].map((_, index) => {
workingSchedule: JOB_WORKING_SCHEDULE_OPTIONS.slice(0, 2),
questions,
resumeRequired: true,
motivationLetterRequired: false
motivationLetterRequired: true
};
});
Ce diff est replié.
0% ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter