Added support for md files
This commit is contained in:
@@ -112,14 +112,14 @@
|
||||
<form id="uploadForm" class="space-y-4">
|
||||
<!-- Drop Zone -->
|
||||
<div class="drop-zone rounded-lg p-8 text-center cursor-pointer">
|
||||
<input type="file" id="fileInput" class="hidden" multiple accept=".pdf,.txt,.doc,.docx">
|
||||
<input type="file" id="fileInput" class="hidden" multiple accept=".pdf,.md,.txt,.doc,.docx">
|
||||
<div class="flex flex-col items-center">
|
||||
<svg class="w-12 h-12 text-slate-400 mb-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2"
|
||||
d="M7 16a4 4 0 01-.88-7.903A5 5 0 1115.9 6L16 6a5 5 0 011 9.9M15 13l-3-3m0 0l-3 3m3-3v12" />
|
||||
</svg>
|
||||
<p class="text-slate-700 font-medium">Drop files here or click to upload</p>
|
||||
<p class="text-slate-500 text-sm mt-1">PDF, TXT, DOC, DOCX (Max 10MB)</p>
|
||||
<p class="text-slate-500 text-sm mt-1">PDF, MD, TXT, DOC, DOCX (Max 10MB)</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user