Upload folder using huggingface_hub
Browse files
client/src/components/Refinity.tsx
CHANGED
|
@@ -189,15 +189,21 @@ const Refinity: React.FC = () => {
|
|
| 189 |
{/* Stage 1: Task Creation / Selection */}
|
| 190 |
{stage === 'task' && (
|
| 191 |
<div>
|
| 192 |
-
<div className="mb-
|
| 193 |
-
<p className="text-gray-700">A peer-based revision platform.</p>
|
| 194 |
-
</div>
|
| 195 |
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 items-end">
|
| 196 |
<div className="md:col-span-1">
|
| 197 |
<label className="block text-sm text-gray-700 mb-1">Task</label>
|
| 198 |
-
<
|
| 199 |
-
|
| 200 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 201 |
</div>
|
| 202 |
<div className="md:col-span-2">
|
| 203 |
<label className="block text-sm text-gray-700 mb-1">Upload .doc or .docx translation</label>
|
|
|
|
| 189 |
{/* Stage 1: Task Creation / Selection */}
|
| 190 |
{stage === 'task' && (
|
| 191 |
<div>
|
| 192 |
+
<div className="mb-2" />
|
|
|
|
|
|
|
| 193 |
<div className="grid grid-cols-1 md:grid-cols-3 gap-6 items-end">
|
| 194 |
<div className="md:col-span-1">
|
| 195 |
<label className="block text-sm text-gray-700 mb-1">Task</label>
|
| 196 |
+
<div className="relative">
|
| 197 |
+
<div className="absolute inset-0 rounded-2xl bg-gradient-to-r from-indigo-200/45 via-indigo-100/40 to-indigo-300/45" />
|
| 198 |
+
<div className="relative rounded-2xl bg-white/10 backdrop-blur-md ring-1 ring-inset ring-white/30 shadow-[inset_0_0.5px_0_rgba(255,255,255,0.5),inset_0_-1px_1.5px_rgba(0,0,0,0.12)]">
|
| 199 |
+
<div className="pointer-events-none absolute inset-0 rounded-2xl opacity-50 [background:linear-gradient(to_bottom,rgba(255,255,255,0.3),rgba(255,255,255,0)_28%),linear-gradient(to_right,rgba(255,255,255,0.28),rgba(255,255,255,0)_28%)]" />
|
| 200 |
+
<div className="pointer-events-none absolute inset-0 rounded-2xl bg-gradient-to-tr from-white/30 via-white/10 to-transparent opacity-45" />
|
| 201 |
+
<select value={selectedTaskId} onChange={(e)=>setSelectedTaskId(e.target.value)} className="relative z-10 w-full px-4 py-2 pr-10 bg-transparent text-gray-900 rounded-2xl appearance-none focus:outline-none">
|
| 202 |
+
{tasks.map(t => <option key={t.id} value={t.id}>{t.title}</option>)}
|
| 203 |
+
</select>
|
| 204 |
+
<div className="pointer-events-none absolute right-3 top-1/2 -translate-y-1/2 text-gray-700">▾</div>
|
| 205 |
+
</div>
|
| 206 |
+
</div>
|
| 207 |
</div>
|
| 208 |
<div className="md:col-span-2">
|
| 209 |
<label className="block text-sm text-gray-700 mb-1">Upload .doc or .docx translation</label>
|
client/src/pages/Toolkit.tsx
CHANGED
|
@@ -621,7 +621,7 @@ const Toolkit: React.FC = () => {
|
|
| 621 |
</div>
|
| 622 |
<div>
|
| 623 |
<h3 className="text-indigo-900 font-semibold text-xl">Refinity</h3>
|
| 624 |
-
<p className="text-gray-600 text-sm">
|
| 625 |
</div>
|
| 626 |
</div>
|
| 627 |
<div className="border rounded-lg overflow-hidden">
|
|
|
|
| 621 |
</div>
|
| 622 |
<div>
|
| 623 |
<h3 className="text-indigo-900 font-semibold text-xl">Refinity</h3>
|
| 624 |
+
<p className="text-gray-600 text-sm">A peer-based revision platform.</p>
|
| 625 |
</div>
|
| 626 |
</div>
|
| 627 |
<div className="border rounded-lg overflow-hidden">
|