({ experience })
| 13 | import { textVariant } from "../utils/motion"; |
| 14 | |
| 15 | const 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 | |
| 59 | const Experience = () => { |
| 60 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected