Add more file formats

This commit is contained in:
Joey Yakimowich-Payne 2026-01-19 15:00:25 -07:00
commit b80254418b
No known key found for this signature in database
GPG key ID: DDF6AF5B21B407D4
5 changed files with 297 additions and 6 deletions

View file

@ -433,7 +433,7 @@ export const Landing: React.FC<LandingProps> = ({ onGenerate, onCreateManual, on
multiple
className="hidden"
onChange={handleFileSelect}
accept=".pdf,.txt,.md,.docx,.pptx,.xlsx,.odt,.odp,.ods,.rtf,.jpg,.jpeg,.png,.gif,.webp"
accept=".pdf,.txt,.md,.csv,.html,.htm,.xml,.json,.js,.ts,.jsx,.tsx,.py,.java,.c,.cpp,.h,.hpp,.css,.yaml,.yml,.docx,.pptx,.xlsx,.odt,.odp,.ods,.rtf,.jpg,.jpeg,.png,.gif,.webp"
/>
<div className="space-y-2">
@ -441,7 +441,7 @@ export const Landing: React.FC<LandingProps> = ({ onGenerate, onCreateManual, on
<p className="text-sm font-bold text-gray-600">
{isDragging ? 'Drop files here' : 'Drop files or click to browse'}
</p>
<p className="text-xs text-gray-400">PDF, DOCX, PPTX, XLSX, TXT, Images</p>
<p className="text-xs text-gray-400">PDF, Office, Text, Code, CSV, HTML, JSON, Images</p>
</div>
</div>