Skip to content

Commit e205f2f

Browse files
authored
Merge branch 'main' into fix/og-bypass-cache
2 parents 731d178 + 6724b3a commit e205f2f

4 files changed

Lines changed: 105 additions & 59 deletions

File tree

components/dashboard/ResumePreviewForm.tsx

Lines changed: 52 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import { useState } from 'react';
44
import { motion } from 'framer-motion';
5-
import { Check, X, Loader2, Plus, Trash2 } from 'lucide-react';
5+
import { Check, Loader2, Plus } from 'lucide-react';
66
import { toast } from 'sonner';
77
import type { ParsedResume, Education, Experience } from '@/types/student';
88

@@ -194,7 +194,21 @@ export default function ResumePreviewForm({
194194
className="w-24 bg-transparent text-sm text-gray-900 outline-none dark:text-white"
195195
/>
196196
<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>
198212
</button>
199213
</div>
200214
))}
@@ -224,7 +238,24 @@ export default function ResumePreviewForm({
224238
onClick={() => removeEducation(i)}
225239
className="text-red-400 hover:text-red-500"
226240
>
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>
228259
</button>
229260
</div>
230261
<div className="grid grid-cols-1 gap-3 sm:grid-cols-2">
@@ -294,7 +325,24 @@ export default function ResumePreviewForm({
294325
onClick={() => removeExperience(i)}
295326
className="text-red-400 hover:text-red-500"
296327
>
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>
298346
</button>
299347
</div>
300348
<div className="grid grid-cols-1 gap-3 sm:grid-cols-2">

0 commit comments

Comments
 (0)