Merge pull request #206 from arifszn/config

Update config
This commit is contained in:
Ariful Alam
2022-10-19 12:48:08 +06:00
committed by GitHub
5 changed files with 47 additions and 54 deletions

View File

@@ -224,29 +224,30 @@ const config = {
skills: ['JavaScript', 'React.js'], skills: ['JavaScript', 'React.js'],
experiences: [ experiences: [
{ {
company: 'Company name 1', company: 'Company Name',
position: 'Software Engineer', position: 'Position',
from: 'July 2019', from: 'September 2021',
to: 'Present', to: 'Present',
companyLink: 'https://comapny.com', companyLink: 'https://example.com',
}, },
{ {
company: 'Company name 2', company: 'Company Name',
position: 'Jr. Software Engineer', position: 'Position',
from: 'January 2019', from: 'July 2019',
to: ' June 2019', to: 'August 2021',
companyLink: 'https://example.com',
}, },
], ],
education: [ education: [
{ {
institution: 'Institution name 1', institution: 'Institution Name',
degree: 'ABC', degree: 'Degree',
from: '2015', from: '2015',
to: '2019', to: '2019',
}, },
{ {
institution: 'Institution name 2', institution: 'Institution Name',
degree: 'XYZ', degree: 'Degree',
from: '2012', from: '2012',
to: '2014', to: '2014',
}, },
@@ -258,9 +259,9 @@ const config = {
limit: 5, // How many posts to display. Max is 10. limit: 5, // How many posts to display. Max is 10.
}, },
googleAnalytics: { googleAnalytics: {
// GA3 tracking id/GA4 tag id id: '', // GA3 tracking id/GA4 tag id UA-XXXXXXXXX-X | G-XXXXXXXXXX
id: '', // UA-XXXXXXXXX-X | G-XXXXXXXXXX
}, },
// Track visitor interaction and behavior. https://www.hotjar.com
hotjar: { hotjar: {
id: '', id: '',
snippetVersion: 6, snippetVersion: 6,
@@ -460,17 +461,18 @@ module.exports = {
// ... // ...
experiences: [ experiences: [
{ {
company: 'Company name 1', company: 'Company Name',
position: 'Software Engineer', position: 'Position',
from: 'July 2019', from: 'September 2021',
to: 'Present', to: 'Present',
companyLink: 'https://company1.com', companyLink: 'https://example.com',
}, },
{ {
company: 'Company name 2', company: 'Company Name',
position: 'Jr. Software Engineer', position: 'Position',
from: 'January 2019', from: 'July 2019',
to: ' June 2019', to: 'August 2021',
companyLink: 'https://example.com',
}, },
], ],
}; };

View File

@@ -34,48 +34,43 @@ const config = {
'Node.js', 'Node.js',
'Nest.js', 'Nest.js',
'MySQL', 'MySQL',
'PostgreSQL',
'Git', 'Git',
'Docker', 'Docker',
'PHPUnit', 'PHPUnit',
'CSS', 'CSS',
'Antd', 'Antd',
'Tailwind', 'Tailwind',
'Bootstrap',
], ],
experiences: [ experiences: [
{ {
company: 'Monstarlab Bangladesh', company: 'Company Name',
position: 'Backend Engineer II', position: 'Position',
from: 'September 2021', from: 'September 2021',
to: 'Present', to: 'Present',
companyLink: 'https://monstar-lab.com/bd/', companyLink: 'https://example.com',
}, },
{ {
company: 'My Offer 360 Degree', company: 'Company Name',
position: 'Web Application Developer', position: 'Position',
from: 'July 2019', from: 'July 2019',
to: 'August 2021', to: 'August 2021',
companyLink: 'https://example.com',
}, },
], ],
education: [ education: [
{ {
institution: 'American International University-Bangladesh', institution: 'Institution Name',
degree: 'Bachelor of Science', degree: 'Degree',
from: '2015', from: '2015',
to: '2019', to: '2019',
}, },
{ {
institution: 'Cantonment College, Jessore', institution: 'Institution Name',
degree: 'Higher Secondary Certificate (HSC)', degree: 'Degree',
from: '2012', from: '2012',
to: '2014', 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) // Display blog posts from your medium or dev account. (Optional)
blog: { blog: {
@@ -84,15 +79,15 @@ const config = {
limit: 3, // How many posts to display. Max is 10. limit: 3, // How many posts to display. Max is 10.
}, },
googleAnalytics: { googleAnalytics: {
// GA3 tracking id/GA4 tag id UA-XXXXXXXXX-X | G-XXXXXXXXXX id: '', // 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
}, },
// Track visitor interaction and behavior. https://www.hotjar.com
hotjar: { hotjar: {
id: '2617601', // Please remove this and use your own id or keep it empty id: '',
snippetVersion: 6, snippetVersion: 6,
}, },
themeConfig: { themeConfig: {
defaultTheme: 'corporate', defaultTheme: 'night',
// Hides the switch in the navbar // Hides the switch in the navbar
// Useful if you want to support a single color mode // Useful if you want to support a single color mode

View File

@@ -58,13 +58,13 @@ const AvatarCard = ({ profile, loading, avatarRing, resume }) => {
{resume?.fileUrl && {resume?.fileUrl &&
(loading ? ( (loading ? (
<div className="mt-6"> <div className="mt-6">
{skeleton({ width: 'w-40', height: 'h-10' })} {skeleton({ width: 'w-40', height: 'h-8' })}
</div> </div>
) : ( ) : (
<a <a
href={resume.fileUrl} href={resume.fileUrl}
target="_blank" target="_blank"
className="btn btn-outline btn-primary text-xs mt-6" className="btn btn-outline btn-sm text-xs mt-6"
download download
rel="noreferrer" rel="noreferrer"
> >

View File

@@ -2,7 +2,7 @@ import { skeleton } from '../../helpers/utils';
import { Fragment } from 'react'; import { Fragment } from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
const ListItem = ({ time, position, company, link }) => ( const ListItem = ({ time, position, company, companyLink }) => (
<li className="mb-5 ml-4"> <li className="mb-5 ml-4">
<div <div
className="absolute w-2 h-2 bg-base-300 rounded-full border border-base-300 mt-1.5" className="absolute w-2 h-2 bg-base-300 rounded-full border border-base-300 mt-1.5"
@@ -11,12 +11,7 @@ const ListItem = ({ time, position, company, link }) => (
<div className="my-0.5 text-xs">{time}</div> <div className="my-0.5 text-xs">{time}</div>
<h3 className="font-semibold">{position}</h3> <h3 className="font-semibold">{position}</h3>
<div className="mb-4 font-normal"> <div className="mb-4 font-normal">
<a <a href={companyLink} target="_blank" rel="noreferrer">
href={link}
target="_blank"
rel="noreferrer"
className="flex justify-start py-2 px-1 items-center"
>
{company} {company}
</a> </a>
</div> </div>
@@ -74,7 +69,7 @@ const Experience = ({ experiences, loading }) => {
time={`${experience.from} - ${experience.to}`} time={`${experience.from} - ${experience.to}`}
position={experience.position} position={experience.position}
company={experience.company} company={experience.company}
link={ companyLink={
experience.companyLink ? experience.companyLink : null experience.companyLink ? experience.companyLink : null
} }
/> />
@@ -94,7 +89,7 @@ ListItem.propTypes = {
time: PropTypes.node, time: PropTypes.node,
position: PropTypes.node, position: PropTypes.node,
company: PropTypes.node, company: PropTypes.node,
link: PropTypes.string, companyLink: PropTypes.string,
}; };
Experience.propTypes = { Experience.propTypes = {

View File

@@ -218,7 +218,8 @@ export const notFoundError = {
title: 'The Github Username is Incorrect.', title: 'The Github Username is Incorrect.',
subTitle: ( subTitle: (
<p> <p>
Please provide correct github username in <code>config</code>. Please provide correct github username in{' '}
<code>gitprofile.config.js</code>.
</p> </p>
), ),
}; };