mirror of
https://github.com/yangshun/tech-interview-handbook.git
synced 2025-07-29 13:13:54 +08:00
[resumes][feat] update resume file size limit
This commit is contained in:
@ -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. I’m 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. I’m 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 && (
|
||||||
|
Reference in New Issue
Block a user