prettier issue solved
This commit is contained in:
parent
6b638f03ea
commit
39a97afb22
@ -2,7 +2,7 @@ import { skeleton } from '../../helpers/utils';
|
||||
import { Fragment } from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
const ListItem = ({ time, position, company, link }) => (
|
||||
const ListItem = ({ time, position, company, link }) => (
|
||||
<li className="mb-5 ml-4">
|
||||
<div
|
||||
className="absolute w-2 h-2 bg-base-300 rounded-full border border-base-300 mt-1.5"
|
||||
@ -10,12 +10,16 @@ const ListItem = ({ time, position, company, link }) => (
|
||||
></div>
|
||||
<div className="my-0.5 text-xs">{time}</div>
|
||||
<h3 className="font-semibold">{position}</h3>
|
||||
<div className="mb-4 font-normal"><a
|
||||
href={link}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="flex justify-start py-2 px-1 items-center"
|
||||
>{company}</a></div>
|
||||
<div className="mb-4 font-normal">
|
||||
<a
|
||||
href={link}
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
className="flex justify-start py-2 px-1 items-center"
|
||||
>
|
||||
{company}
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
);
|
||||
|
||||
@ -70,7 +74,9 @@ const Experience = ({ experiences, loading }) => {
|
||||
time={`${experience.from} - ${experience.to}`}
|
||||
position={experience.position}
|
||||
company={experience.company}
|
||||
link={experience.companyLink ? experience.companyLink: null}
|
||||
link={
|
||||
experience.companyLink ? experience.companyLink : null
|
||||
}
|
||||
/>
|
||||
))}
|
||||
</Fragment>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user