diff --git a/gitprofile.config.js b/gitprofile.config.js
index aa7b96e..5595292 100644
--- a/gitprofile.config.js
+++ b/gitprofile.config.js
@@ -48,6 +48,7 @@ const config = {
position: 'Backend Engineer II',
from: 'September 2021',
to: 'Present',
+ companyLink: 'https://monstar-lab.com/bd/',
},
{
company: 'My Offer 360 Degree',
diff --git a/src/components/experience/index.jsx b/src/components/experience/index.jsx
index 395e60e..cefd8a6 100644
--- a/src/components/experience/index.jsx
+++ b/src/components/experience/index.jsx
@@ -2,7 +2,7 @@ import { skeleton } from '../../helpers/utils';
import { Fragment } from 'react';
import PropTypes from 'prop-types';
-const ListItem = ({ time, position, company }) => (
+const ListItem = ({ time, position, company, link }) => (
(
>
{time}
{position}
- {company}
+
);
@@ -37,7 +42,6 @@ const Experience = ({ experiences, loading }) => {
return array;
};
-
return (
<>
{experiences?.length !== 0 && (
@@ -66,6 +70,7 @@ const Experience = ({ experiences, loading }) => {
time={`${experience.from} - ${experience.to}`}
position={experience.position}
company={experience.company}
+ link={experience.companyLink ? experience.companyLink: null}
/>
))}
@@ -83,6 +88,7 @@ ListItem.propTypes = {
time: PropTypes.node,
position: PropTypes.node,
company: PropTypes.node,
+ link: PropTypes.string,
};
Experience.propTypes = {
diff --git a/types/index.d.ts b/types/index.d.ts
index d03d6c8..de04515 100644
--- a/types/index.d.ts
+++ b/types/index.d.ts
@@ -207,6 +207,7 @@ export interface Experience {
position?: string;
from?: string;
to?: string;
+ companyLink?: string;
}
export interface Education {