diff --git a/apps/portal/src/components/resumes/submit-form/ResumeSubmissionGuidelines.tsx b/apps/portal/src/components/resumes/submit-form/ResumeSubmissionGuidelines.tsx new file mode 100644 index 00000000..e399332e --- /dev/null +++ b/apps/portal/src/components/resumes/submit-form/ResumeSubmissionGuidelines.tsx @@ -0,0 +1,29 @@ +export default function ResumeSubmissionGuidelines() { + return ( +
+
+

Submission Guidelines

+

+ Before submitting your resume for review, please review and + acknowledge our{' '} + submission guidelines stated + below. +

+ +
+
+ ); +} diff --git a/apps/portal/src/components/resumes/submit-form/SubmissionGuidelines.tsx b/apps/portal/src/components/resumes/submit-form/SubmissionGuidelines.tsx deleted file mode 100644 index 96249537..00000000 --- a/apps/portal/src/components/resumes/submit-form/SubmissionGuidelines.tsx +++ /dev/null @@ -1,29 +0,0 @@ -export default function SubmissionGuidelines() { - return ( -
-

Submission Guidelines

-

- Before you submit, please review and acknowledge our - submission guidelines - stated below. -

-

- - Ensure that you do not divulge any of your{' '} - personal particulars. -

-

- - Ensure that you do not divulge any{' '} - - company's proprietary and confidential information - - . -

-

- - Proof-read your resumes to look for grammatical/spelling errors. -

-
- ); -} diff --git a/apps/portal/src/pages/resumes/submit.tsx b/apps/portal/src/pages/resumes/submit.tsx index 935e57c2..cb631866 100644 --- a/apps/portal/src/pages/resumes/submit.tsx +++ b/apps/portal/src/pages/resumes/submit.tsx @@ -20,7 +20,8 @@ import { } from '@tih/ui'; import { useGoogleAnalytics } from '~/components/global/GoogleAnalytics'; -import SubmissionGuidelines from '~/components/resumes/submit-form/SubmissionGuidelines'; +import ResumeSubmissionGuidelines from '~/components/resumes/submit-form/ResumeSubmissionGuidelines'; +import Container from '~/components/shared/Container'; import loginPageHref from '~/components/shared/loginPageHref'; import { RESUME_STORAGE_KEY } from '~/constants/file-storage-keys'; @@ -239,203 +240,206 @@ export default function SubmitResumeForm({ Upload a Resume - {status === 'loading' && ( -
- {' '} - {' '} -
- )} - {status === 'authenticated' && ( -
-
- {/* Reset Dialog component */} - - } - secondaryButton={ - -
-

- {isNewForm ? 'Upload a resume' : 'Update details'} -

- {/* Title Section */} - + {status === 'loading' && ( +
+ +
+ )} + {status === 'authenticated' && ( +
+
+ {/* Reset Dialog component */} + } - label="Title" - placeholder={TITLE_PLACEHOLDER} - required={true} - onChange={(val) => onValueChange('title', val)} - /> -
- onValueChange('role', val)} + /> + onValueChange('experience', val)} + onChange={(val) => onValueChange('location', val)} /> -
- - {resumeFile == null ? ( - - ) : ( -

- {resumeFile.name} -

- )} -