-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathexperience.tsx
35 lines (35 loc) · 1.11 KB
/
experience.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
export default function Experience({
head1,
head2,
head3,
head4,
bulletPoints,
}: ExperienceProps) {
return (
<section>
<div className="text-sm font-semibold hidden md:flex justify-between flex-wrap text-zinc-700 dark:text-zinc-300">
<div className="flex gap-x-4 flex-wrap">
<div className="font-bold text-black dark:text-white">{head1}</div>
<div>{head2}</div>
<div>{head3}</div>
</div>
<div>{head4}</div>
</div>
<div className="text-sm font-semibold md:hidden text-zinc-700 dark:text-zinc-300 mb-1">
<div className="flex gap-x-4 flex-wrap justify-between">
<div className="font-bold text-black dark:text-white">{head1}</div>
<div>{head2}</div>
</div>
<div className="flex gap-x-4 flex-wrap justify-between">
<div>{head3}</div>
<div>{head4}</div>
</div>
</div>
<ul className="text-sm list-disc ml-4 text-zinc-600 dark:text-zinc-400">
{bulletPoints.map((point, index) => (
<li key={index}>{point}</li>
))}
</ul>
</section>
);
}