From e0a18f42eac1740402c538505ec7eac4eedfcb36 Mon Sep 17 00:00:00 2001 From: DeathKaioken Date: Wed, 22 Oct 2025 19:33:58 +0200 Subject: [PATCH] beautify: company upload id --- .../register-upload-id/company/page.tsx | 51 +++++++++++-------- 1 file changed, 31 insertions(+), 20 deletions(-) diff --git a/src/app/quickaction-dashboard/register-upload-id/company/page.tsx b/src/app/quickaction-dashboard/register-upload-id/company/page.tsx index d710c6b..837ece2 100644 --- a/src/app/quickaction-dashboard/register-upload-id/company/page.tsx +++ b/src/app/quickaction-dashboard/register-upload-id/company/page.tsx @@ -7,7 +7,7 @@ import useAuthStore from '../../../store/authStore' // NEW import { useEffect, useState } from 'react' // NEW import { useRouter } from 'next/navigation' // NEW -const DOC_TYPES = ['Handelsregisterauszug', 'Gewerbeanmeldung', 'Steuerbescheid', 'Sonstiges'] +const DOC_TYPES = ['Personalausweis', 'Reisepass', 'Führerschein', 'Aufenthaltstitel'] export default function CompanyIdUploadPage() { const { @@ -79,25 +79,28 @@ export default function CompanyIdUploadPage() {

- Company Document Verification + Company Contact Person Identity Verification

- Upload a valid company registration or compliance document + Please upload clear photos of both sides of the company contact person's ID document.

{/* Fields: 3 in one row on md+ with unified inputs */}
setDocNumber(e.target.value)} className={`${inputBase} ${docNumber ? 'text-gray-900' : 'text-gray-700'}`} - placeholder="Enter reference number" + placeholder="Enter contact person's ID number" required /> +

+ Enter the ID number exactly as shown on the document +

@@ -110,29 +113,33 @@ export default function CompanyIdUploadPage() { className={`${inputBase} ${docType ? 'text-gray-900' : 'text-gray-700'}`} required > - + {DOC_TYPES.map(t => )}
setIssueDate(e.target.value)} + placeholder="tt.mm.jjjj" className={`${inputBase} ${issueDate ? 'text-gray-900' : 'text-gray-700'} appearance-none [&::-webkit-calendar-picker-indicator]:opacity-80`} required /> +

+ Enter the expiry date shown on your document +

{/* Back side toggle */}
- Does document have a Backside? + Does ID have a Backside?