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
commit f013b314ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 47 additions and 54 deletions

View File

@ -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',
},
],
};

View File

@ -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

View File

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

View File

@ -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 }) => (
<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"
@ -11,12 +11,7 @@ const ListItem = ({ time, position, company, link }) => (
<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"
>
<a href={companyLink} target="_blank" rel="noreferrer">
{company}
</a>
</div>
@ -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 = {

View File

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