Skip to content

Commit

Permalink
time line update
Browse files Browse the repository at this point in the history
  • Loading branch information
fifaeiou authored Apr 15, 2024
1 parent 6d9723c commit 37bc75c
Showing 1 changed file with 10 additions and 28 deletions.
38 changes: 10 additions & 28 deletions components/micro/Timeline.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,34 +5,16 @@ export default function Timeline() {
return (
<div className="space-y-8 dark:text-white">
{experience.map((item) => (
<div>
<h3 className="mb-3 text-lg font-bold md:text-xl">{item.year}</h3>
<ul className="space-y-4">
<li className="space-y-1">
<div className="flex items-center space-x-2">
<svg
xmlns="http://www.w3.org/2000/svg"
viewBox="0 0 512 512"
className="w-4 h-4 fill-current dark:text-green-600 text-violet-400"
>
<path d="M426.072,86.928A238.75,238.75,0,0,0,88.428,424.572,238.75,238.75,0,0,0,426.072,86.928ZM257.25,462.5c-114,0-206.75-92.748-206.75-206.75S143.248,49,257.25,49,464,141.748,464,255.75,371.252,462.5,257.25,462.5Z"></path>
<polygon points="221.27 305.808 147.857 232.396 125.23 255.023 221.27 351.063 388.77 183.564 366.142 160.937 221.27 305.808"></polygon>
</svg>
<h4 className="font-medium">
{item.title}
{' '}
<span className="text-indigo-600 dark:text-indigo-400">
{' @ '}
<a target="__blank" href={item.companyLink}>
{item.company}
</a>
</span>
</h4>
</div>
<p className="ml-7 dark:text-coolGray-400">{item.desc}</p>
</li>
</ul>
</div>
<div className="relative experience-card border p-4 rounded-md shadow-xl bg-white dark:bg-gray-800 z-10 mx-4">
<h1 className="absolute -top-10 md:-left-10 md:-top-10 text-4xl text-gray-200 font-bold dark:text-gray-800">
{year}
</h1>
<h1 className="font-semibold text-xl">{title}</h1>
<a href={companyLink} className="text-gray-500">
{company}
</a>
<p className="text-gray-600 dark:text-gray-400 my-2">{desc}</p>
</div>
))}
</div>
);
Expand Down

0 comments on commit 37bc75c

Please sign in to comment.