MCPcopy
hub / github.com/adrianhajdin/project_3D_developer_portfolio / ExperienceCard

Function ExperienceCard

src/components/Experience.jsx:15–57  ·  view source on GitHub ↗
({ experience })

Source from the content-addressed store, hash-verified

13import { textVariant } from "../utils/motion";
14
15const ExperienceCard = ({ experience }) => {
16 return (
17 <VerticalTimelineElement
18 contentStyle={{
19 background: "#1d1836",
20 color: "#fff",
21 }}
22 contentArrowStyle={{ borderRight: "7px solid #232631" }}
23 date={experience.date}
24 iconStyle={{ background: experience.iconBg }}
25 icon={
26 <div className='flex justify-center items-center w-full h-full'>
27 <img
28 src={experience.icon}
29 alt={experience.company_name}
30 className='w-[60%] h-[60%] object-contain'
31 />
32 </div>
33 }
34 >
35 <div>
36 <h3 className='text-white text-[24px] font-bold'>{experience.title}</h3>
37 <p
38 className='text-secondary text-[16px] font-semibold'
39 style={{ margin: 0 }}
40 >
41 {experience.company_name}
42 </p>
43 </div>
44
45 <ul className='mt-5 list-disc ml-5 space-y-2'>
46 {experience.points.map((point, index) => (
47 <li
48 key={`experience-point-${index}`}
49 className='text-white-100 text-[14px] pl-1 tracking-wider'
50 >
51 {point}
52 </li>
53 ))}
54 </ul>
55 </VerticalTimelineElement>
56 );
57};
58
59const Experience = () => {
60 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected