[resumes][feat] update resume file size limit

pull/335/head
Keane Chan 2 years ago
parent e1ca8e8f78
commit 35d614e582
No known key found for this signature in database
GPG Key ID: 32718398E1E9F87C

@ -20,9 +20,9 @@ import { trpc } from '~/utils/trpc';
const TITLE_PLACEHOLDER = const TITLE_PLACEHOLDER =
'e.g. Applying for Company XYZ, please help me to review!'; 'e.g. Applying for Company XYZ, please help me to review!';
const ADDITIONAL_INFO_PLACEHOLDER = `e.g. Im applying for company XYZ. I have been resume-rejected by N companies that I have applied for. Please help me to review so company XYZ gives me an interview!`; const ADDITIONAL_INFO_PLACEHOLDER = `e.g. Im applying for company XYZ. I have been resume-rejected by N companies that I have applied for. Please help me to review so company XYZ gives me an interview!`;
const FILE_UPLOAD_ERROR = 'Please upload a PDF file that is less than 10MB.'; const FILE_UPLOAD_ERROR = 'Please upload a PDF file that is less than 3MB.';
const MAX_FILE_SIZE_LIMIT = 10000000; const MAX_FILE_SIZE_LIMIT = 3000000;
type IFormInput = { type IFormInput = {
additionalInfo?: string; additionalInfo?: string;
@ -186,7 +186,7 @@ export default function SubmitResumeForm() {
/> />
</label> </label>
</div> </div>
<p className="text-xs text-gray-500">PDF up to 10MB</p> <p className="text-xs text-gray-500">PDF up to 3MB</p>
</div> </div>
</div> </div>
{fileUploadError && ( {fileUploadError && (

Loading…
Cancel
Save