import React from 'react'; import { Upload, Info } from 'lucide-react'; export default function UploadStep({ strFiles, setStrFiles, archFiles, setArchFiles, loading, handleUpload, isArabic }) { return (

{isArabic ? '1. رفع مخططات الفيلا الهندسية' : '1. Upload Villa Drawing Blueprints'}

{isArabic ? 'ما المطلوب في هذه الخطوة؟' : 'What to do in this step?'}

{isArabic ? 'يرجى رفع ملفات المخططات الإنشائية والمعمارية بصيغة PDF ليقوم الذكاء الاصطناعي بقراءتها. (المخطط الإنشائي يجب أن يحتوي على جداول القواعد والأعمدة والميد، والمعماري يجب أن يحتوي على المساقط).' : 'Please upload the structural and architectural blueprints (PDF format). The structural drawing must contain the schedules (footings, columns, etc.), and the architectural drawing must contain the floor plans.'}

{/* Structural Drawing */}

{isArabic ? 'المخطط الإنشائي (Structural)' : 'Structural Drawings (PDF)'}

setStrFiles(Array.from(e.target.files))} /> {strFiles && strFiles.length > 0 && (
{strFiles.map((f, i) => (

✓ {f.name}

))}
)}
{/* Architectural Drawing */}

{isArabic ? 'المخطط المعماري (Architectural)' : 'Architectural Drawings (PDF)'}

setArchFiles(Array.from(e.target.files))} /> {archFiles && archFiles.length > 0 && (
{archFiles.map((f, i) => (

✓ {f.name}

))}
)}
); }