From 110286622dd89604c3929ef013c629ddc4af14ea Mon Sep 17 00:00:00 2001 From: Ariful Alam Date: Wed, 19 Oct 2022 12:08:21 +0600 Subject: [PATCH 1/4] Update error message for 404 error --- src/helpers/utils.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/helpers/utils.jsx b/src/helpers/utils.jsx index 856e9b8..86e81e8 100644 --- a/src/helpers/utils.jsx +++ b/src/helpers/utils.jsx @@ -218,7 +218,8 @@ export const notFoundError = { title: 'The Github Username is Incorrect.', subTitle: (

- Please provide correct github username in config. + Please provide correct github username in{' '} + gitprofile.config.js.

), }; From 486faffb0b944314c5663a8d30ffda80e06e77b7 Mon Sep 17 00:00:00 2001 From: Ariful Alam Date: Wed, 19 Oct 2022 12:11:47 +0600 Subject: [PATCH 2/4] Remove style from company link --- src/components/experience/index.jsx | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/src/components/experience/index.jsx b/src/components/experience/index.jsx index afb6ef5..3387166 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, link }) => ( +const ListItem = ({ time, position, company, companyLink }) => (
  • (
    {time}

    {position}

    - + {company}
    @@ -74,7 +69,7 @@ const Experience = ({ experiences, loading }) => { time={`${experience.from} - ${experience.to}`} position={experience.position} company={experience.company} - link={ + companyLink={ experience.companyLink ? experience.companyLink : null } /> @@ -94,7 +89,7 @@ ListItem.propTypes = { time: PropTypes.node, position: PropTypes.node, company: PropTypes.node, - link: PropTypes.string, + companyLink: PropTypes.string, }; Experience.propTypes = { From 84a109a31f88edaada1e7c87f0cf3dc38d52f092 Mon Sep 17 00:00:00 2001 From: Ariful Alam Date: Wed, 19 Oct 2022 12:25:52 +0600 Subject: [PATCH 3/4] Change resume button style --- src/components/avatar-card/index.jsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/avatar-card/index.jsx b/src/components/avatar-card/index.jsx index 8bab6f4..ecc252f 100644 --- a/src/components/avatar-card/index.jsx +++ b/src/components/avatar-card/index.jsx @@ -58,13 +58,13 @@ const AvatarCard = ({ profile, loading, avatarRing, resume }) => { {resume?.fileUrl && (loading ? (
    - {skeleton({ width: 'w-40', height: 'h-10' })} + {skeleton({ width: 'w-40', height: 'h-8' })}
    ) : ( From fc10df86bfbb4452553eadaf2ce7d1c440e03781 Mon Sep 17 00:00:00 2001 From: Ariful Alam Date: Wed, 19 Oct 2022 12:41:34 +0600 Subject: [PATCH 4/4] Update config --- README.md | 46 +++++++++++++++++++++++--------------------- gitprofile.config.js | 35 +++++++++++++++------------------ 2 files changed, 39 insertions(+), 42 deletions(-) diff --git a/README.md b/README.md index 413f534..4922990 100644 --- a/README.md +++ b/README.md @@ -224,29 +224,30 @@ const config = { skills: ['JavaScript', 'React.js'], experiences: [ { - company: 'Company name 1', - position: 'Software Engineer', - from: 'July 2019', + company: 'Company Name', + position: 'Position', + from: 'September 2021', to: 'Present', - companyLink: 'https://comapny.com', + companyLink: 'https://example.com', }, { - company: 'Company name 2', - position: 'Jr. Software Engineer', - from: 'January 2019', - to: ' June 2019', + company: 'Company Name', + position: 'Position', + from: 'July 2019', + to: 'August 2021', + companyLink: 'https://example.com', }, ], education: [ { - institution: 'Institution name 1', - degree: 'ABC', + institution: 'Institution Name', + degree: 'Degree', from: '2015', to: '2019', }, { - institution: 'Institution name 2', - degree: 'XYZ', + institution: 'Institution Name', + degree: 'Degree', from: '2012', to: '2014', }, @@ -258,9 +259,9 @@ const config = { limit: 5, // How many posts to display. Max is 10. }, googleAnalytics: { - // GA3 tracking id/GA4 tag id - id: '', // UA-XXXXXXXXX-X | G-XXXXXXXXXX + id: '', // GA3 tracking id/GA4 tag id UA-XXXXXXXXX-X | G-XXXXXXXXXX }, + // Track visitor interaction and behavior. https://www.hotjar.com hotjar: { id: '', snippetVersion: 6, @@ -460,17 +461,18 @@ module.exports = { // ... experiences: [ { - company: 'Company name 1', - position: 'Software Engineer', - from: 'July 2019', + company: 'Company Name', + position: 'Position', + from: 'September 2021', to: 'Present', - companyLink: 'https://company1.com', + companyLink: 'https://example.com', }, { - company: 'Company name 2', - position: 'Jr. Software Engineer', - from: 'January 2019', - to: ' June 2019', + company: 'Company Name', + position: 'Position', + from: 'July 2019', + to: 'August 2021', + companyLink: 'https://example.com', }, ], }; diff --git a/gitprofile.config.js b/gitprofile.config.js index 5595292..2b0ce33 100644 --- a/gitprofile.config.js +++ b/gitprofile.config.js @@ -34,48 +34,43 @@ const config = { 'Node.js', 'Nest.js', 'MySQL', + 'PostgreSQL', 'Git', 'Docker', 'PHPUnit', 'CSS', 'Antd', 'Tailwind', - 'Bootstrap', ], experiences: [ { - company: 'Monstarlab Bangladesh', - position: 'Backend Engineer II', + company: 'Company Name', + position: 'Position', from: 'September 2021', to: 'Present', - companyLink: 'https://monstar-lab.com/bd/', + companyLink: 'https://example.com', }, { - company: 'My Offer 360 Degree', - position: 'Web Application Developer', + company: 'Company Name', + position: 'Position', from: 'July 2019', to: 'August 2021', + companyLink: 'https://example.com', }, ], education: [ { - institution: 'American International University-Bangladesh', - degree: 'Bachelor of Science', + institution: 'Institution Name', + degree: 'Degree', from: '2015', to: '2019', }, { - institution: 'Cantonment College, Jessore', - degree: 'Higher Secondary Certificate (HSC)', + institution: 'Institution Name', + degree: 'Degree', from: '2012', to: '2014', }, - { - institution: 'Chowgacha Shahadat Pilot High School', - degree: 'Secondary School Certificate (SSC)', - from: '2007', - to: '2012', - }, ], // Display blog posts from your medium or dev account. (Optional) blog: { @@ -84,15 +79,15 @@ const config = { limit: 3, // How many posts to display. Max is 10. }, googleAnalytics: { - // GA3 tracking id/GA4 tag id UA-XXXXXXXXX-X | G-XXXXXXXXXX - id: 'G-WLLB5E14M6', // Please remove this and use your own tag id or keep it empty + id: '', // GA3 tracking id/GA4 tag id UA-XXXXXXXXX-X | G-XXXXXXXXXX }, + // Track visitor interaction and behavior. https://www.hotjar.com hotjar: { - id: '2617601', // Please remove this and use your own id or keep it empty + id: '', snippetVersion: 6, }, themeConfig: { - defaultTheme: 'corporate', + defaultTheme: 'night', // Hides the switch in the navbar // Useful if you want to support a single color mode