|
2 | 2 |
|
3 | 3 | import { useState } from 'react'; |
4 | 4 | import { motion } from 'framer-motion'; |
5 | | -import { Check, X, Loader2, Plus, Trash2 } from 'lucide-react'; |
| 5 | +import { Check, Loader2, Plus } from 'lucide-react'; |
6 | 6 | import { toast } from 'sonner'; |
7 | 7 | import type { ParsedResume, Education, Experience } from '@/types/student'; |
8 | 8 |
|
@@ -194,7 +194,21 @@ export default function ResumePreviewForm({ |
194 | 194 | className="w-24 bg-transparent text-sm text-gray-900 outline-none dark:text-white" |
195 | 195 | /> |
196 | 196 | <button onClick={() => removeSkill(i)} className="text-red-400 hover:text-red-500"> |
197 | | - <X size={12} /> |
| 197 | + <svg |
| 198 | + xmlns="http://www.w3.org/2000/svg" |
| 199 | + width="12" |
| 200 | + height="12" |
| 201 | + viewBox="0 0 24 24" |
| 202 | + fill="none" |
| 203 | + stroke="currentColor" |
| 204 | + strokeWidth="2" |
| 205 | + strokeLinecap="round" |
| 206 | + strokeLinejoin="round" |
| 207 | + className="lucide lucide-x" |
| 208 | + > |
| 209 | + <path d="M18 6 6 18" /> |
| 210 | + <path d="m6 6 12 12" /> |
| 211 | + </svg> |
198 | 212 | </button> |
199 | 213 | </div> |
200 | 214 | ))} |
@@ -224,7 +238,24 @@ export default function ResumePreviewForm({ |
224 | 238 | onClick={() => removeEducation(i)} |
225 | 239 | className="text-red-400 hover:text-red-500" |
226 | 240 | > |
227 | | - <Trash2 size={14} /> |
| 241 | + <svg |
| 242 | + xmlns="http://www.w3.org/2000/svg" |
| 243 | + width="14" |
| 244 | + height="14" |
| 245 | + viewBox="0 0 24 24" |
| 246 | + fill="none" |
| 247 | + stroke="currentColor" |
| 248 | + strokeWidth="2" |
| 249 | + strokeLinecap="round" |
| 250 | + strokeLinejoin="round" |
| 251 | + className="lucide lucide-trash-2" |
| 252 | + > |
| 253 | + <path d="M3 6h18" /> |
| 254 | + <path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" /> |
| 255 | + <path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" /> |
| 256 | + <line x1="10" x2="10" y1="11" y2="17" /> |
| 257 | + <line x1="14" x2="14" y1="11" y2="17" /> |
| 258 | + </svg> |
228 | 259 | </button> |
229 | 260 | </div> |
230 | 261 | <div className="grid grid-cols-1 gap-3 sm:grid-cols-2"> |
@@ -294,7 +325,24 @@ export default function ResumePreviewForm({ |
294 | 325 | onClick={() => removeExperience(i)} |
295 | 326 | className="text-red-400 hover:text-red-500" |
296 | 327 | > |
297 | | - <Trash2 size={14} /> |
| 328 | + <svg |
| 329 | + xmlns="http://www.w3.org/2000/svg" |
| 330 | + width="14" |
| 331 | + height="14" |
| 332 | + viewBox="0 0 24 24" |
| 333 | + fill="none" |
| 334 | + stroke="currentColor" |
| 335 | + strokeWidth="2" |
| 336 | + strokeLinecap="round" |
| 337 | + strokeLinejoin="round" |
| 338 | + className="lucide lucide-trash-2" |
| 339 | + > |
| 340 | + <path d="M3 6h18" /> |
| 341 | + <path d="M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6" /> |
| 342 | + <path d="M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2" /> |
| 343 | + <line x1="10" x2="10" y1="11" y2="17" /> |
| 344 | + <line x1="14" x2="14" y1="11" y2="17" /> |
| 345 | + </svg> |
298 | 346 | </button> |
299 | 347 | </div> |
300 | 348 | <div className="grid grid-cols-1 gap-3 sm:grid-cols-2"> |
|
0 commit comments