144 Commits

Author SHA1 Message Date
Ariful Alam
194503f386 Bump version to 2.1.0 🚀 2022-11-01 13:05:02 +06:00
Ariful Alam
57933cceb8 Merge pull request #235 from arifszn/dependencies
Update dependencies
2022-11-01 13:02:02 +06:00
Ariful Alam
1baf8bd460 Update dependencies 2022-11-01 13:00:49 +06:00
Ariful Alam
4edb171236 Merge pull request #232 from arifszn/dependabot/npm_and_yarn/vite-3.2.1
Bump vite from 3.1.8 to 3.2.1
2022-11-01 12:01:52 +06:00
dependabot[bot]
9d8a5ab51b Bump vite from 3.1.8 to 3.2.1
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.1.8 to 3.2.1.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v3.2.1/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-31 08:25:25 +00:00
Ariful Alam
cdb3542844 Merge pull request #227 from knittl/226-social-stackexchange
Allow users to link their Stack Overflow profile #226
2022-10-31 11:52:03 +06:00
Ariful Alam
a8abc23735 Merge pull request #228 from knittl/198-eslint-endofline-auto
Allow CRLF when linting #198
2022-10-29 14:16:54 +06:00
Daniel Knittl-Frank
fe6974d58e Allow CRLF when linting #198 2022-10-27 18:47:30 +02:00
Daniel Knittl-Frank
939ecb6112 Document Stack Overflow social link #226 2022-10-27 14:14:24 +02:00
Daniel Knittl-Frank
8498ad8ada Allow linking Stack Overflow account/profile #226 2022-10-27 12:37:56 +02:00
Ariful Alam
b52c9b80a4 Update contributing guide 2022-10-27 16:00:17 +06:00
Ariful Alam
5ca5cff5d2 Merge pull request #224 from knittl/221-github-workflows-cache-v3
Upgrade GitHub action/cache to v3 #221
2022-10-26 14:56:07 +06:00
Daniel Knittl-Frank
c06a0929be Upgrade GitHub action/cache to v3 #221 2022-10-26 10:27:07 +02:00
Ariful Alam
18afaccd24 Merge pull request #223 from arifszn/meta-tags-empty-name
Handle empty name in meta tags
2022-10-25 18:08:31 +06:00
Ariful Alam
89e5c29d80 Handle empty name in meta tags 2022-10-25 18:07:06 +06:00
Ariful Alam
20cc39d7ce Merge pull request #220 from Revortni/hide-if-no-public-repo
Hide project section if no public github repo available for user
2022-10-25 17:37:30 +06:00
Your Name~
e4f06638f9 Hide project section if no public github repo available for user 2022-10-25 16:50:46 +05:45
Ariful Alam
7349310873 Decrease opacity of resume download button 2022-10-24 18:57:25 +06:00
Ariful Alam
dc3724eb2c Merge pull request #217 from arifszn/216-bg-color
Tweak background color
2022-10-24 15:34:25 +06:00
Ariful Alam
b69f052c54 Set default theme to business 2022-10-24 15:30:56 +06:00
Ariful Alam
c9b2c46495 Change bg color of projects and blog section 2022-10-24 15:18:47 +06:00
Ariful Alam
ab035d13e5 Change background color of the body 2022-10-24 15:02:47 +06:00
Ariful Alam
17ff018f87 Merge pull request #214 from arifszn/dependabot/npm_and_yarn/eslint-8.26.0
Bump eslint from 8.25.0 to 8.26.0
2022-10-24 14:41:25 +06:00
Ariful Alam
17abae3915 Merge pull request #213 from arifszn/dependabot/npm_and_yarn/daisyui-2.33.0
Bump daisyui from 2.31.0 to 2.33.0
2022-10-24 14:41:19 +06:00
Ariful Alam
b3ab995397 Merge pull request #215 from arifszn/dependabot/npm_and_yarn/tailwindcss-3.2.1
Bump tailwindcss from 3.2.0 to 3.2.1
2022-10-24 14:41:13 +06:00
dependabot[bot]
5d3eacb694 Bump tailwindcss from 3.2.0 to 3.2.1
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.2.0...v3.2.1)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 08:32:56 +00:00
dependabot[bot]
6f1c0db559 Bump eslint from 8.25.0 to 8.26.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.25.0 to 8.26.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.25.0...v8.26.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 08:32:45 +00:00
dependabot[bot]
1c320a4e82 Bump daisyui from 2.31.0 to 2.33.0
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 2.31.0 to 2.33.0.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-24 08:32:26 +00:00
Ariful Alam
de44eb7a48 Merge pull request #210 from arifszn/dependabot/npm_and_yarn/tailwindcss-3.2.0
Bump tailwindcss from 3.1.8 to 3.2.0
2022-10-23 12:17:35 +06:00
Ariful Alam
af9b0ea531 Merge pull request #212 from arifszn/201-upgrade-actions-configure-pages
Upgrade `actions/configure-pages` to v2
2022-10-23 12:11:08 +06:00
Ariful Alam
c64cd57a95 Upgrade actions/configure-pages to v2 2022-10-23 12:07:58 +06:00
Ariful Alam
76de845b46 Merge pull request #209 from arifszn/dependabot/npm_and_yarn/react-hotjar-5.2.0
Bump react-hotjar from 5.1.0 to 5.2.0
2022-10-20 21:48:34 +06:00
dependabot[bot]
c03487cb5b Bump tailwindcss from 3.1.8 to 3.2.0
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.1.8 to 3.2.0.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.8...v3.2.0)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-20 15:47:35 +00:00
dependabot[bot]
f30a588abc Bump react-hotjar from 5.1.0 to 5.2.0
Bumps [react-hotjar](https://github.com/abdalla/react-hotjar) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/abdalla/react-hotjar/releases)
- [Commits](https://github.com/abdalla/react-hotjar/compare/v5.1.0...v5.2.0)

---
updated-dependencies:
- dependency-name: react-hotjar
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-20 15:47:25 +00:00
Ariful Alam
569e73859d Update README.md 2022-10-19 13:54:04 +06:00
Ariful Alam
caf2d55af8 Merge pull request #191 from arifszn/dependabot/npm_and_yarn/eslint-8.25.0
Bump eslint from 8.24.0 to 8.25.0
2022-10-19 13:00:10 +06:00
Ariful Alam
36d8c0ac01 Merge pull request #204 from arifszn/dependabot/npm_and_yarn/eslint-plugin-react-7.31.10
Bump eslint-plugin-react from 7.31.8 to 7.31.10
2022-10-19 13:00:00 +06:00
dependabot[bot]
b23e4956e6 Bump eslint from 8.24.0 to 8.25.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.24.0 to 8.25.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.24.0...v8.25.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 06:58:44 +00:00
Ariful Alam
6e0dac1050 Merge pull request #208 from arifszn/dependabot/npm_and_yarn/react-icons-4.6.0
Bump react-icons from 4.4.0 to 4.6.0
2022-10-19 12:58:19 +06:00
Ariful Alam
98678e7a1c Merge pull request #205 from arifszn/dependabot/npm_and_yarn/postcss-8.4.18
Bump postcss from 8.4.16 to 8.4.18
2022-10-19 12:57:52 +06:00
dependabot[bot]
ffa7f99109 Bump postcss from 8.4.16 to 8.4.18
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.16 to 8.4.18.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.16...8.4.18)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 06:57:46 +00:00
Ariful Alam
c81123c804 Merge pull request #202 from arifszn/dependabot/npm_and_yarn/axios-1.1.3
Bump axios from 0.27.2 to 1.1.3
2022-10-19 12:57:20 +06:00
dependabot[bot]
b13209b956 Bump react-icons from 4.4.0 to 4.6.0
Bumps [react-icons](https://github.com/react-icons/react-icons) from 4.4.0 to 4.6.0.
- [Release notes](https://github.com/react-icons/react-icons/releases)
- [Commits](https://github.com/react-icons/react-icons/compare/v4.4.0...v4.6.0)

---
updated-dependencies:
- dependency-name: react-icons
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 06:57:08 +00:00
Ariful Alam
afa89fca4f Merge pull request #203 from arifszn/dependabot/npm_and_yarn/vite-3.1.8
Bump vite from 3.1.2 to 3.1.8
2022-10-19 12:56:38 +06:00
Ariful Alam
f013b314ff Merge pull request #206 from arifszn/config
Update config
2022-10-19 12:48:08 +06:00
Ariful Alam
fc10df86bf Update config 2022-10-19 12:41:34 +06:00
Ariful Alam
84a109a31f Change resume button style 2022-10-19 12:25:52 +06:00
Ariful Alam
486faffb0b Remove style from company link 2022-10-19 12:11:47 +06:00
Ariful Alam
110286622d Update error message for 404 error 2022-10-19 12:08:21 +06:00
Ariful Alam
5fceae602d Merge pull request #196 from jsvigneshkanna/main
Add company link in experience section
2022-10-19 12:04:05 +06:00
dependabot[bot]
e42f4a7b08 Bump eslint-plugin-react from 7.31.8 to 7.31.10
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.31.8 to 7.31.10.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.31.8...v7.31.10)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 08:51:44 +00:00
dependabot[bot]
6927c5d425 Bump vite from 3.1.2 to 3.1.8
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.1.2 to 3.1.8.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v3.1.8/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v3.1.8/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 08:51:29 +00:00
dependabot[bot]
c9fce00077 Bump axios from 0.27.2 to 1.1.3
Bumps [axios](https://github.com/axios/axios) from 0.27.2 to 1.1.3.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.27.2...v1.1.3)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-10-17 08:51:17 +00:00
vigneshkanna
4430d982f4 readme prettier 2022-10-14 19:21:24 +05:30
vigneshkanna
39a97afb22 prettier issue solved 2022-10-14 18:06:57 +05:30
vigneshkanna
6b638f03ea readme updated 2022-10-11 18:26:44 +05:30
vigneshkanna
3e0af6dad2 experience company link added 2022-10-11 18:22:22 +05:30
Ariful Alam
83a254e687 Merge pull request #189 from whyang0808/Add-loading-indicator-to-download-resume-btn
Add loading indicator for Download Resume button
2022-10-11 17:25:25 +06:00
Yang Wei Hao
b42202d923 Update css based on suggestion
Co-authored-by: Ariful Alam <swazan.arif@gmail.com>
2022-10-11 18:31:26 +08:00
Yang Wei Hao
e6f678eacd Add loading indicator for Download Resume button 2022-10-09 18:12:30 +08:00
Ariful Alam
b6bccf904e Merge pull request #184 from arifszn/resume
Type definition for Resume feature
2022-10-03 16:07:12 +06:00
Ariful Alam
a7d7195487 Add type definition for Resume feature 2022-10-03 16:05:07 +06:00
Ariful Alam
a60fac9a95 Update README 2022-10-03 15:58:50 +06:00
Ariful Alam
a603e4236d Rename variable of resume file URL 2022-10-03 15:54:52 +06:00
Ariful Alam
1dec29a718 Merge pull request #179 from joanjeremiah/downloadResume
Add conditional download resume feature
2022-10-03 15:28:13 +06:00
Joan Jeremiah J
3f1b0ba513 prettier fix 2022-10-03 14:55:58 +05:30
Joan Jeremiah J
0a0cd6bae1 eslint fix 2022-10-03 14:29:01 +05:30
Joan Jeremiah J
9605a47a2a readme.md updated, suggested change 2022-10-02 22:09:10 +05:30
Joan Jeremiah J
29a75d06cd added conditional download resume feature 2022-10-02 17:29:59 +05:30
Ariful Alam
e20a1d7321 Merge pull request #178 from arifszn/dependabot/npm_and_yarn/eslint-8.24.0
Bump eslint from 8.23.1 to 8.24.0
2022-09-26 14:39:45 +06:00
dependabot[bot]
38bc0d0025 Bump eslint from 8.23.1 to 8.24.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.23.1 to 8.24.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.23.1...v8.24.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-26 08:24:09 +00:00
Ariful Alam
0d44af1148 Merge pull request #176 from arifszn/dependabot/npm_and_yarn/autoprefixer-10.4.12
Bump autoprefixer from 10.4.11 to 10.4.12
2022-09-23 10:49:37 +06:00
Ariful Alam
75e148e897 Merge pull request #175 from arifszn/dependabot/npm_and_yarn/daisyui-2.31.0
Bump daisyui from 2.28.0 to 2.31.0
2022-09-23 10:49:18 +06:00
dependabot[bot]
62062ae956 Bump autoprefixer from 10.4.11 to 10.4.12
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.11 to 10.4.12.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.11...10.4.12)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 04:48:41 +00:00
dependabot[bot]
97cdde0abd Bump daisyui from 2.28.0 to 2.31.0
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 2.28.0 to 2.31.0.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v2.28.0...v2.31.0)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-23 04:48:25 +00:00
Ariful Alam
f1b3fbda47 Merge pull request #168 from arifszn/dependabot/npm_and_yarn/eslint-8.23.1
Bump eslint from 8.23.0 to 8.23.1
2022-09-23 10:46:39 +06:00
Ariful Alam
9c0bcdd973 Merge pull request #170 from arifszn/dependabot/npm_and_yarn/autoprefixer-10.4.11
Bump autoprefixer from 10.4.8 to 10.4.11
2022-09-23 10:46:31 +06:00
Ariful Alam
2cac4c5994 Merge pull request #172 from arifszn/dependabot/npm_and_yarn/vite-3.1.2
Bump vite from 3.1.0 to 3.1.2
2022-09-23 10:46:20 +06:00
Ariful Alam
27beccb1ee Merge pull request #173 from arifszn/dependabot/npm_and_yarn/daisyui-2.28.0
Bump daisyui from 2.25.0 to 2.28.0
2022-09-23 10:46:10 +06:00
Ariful Alam
05a807387f Update README.md 2022-09-23 10:46:00 +06:00
Ariful Alam
cccd7afce4 Merge pull request #171 from arifszn/dependabot/npm_and_yarn/date-fns-2.29.3
Bump date-fns from 2.29.2 to 2.29.3
2022-09-20 18:49:34 +06:00
dependabot[bot]
020129b523 Bump daisyui from 2.25.0 to 2.28.0
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 2.25.0 to 2.28.0.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v2.25.0...v2.28.0)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 08:40:27 +00:00
dependabot[bot]
e0c242b523 Bump vite from 3.1.0 to 3.1.2
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.1.0 to 3.1.2.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v3.1.2/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 08:40:13 +00:00
dependabot[bot]
05416767f8 Bump date-fns from 2.29.2 to 2.29.3
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.29.2 to 2.29.3.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/v2.29.3/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.29.2...v2.29.3)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 08:39:53 +00:00
dependabot[bot]
12b6091d34 Bump autoprefixer from 10.4.8 to 10.4.11
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.8 to 10.4.11.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.8...10.4.11)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-19 08:39:38 +00:00
dependabot[bot]
c2167f870a Bump eslint from 8.23.0 to 8.23.1
Bumps [eslint](https://github.com/eslint/eslint) from 8.23.0 to 8.23.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.23.0...v8.23.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-12 06:25:42 +00:00
Ariful Alam
fb7ffe269e Merge pull request #165 from arifszn/dependabot/npm_and_yarn/eslint-plugin-react-7.31.8
Bump eslint-plugin-react from 7.31.7 to 7.31.8
2022-09-09 13:15:35 +06:00
dependabot[bot]
de448dcc3f Bump eslint-plugin-react from 7.31.7 to 7.31.8
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.31.7 to 7.31.8.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.31.7...v7.31.8)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-09 07:06:06 +00:00
Ariful Alam
b803ef88d0 Update README.md 2022-09-09 13:03:32 +06:00
Ariful Alam
d8450294ff Merge pull request #155 from arifszn/dependabot/npm_and_yarn/vitejs/plugin-react-2.1.0
Bump @vitejs/plugin-react from 2.0.0 to 2.1.0
2022-09-09 01:48:01 +06:00
Ariful Alam
d7c1b574a3 Update README.md 2022-09-09 01:47:39 +06:00
Ariful Alam
88bed3b701 Merge pull request #148 from arifszn/dependabot/npm_and_yarn/eslint-8.23.0
Bump eslint from 8.21.0 to 8.23.0
2022-09-09 01:01:08 +06:00
Ariful Alam
d2d8d6fe43 Bump version to 2.0.9 🚀 2022-09-09 01:00:24 +06:00
Ariful Alam
2e0603d52b Merge pull request #164 from arifszn/133-local-setup
Add guide for setting up locally
2022-09-09 00:04:40 +06:00
Ariful Alam
e725ef9b5c Add guide for setting up locally 2022-09-09 00:03:37 +06:00
Ariful Alam
5dc71954a4 Merge pull request #163 from arifszn/142-avatar-ring
Control avatar ring visibility
2022-09-08 22:04:04 +06:00
Ariful Alam
f25f5bf2d5 Control avatar ring visibility 2022-09-08 21:46:09 +06:00
Ariful Alam
c375ec521f Merge pull request #162 from arifszn/161-MIT-license
Add MIT License
2022-09-08 21:19:36 +06:00
Ariful Alam
67c881eb05 Add MIT License 2022-09-08 21:17:28 +06:00
Ariful Alam
21eaa93a72 Merge pull request #149 from arifszn/dependabot/npm_and_yarn/react-hotjar-5.1.0
Bump react-hotjar from 5.0.0 to 5.1.0
2022-09-08 13:43:48 +06:00
Ariful Alam
69d636e3bb Merge pull request #157 from arifszn/dependabot/npm_and_yarn/daisyui-2.25.0
Bump daisyui from 2.24.2 to 2.25.0
2022-09-08 13:34:31 +06:00
dependabot[bot]
81ec352c4a Bump eslint from 8.21.0 to 8.23.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.21.0 to 8.23.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.21.0...v8.23.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-08 06:55:15 +00:00
Ariful Alam
8752d18408 Merge pull request #159 from arifszn/dependabot/npm_and_yarn/vite-3.1.0
Bump vite from 3.0.9 to 3.1.0
2022-09-08 12:54:27 +06:00
dependabot[bot]
2e6c69cdbc Bump daisyui from 2.24.2 to 2.25.0
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 2.24.2 to 2.25.0.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v2.24.2...v2.25.0)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-06 09:18:03 +00:00
dependabot[bot]
3d170a9a31 Bump vite from 3.0.9 to 3.1.0
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.0.9 to 3.1.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@3.1.0/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-06 09:17:56 +00:00
Ariful Alam
feba26f3aa Merge pull request #158 from arifszn/dependabot/npm_and_yarn/eslint-plugin-react-7.31.7
Bump eslint-plugin-react from 7.30.1 to 7.31.7
2022-09-06 15:17:18 +06:00
dependabot[bot]
a14318f776 Bump eslint-plugin-react from 7.30.1 to 7.31.7
Bumps [eslint-plugin-react](https://github.com/jsx-eslint/eslint-plugin-react) from 7.30.1 to 7.31.7.
- [Release notes](https://github.com/jsx-eslint/eslint-plugin-react/releases)
- [Changelog](https://github.com/jsx-eslint/eslint-plugin-react/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jsx-eslint/eslint-plugin-react/compare/v7.30.1...v7.31.7)

---
updated-dependencies:
- dependency-name: eslint-plugin-react
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-06 09:15:34 +00:00
Ariful Alam
247445b63c Merge pull request #156 from arifszn/dependabot/npm_and_yarn/daisyui-2.24.2
Bump daisyui from 2.24.0 to 2.24.2
2022-09-06 15:14:47 +06:00
dependabot[bot]
5628f76449 Bump daisyui from 2.24.0 to 2.24.2
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 2.24.0 to 2.24.2.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v2.24.0...v2.24.2)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 16:52:30 +00:00
Ariful Alam
742df933a7 Merge pull request #154 from arifszn/dependabot/npm_and_yarn/arifszn/blog-js-2.0.2
Bump @arifszn/blog-js from 2.0.1 to 2.0.2
2022-09-05 21:58:37 +06:00
dependabot[bot]
e11be358f9 Bump @vitejs/plugin-react from 2.0.0 to 2.1.0
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite/tree/HEAD/packages/plugin-react) from 2.0.0 to 2.1.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v2.1.0/packages/plugin-react)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 14:51:40 +00:00
dependabot[bot]
771f1fe0d4 Bump @arifszn/blog-js from 2.0.1 to 2.0.2
Bumps [@arifszn/blog-js](https://github.com/arifszn/blog.js) from 2.0.1 to 2.0.2.
- [Release notes](https://github.com/arifszn/blog.js/releases)
- [Commits](https://github.com/arifszn/blog.js/commits/v2.0.2)

---
updated-dependencies:
- dependency-name: "@arifszn/blog-js"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-09-05 14:51:07 +00:00
Ariful Alam
5b448adc76 Merge pull request #145 from arifszn/dependabot/npm_and_yarn/vite-3.0.9
Bump vite from 3.0.7 to 3.0.9
2022-09-05 18:29:20 +06:00
dependabot[bot]
ea424fe9e4 Bump react-hotjar from 5.0.0 to 5.1.0
Bumps [react-hotjar](https://github.com/abdalla/react-hotjar) from 5.0.0 to 5.1.0.
- [Release notes](https://github.com/abdalla/react-hotjar/releases)
- [Commits](https://github.com/abdalla/react-hotjar/compare/v5.0.0...v5.1.0)

---
updated-dependencies:
- dependency-name: react-hotjar
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-29 08:48:41 +00:00
Ariful Alam
50ed6b90ba Merge pull request #146 from arifszn/dependabot/npm_and_yarn/date-fns-2.29.2
Bump date-fns from 2.29.1 to 2.29.2
2022-08-29 00:18:13 +06:00
Ariful Alam
b96298e702 Cache dependencies 2022-08-27 19:45:39 +06:00
dependabot[bot]
c23cbc6c8e Bump date-fns from 2.29.1 to 2.29.2
Bumps [date-fns](https://github.com/date-fns/date-fns) from 2.29.1 to 2.29.2.
- [Release notes](https://github.com/date-fns/date-fns/releases)
- [Changelog](https://github.com/date-fns/date-fns/blob/v2.29.2/CHANGELOG.md)
- [Commits](https://github.com/date-fns/date-fns/compare/v2.29.1...v2.29.2)

---
updated-dependencies:
- dependency-name: date-fns
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 08:28:35 +00:00
dependabot[bot]
1ec9274f4d Bump vite from 3.0.7 to 3.0.9
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.0.7 to 3.0.9.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v3.0.9/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-22 08:28:24 +00:00
Ariful Alam
f97d1544d5 Merge pull request #144 from arifszn/143-tailwind-config
Rename tailwind.config file
2022-08-21 17:04:37 +06:00
Ariful Alam
970044b7f1 Rename tailwind.config file 2022-08-21 17:01:42 +06:00
Ariful Alam
a65bbf2937 Merge pull request #141 from arifszn/139-custom-gitHub-actions-workflow
Deploy with custom GitHub Actions workflow
2022-08-20 16:11:37 +06:00
Ariful Alam
ebdc7d533d Update deployment guide 2022-08-20 16:10:24 +06:00
Ariful Alam
5fe64aecb3 Deploy with custom GitHub Actions workflow 2022-08-20 15:53:55 +06:00
Ariful Alam
ec3cdf4f68 Merge pull request #136 from arifszn/dependabot/npm_and_yarn/vite-3.0.7
Bump vite from 3.0.4 to 3.0.7
2022-08-16 11:38:20 +06:00
Ariful Alam
80ff09b295 Merge pull request #138 from arifszn/dependabot/npm_and_yarn/daisyui-2.24.0
Bump daisyui from 2.22.0 to 2.24.0
2022-08-15 14:42:20 +06:00
dependabot[bot]
ca57b1bfa2 Bump daisyui from 2.22.0 to 2.24.0
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 2.22.0 to 2.24.0.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 08:23:19 +00:00
dependabot[bot]
4abc13ad71 Bump vite from 3.0.4 to 3.0.7
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.0.4 to 3.0.7.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v3.0.7/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-15 08:23:00 +00:00
Ariful Alam
96cc63e911 Merge pull request #130 from arifszn/dependabot/npm_and_yarn/postcss-8.4.16
Bump postcss from 8.4.14 to 8.4.16
2022-08-08 20:14:26 +06:00
dependabot[bot]
145985fb54 Bump postcss from 8.4.14 to 8.4.16
Bumps [postcss](https://github.com/postcss/postcss) from 8.4.14 to 8.4.16.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.4.14...8.4.16)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-08 08:30:31 +00:00
Ariful Alam
023422d318 Merge pull request #129 from arifszn/dependabot/npm_and_yarn/tailwindcss-3.1.8
Bump tailwindcss from 3.1.7 to 3.1.8
2022-08-06 22:26:15 +06:00
Ariful Alam
73da16ed19 Merge pull request #128 from arifszn/dependabot/npm_and_yarn/daisyui-2.22.0
Bump daisyui from 2.20.0 to 2.22.0
2022-08-06 22:16:20 +06:00
dependabot[bot]
09a0eebb16 Bump tailwindcss from 3.1.7 to 3.1.8
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.1.7 to 3.1.8.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.7...v3.1.8)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-06 16:08:38 +00:00
dependabot[bot]
2c1219bcda Bump daisyui from 2.20.0 to 2.22.0
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 2.20.0 to 2.22.0.
- [Release notes](https://github.com/saadeghi/daisyui/releases)
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/commits)

---
updated-dependencies:
- dependency-name: daisyui
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-06 16:08:16 +00:00
Ariful Alam
57b6a90fab Update guide 2022-08-06 10:34:15 +06:00
Ariful Alam
fb3852b3c7 Merge pull request #125 from arifszn/124-company-mention-with-space-is-not-working-as-link
Trim company name in details section
2022-08-03 18:39:38 +06:00
Ariful Alam
49509840aa Trim company name in details section 2022-08-03 18:37:43 +06:00
Ariful Alam
3385e4f260 Merge pull request #121 from arifszn/dependabot/npm_and_yarn/autoprefixer-10.4.8
Bump autoprefixer from 10.4.7 to 10.4.8
2022-08-02 09:24:25 +06:00
Ariful Alam
e967b89ca1 Merge pull request #119 from arifszn/dependabot/npm_and_yarn/eslint-8.21.0
Bump eslint from 8.20.0 to 8.21.0
2022-08-02 09:23:58 +06:00
Ariful Alam
b2106dd441 Merge pull request #122 from arifszn/dependabot/npm_and_yarn/tailwindcss-3.1.7
Bump tailwindcss from 3.1.6 to 3.1.7
2022-08-01 23:11:30 +06:00
Ariful Alam
9bf3d3b245 Merge pull request #120 from arifszn/dependabot/npm_and_yarn/vite-3.0.4
Bump vite from 3.0.2 to 3.0.4
2022-08-01 22:52:48 +06:00
dependabot[bot]
e1a1d1a0bf Bump tailwindcss from 3.1.6 to 3.1.7
Bumps [tailwindcss](https://github.com/tailwindlabs/tailwindcss) from 3.1.6 to 3.1.7.
- [Release notes](https://github.com/tailwindlabs/tailwindcss/releases)
- [Changelog](https://github.com/tailwindlabs/tailwindcss/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tailwindlabs/tailwindcss/compare/v3.1.6...v3.1.7)

---
updated-dependencies:
- dependency-name: tailwindcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 08:23:09 +00:00
dependabot[bot]
73f38a3f0e Bump autoprefixer from 10.4.7 to 10.4.8
Bumps [autoprefixer](https://github.com/postcss/autoprefixer) from 10.4.7 to 10.4.8.
- [Release notes](https://github.com/postcss/autoprefixer/releases)
- [Changelog](https://github.com/postcss/autoprefixer/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/autoprefixer/compare/10.4.7...10.4.8)

---
updated-dependencies:
- dependency-name: autoprefixer
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 08:23:01 +00:00
dependabot[bot]
f36ab50a30 Bump vite from 3.0.2 to 3.0.4
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 3.0.2 to 3.0.4.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v3.0.4/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 08:22:49 +00:00
dependabot[bot]
cd557c0e52 Bump eslint from 8.20.0 to 8.21.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.20.0 to 8.21.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v8.20.0...v8.21.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2022-08-01 08:22:36 +00:00
23 changed files with 1508 additions and 1132 deletions

View File

@@ -1,14 +1,22 @@
name: Deploy to gh-pages Branch
name: Deploy to GitHub Pages
on:
push:
branches: [main]
workflow_dispatch:
permissions:
contents: write
contents: read
pages: write
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
@@ -18,9 +26,13 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'npm'
- name: Cache dependencies
uses: actions/cache@v2
- name: Setup Pages
uses: actions/configure-pages@v2
- name: Restore cache
uses: actions/cache@v3
with:
path: |
**/node_modules
@@ -29,13 +41,21 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Build
- name: Build with vite
run: npm run build
env:
CI: ''
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
branch: gh-pages
folder: dist
path: ./dist
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1

View File

@@ -15,9 +15,10 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'npm'
- name: Cache dependencies
uses: actions/cache@v2
- name: Restore cache
uses: actions/cache@v3
with:
path: |
**/node_modules

View File

@@ -9,6 +9,6 @@ CONTRIBUTING.md
gitprofile.config.js
index.html
library.config.js
tailwind.config.js
tailwind.config.mjs
vite.config.js
stats.html

View File

@@ -4,5 +4,6 @@
"bracketSpacing": true,
"printWidth": 80,
"singleQuote": true,
"tabWidth": 2
"tabWidth": 2,
"endOfLine": "auto"
}

View File

@@ -14,31 +14,36 @@ with a fix.
## Submitting a Pull Request
- If applicable, update the `readme`
- Use `npm run lint` and `npm run prettier` before committing
- Example for a commit message
1. Make sure that the contribution you want to make is explained or detailed in a GitHub issue! Find an [existing issue](https://github.com/arifszn/gitprofile/issues) or [open a new one](https://github.com/arifszn/gitprofile/issues/new).
2. Once done, [fork the repository](https://github.com/arifszn/gitprofile/fork) in your own GitHub account.
3. [Create a new Git branch](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-and-deleting-branches-within-your-repository).
4. Make the changes on your branch.
5. [Submit the branch as a PR](https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/creating-a-pull-request-from-a-fork) pointing to the `main` branch of the main repository. <br>
We do not enforce a naming convention for the PRs, but **please use something descriptive of your changes**.
```
Fix type validation for typescript
```
## Development Workflow
### Developing
Fork, then clone the repo:
```sh
git clone https://github.com/your-username/gitprofile.git
cd gitprofile
```
Install dependencies:
### Install dependencies
```sh
npm install
```
Run dev server:
### Run dev server
```sh
npm run dev
```
### Linter
Each PR should pass the linter to be accepted. To fix lint and prettier errors, run `npm run lint:fix` and `npm run prettier:fix`.
### Commit Message
As minimal requirements, your commit message should:
- be capitalized
- not finish by a dot or any other punctuation character (!,?)
- start with a verb so that we can read your commit message this way: "This commit will ...", where "..." is the commit message.
e.g.: "Fix the home page button" or "Add support for dark mode"

214
LICENSE
View File

@@ -1,201 +1,21 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
MIT License
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
Copyright (c) 2022 Ariful Alam
1. Definitions.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright 2022 Ariful Alam
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

139
README.md
View File

@@ -9,12 +9,18 @@
<a href="https://codeclimate.com/github/arifszn/gitprofile/maintainability">
<img src="https://api.codeclimate.com/v1/badges/c60f42d7d0b61bd33e98/maintainability" />
</a>
<a href="https://github.com/arifszn/gitprofile/actions/workflows/test-deploy.yml">
<img src="https://github.com/arifszn/gitprofile/actions/workflows/test-deploy.yml/badge.svg" />
</a>
<a href="https://github.com/arifszn/gitprofile/issues">
<img src="https://img.shields.io/github/issues/arifszn/gitprofile"/>
</a>
<a href="https://github.com/arifszn/gitprofile/stargazers">
<img src="https://img.shields.io/github/stars/arifszn/gitprofile"/>
</a>
<a href="https://github.com/arifszn/gitprofile/network/members">
<img src="https://img.shields.io/github/forks/arifszn/gitprofile"/>
</a>
<a href="https://github.com/arifszn/gitprofile/blob/main/package-lock.json">
<img src="https://img.shields.io/snyk/vulnerabilities/github/arifszn/gitprofile"/>
</a>
@@ -27,8 +33,8 @@
<a href="https://www.buymeacoffee.com/arifszn">
<img src="https://img.shields.io/badge/sponsor-buy%20me%20a%20coffee-yellow?logo=buymeacoffee"/>
</a>
<a href="https://twitter.com/arif_szn">
<img src="https://img.shields.io/twitter/follow/arif_szn?style=social"/>
<a href="https://twitter.com/intent/tweet?text=Check%20out%20the%20portfolio%20builder.%20Create%20an%20automatic%20portfolio%20based%20on%20GitHub%20profile.&url=https://github.com/arifszn/gitprofile&hashtags=javascript,opensource,js,webdev,developers">
<img src="https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Fgithub.com%2Farifszn%2Fgitprofile"/>
</a>
</p>
@@ -49,7 +55,7 @@
<a href="#arifszn"><img src="https://arifszn.github.io/assets/img/drop-shadow.png" width="50%" alt="Shadow"/></a>
</p>
**GitProfile** is an easy to use portfolio builder where you can create a portfolio page automatically by just providing your GitHub username. It is built using React.js on top of Vite.js. But it's not necessary to have knowledge on these to get you started. You can make your own copy with zero coding experience.
**GitProfile** is an easy to use portfolio builder where you can create a portfolio page automatically by just providing your GitHub username. It is built using React.js on top of Vite. But it's not necessary to have knowledge on these to get you started. You can make your own copy with zero coding experience.
**Features:**
@@ -60,21 +66,34 @@
✓ [SEO](#seo)
✓ [Avatar and Bio](#avatar-and-bio)
✓ [Social Links](#social-links)
✓ [Skills](#skills)
✓ [Experience](#experience)
✓ [Education](#education)
✓ [Projects](#projects)
✓ [Blog Posts](#blog-posts)
✓ [Skill Section](#skills)
✓ [Experience Section](#experience)
✓ [Education Section](#education)
✓ [Projects Section](#projects)
✓ [Blog Posts Section](#blog-posts)
To view a live example, **[click here](https://arifszn.github.io/gitprofile)**.
Or try it **[online](https://stackblitz.com/edit/gitprofile)**.
<p align="center">
<img src="https://arifszn.github.io/assets/img/hosted/gitprofile/themes.png" alt="Themes">
</p>
## 🎉 Thank you for the 400 ★
<p>
<a href="https://arifszn.github.io/gitprofile">
<img src="https://user-images.githubusercontent.com/45073703/189209364-fc4df315-b66a-4654-907d-b0b7a9d2161e.gif" alt="Thank You" width="60%"/>
</a>
</p>
## 🛠 Installation & Setup
There are two ways to use **GitProfile**. Use either one.
There are three ways to use **GitProfile**. Use any.
- Forking this repo
- Forking this repo _(recommended)_
- Setting up locally
- Installing as package
### Forking this repo
@@ -85,7 +104,7 @@ These instructions will get you a copy of the project and deploy your portfolio
- **Rename repo:**
- If you want to host your portfolio at `https://<USERNAME>.github.io`, rename your forked repository to `username.github.io` in GitHub, where `username` is your GitHub username (or organization name).
- If you want to host your portfolio at `https://<USERNAME>.github.io/<REPO>` (e.g. `https://<USERNAME>.github.io/portfolio`), rename your forked repository to `<REPO>` (e.g. `portfolio`) in GitHub.
- **Enable workflows:** Go to your repo's **Actions** page and enable workflows.
- **Enable workflows:** Go to your repo's **Actions** tab and enable workflows.
![Workflows](https://arifszn.github.io/assets/img/hosted/gitprofile/workflows.png)
@@ -103,14 +122,36 @@ These instructions will get you a copy of the project and deploy your portfolio
}
```
- **First Commit:** Now commit to your **main** branch with your changes. The CI/CD pipeline will publish your page at the `gh-pages` branch automatically.
- **Change deploy branch:** Go to your repo's **Settings** ➜ **Pages** ➜ **Source** and change the branch to `gh-pages` and click **save**.
- **Commit the changes:** Now commit to your **main** branch with your changes. Wait a few minutes so that the CI/CD pipeline can publish your website to GitHub Pages. You can check the progress in the [Actions](https://github.com/arifszn/gitprofile/actions) tab.
Your portfolio website will be live by now. Any time you commit a change to the **main** branch, the website will be automatically updated.
Your portfolio website will be live shortly. Any time you commit a change to the **main** branch, the website will be automatically updated. If you face any issue viewing the website, double-check the `base` value in the `vite.config.js` file. Also, check if **Source** is set to **GitHub Actions** in **Settings** ➜ **Pages** ➜ **Build and deployment**.
If you see only `README` at your website, be sure to change your GitHub Page's source to `gh-pages` branch (see [how to](https://docs.github.com/en/pages/getting-started-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site)). Also, if you face any issue rendering the website, double-check the `base` value in the `vite.config.js`.
If you wish to add a custom domain, no CNAME file is required. Just add it to your repo's **Settings** ➜ **Pages** ➜ **Custom domain**.
As this is a vite project, you can also host your website to Netlify, Vercel, Heroku, or other popular services. Please refer to this [doc](https://vitejs.dev/guide/static-deploy.html) for a detailed deployment guide to other services.
As this is a Vite project, you can also host your website to Netlify, Vercel, Heroku, or other popular services. Please refer to this [doc](https://vitejs.dev/guide/static-deploy.html) for a detailed deployment guide to other services.
### Setting up locally
- Clone the project and change directory.
```shell
git clone https://github.com/arifszn/gitprofile.git
cd gitprofile
```
- Install dependencies.
```shell
npm install
```
- Run dev server.
```shell
npm run dev
```
- Finally, visit [`http://localhost:5173/gitprofile/`](http://localhost:5173/gitprofile/) from your browser.
### Installing as package
@@ -177,35 +218,41 @@ const config = {
behance: '',
medium: '',
dev: '',
stackoverflow: '',
website: '',
phone: '',
email: '',
},
resume: {
fileUrl: '', // Empty fileUrl will hide the `Download Resume` button.
},
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://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',
},
@@ -213,13 +260,13 @@ const config = {
// Display blog posts from your medium or dev account. (Optional)
blog: {
source: 'dev', // medium | dev
username: 'arifszn',
username: 'arifszn', // to hide blog section, keep it empty
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,
@@ -235,6 +282,9 @@ const config = {
// using user system preferences, instead of the hardcoded defaultTheme
respectPrefersColorScheme: true,
// Hide the ring in Profile picture
hideAvatarRing: false,
// Available themes. To remove any theme, exclude from here.
themes: [
'light',
@@ -325,10 +375,6 @@ module.exports = {
};
```
<p align="center">
<img src="https://arifszn.github.io/assets/img/hosted/gitprofile/themes.png" alt="Themes">
</p>
### Google Analytics
**GitProfile** supports both GA3 and GA4. If you do not want to use Google Analytics, keep the `id` empty.
@@ -347,7 +393,7 @@ Besides tracking visitors, it will track `click events` on projects and blog pos
### Hotjar
**GitProfile** supports hotjar. If you do not want to use Hotjar, keep the `id` empty.
**GitProfile** supports [hotjar](https://www.hotjar.com) to track visitor interaction and behavior. If you do not want to use Hotjar, keep the `id` empty.
```js
// gitprofile.config.js
@@ -370,7 +416,7 @@ Your avatar and bio will be fetched from GitHub automatically.
### Social Links
You can link your social media services you're using, including LinkedIn, Twitter, Facebook, Instagram, Dribbble, Behance, Medium, dev, personal website, phone and email.
You can link your social media services you're using, including LinkedIn, Twitter, Facebook, Instagram, Dribbble, Behance, Medium, dev, Stack Overflow, personal website, phone and email.
```js
// gitprofile.config.js
@@ -385,6 +431,7 @@ module.exports = {
behance: '',
medium: '',
dev: '',
stackoverflow: '',
website: '',
phone: '',
email: '',
@@ -416,16 +463,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://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',
},
],
};
@@ -502,7 +551,7 @@ The posts are fetched by [blog.js](https://github.com/arifszn/blog.js).
## 💖 Support
<p>You can show your support by starring this project.</p>
<p>You can show your support by starring this project.</p>
<a href="https://github.com/arifszn/gitprofile/stargazers">
<img src="https://img.shields.io/github/stars/arifszn/gitprofile?style=social" alt="Github Star">
</a>
@@ -513,4 +562,4 @@ To contribute, see the [Contributing guide](https://github.com/arifszn/gitprofil
## 📄 License
[Apache-2.0 License](https://github.com/arifszn/gitprofile/blob/main/LICENSE)
[MIT](https://github.com/arifszn/gitprofile/blob/main/LICENSE)

View File

@@ -19,10 +19,14 @@ const config = {
behance: '',
medium: 'arifszn',
dev: 'arifszn',
stackoverflow: '', // format: userid/username
website: 'https://arifszn.github.io',
phone: '',
email: 'arifulalamszn@gmail.com',
},
resume: {
fileUrl: 'resume.pdf', // Empty fileUrl will hide the `Download Resume` button.
},
skills: [
'PHP',
'Laravel',
@@ -31,64 +35,60 @@ 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://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: {
source: 'dev', // medium | dev
username: 'arifszn',
username: 'arifszn', // to hide blog section, keep it empty
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: 'business',
// Hides the switch in the navbar
// Useful if you want to support a single color mode
@@ -98,6 +98,9 @@ const config = {
// using user system preferences, instead of the hardcoded defaultTheme
respectPrefersColorScheme: false,
// Hide the ring in Profile picture
hideAvatarRing: false,
// Available themes. To remove any theme, exclude from here.
themes: [
'light',

View File

@@ -2,7 +2,7 @@ import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import tailwind from 'tailwindcss';
import autoprefixer from 'autoprefixer';
import tailwindConfig from './tailwind.config.js';
import tailwindConfig from './tailwind.config.mjs';
import path from 'path';
// https://vitejs.dev/config/

1990
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -1,8 +1,8 @@
{
"name": "@arifszn/gitprofile",
"description": "Create an automatic portfolio based on GitHub profile",
"version": "2.0.8",
"license": "Apache-2.0",
"version": "2.1.0",
"license": "MIT",
"author": "arifszn",
"repository": {
"type": "git",
@@ -34,8 +34,8 @@
"build:library": "vite build --config library.config.js",
"lint": "eslint --ext .js,.jsx .",
"lint:fix": "eslint --ext .js,.jsx --fix .",
"prettier": "prettier --check './**/*.{js,jsx,ts,tsx,css,md,json}'",
"prettier:fix": "prettier --write './**/*.{js,jsx,ts,tsx,css,md,json}'"
"prettier": "prettier --check \"./**/*.{js,jsx,ts,tsx,css,md,json}\"",
"prettier:fix": "prettier --write \"./**/*.{js,jsx,ts,tsx,css,md,json}\""
},
"dependencies": {
"react": "^18.2.0",
@@ -45,7 +45,7 @@
"@arifszn/blog-js": "^2.0.0",
"@vitejs/plugin-react": "^2.0.0",
"autoprefixer": "^10.4.4",
"axios": "^0.27.2",
"axios": "^1.1.3",
"daisyui": "^2.11.0",
"date-fns": "^2.28.0",
"eslint": "^8.11.0",
@@ -85,6 +85,10 @@
"git",
"react-portfolio",
"github",
"github-page",
"github-pages",
"github-portfolio",
"vite-portfolio",
"github-api"
]
}

BIN
public/resume.pdf Normal file

Binary file not shown.

View File

@@ -25,6 +25,8 @@ import PropTypes from 'prop-types';
import '../assets/index.css';
import { formatDistance } from 'date-fns';
const bgColor = 'bg-base-300';
const GitProfile = ({ config }) => {
const [error, setError] = useState(
typeof config === 'undefined' && !config ? noConfigError : null
@@ -64,9 +66,14 @@ const GitProfile = ({ config }) => {
};
setProfile(profileData);
return data;
})
.then(() => {
.then((userData) => {
let excludeRepo = ``;
if (userData.public_repos === 0) {
setRepo([]);
return;
}
sanitizedConfig.github.exclude.projects.forEach((project) => {
excludeRepo += `+-repo:${sanitizedConfig.github.username}/${project}`;
@@ -144,7 +151,7 @@ const GitProfile = ({ config }) => {
) : (
sanitizedConfig && (
<Fragment>
<div className="p-4 lg:p-10 min-h-full bg-base-200">
<div className={`p-4 lg:p-10 min-h-full ${bgColor}`}>
<div className="grid grid-cols-1 lg:grid-cols-3 gap-6 rounded-box">
<div className="col-span-1">
<div className="grid grid-cols-1 gap-6">
@@ -156,7 +163,12 @@ const GitProfile = ({ config }) => {
themeConfig={sanitizedConfig.themeConfig}
/>
)}
<AvatarCard profile={profile} loading={loading} />
<AvatarCard
profile={profile}
loading={loading}
avatarRing={!sanitizedConfig.themeConfig.hideAvatarRing}
resume={sanitizedConfig.resume}
/>
<Details
profile={profile}
loading={loading}
@@ -194,13 +206,9 @@ const GitProfile = ({ config }) => {
</div>
</div>
</div>
{/* The below attribution notice shall be
included in all copies or substantial portions of the Software. */}
{/* DO NOT REMOVE/MODIFY THE BELOW FOOTER. */}
{/* SEE 4(C) SECTION OF THE LICENSE FOR MORE DETAILS. */}
{/* https://github.com/arifszn/gitprofile/blob/main/LICENSE */}
<footer className="p-4 footer bg-base-200 text-base-content footer-center">
<footer
className={`p-4 footer ${bgColor} text-base-content footer-center`}
>
<div className="card compact bg-base-100 shadow">
<a
className="card-body"
@@ -250,6 +258,7 @@ GitProfile.propTypes = {
behance: PropTypes.string,
medium: PropTypes.string,
dev: PropTypes.string,
stackoverflow: PropTypes.string,
website: PropTypes.string,
phone: PropTypes.string,
email: PropTypes.string,
@@ -287,6 +296,7 @@ GitProfile.propTypes = {
defaultTheme: PropTypes.string,
disableSwitch: PropTypes.bool,
respectPrefersColorScheme: PropTypes.bool,
hideAvatarRing: PropTypes.bool,
themes: PropTypes.array,
customTheme: PropTypes.shape({
primary: PropTypes.string,

View File

@@ -2,7 +2,7 @@ import PropTypes from 'prop-types';
import { fallbackImage, skeleton } from '../../helpers/utils';
import LazyImage from '../lazy-image';
const AvatarCard = ({ profile, loading }) => {
const AvatarCard = ({ profile, loading, avatarRing, resume }) => {
return (
<div className="card shadow-lg compact bg-base-100">
<div className="grid place-items-center py-8">
@@ -18,7 +18,13 @@ const AvatarCard = ({ profile, loading }) => {
</div>
) : (
<div className="avatar opacity-90">
<div className="mb-8 rounded-full w-32 h-32 ring ring-primary ring-offset-base-100 ring-offset-2">
<div
className={`mb-8 rounded-full w-32 h-32 ${
avatarRing
? 'ring ring-primary ring-offset-base-100 ring-offset-2'
: ''
}`}
>
{
<LazyImage
src={profile.avatar ? profile.avatar : fallbackImage}
@@ -49,6 +55,22 @@ const AvatarCard = ({ profile, loading }) => {
: profile.bio}
</div>
</div>
{resume?.fileUrl &&
(loading ? (
<div className="mt-6">
{skeleton({ width: 'w-40', height: 'h-8' })}
</div>
) : (
<a
href={resume.fileUrl}
target="_blank"
className="btn btn-outline btn-sm text-xs mt-6 opacity-50"
download
rel="noreferrer"
>
Download Resume
</a>
))}
</div>
</div>
);
@@ -57,6 +79,10 @@ const AvatarCard = ({ profile, loading }) => {
AvatarCard.propTypes = {
profile: PropTypes.object,
loading: PropTypes.bool.isRequired,
avatarRing: PropTypes.bool.isRequired,
resume: PropTypes.shape({
fileUrl: PropTypes.string,
}),
};
export default AvatarCard;

View File

@@ -181,10 +181,10 @@ const Blog = ({ loading, blog, googleAnalytics }) => {
<div className="grid grid-cols-2 gap-6">
<div className="col-span-2">
<div
className={`card compact ${
className={`card compact bg-base-100 ${
loading || (articles && articles.length)
? 'bg-gradient-to-br to-base-200 from-base-100 shadow'
: 'bg-base-100 shadow-lg'
? 'card compact shadow bg-opacity-40'
: 'shadow-lg'
}`}
>
<div className="card-body">

View File

@@ -15,6 +15,7 @@ import {
FaDev,
FaFacebook,
FaGlobe,
FaStackOverflow,
} from 'react-icons/fa';
import PropTypes from 'prop-types';
import { skeleton } from '../../helpers/utils';
@@ -93,8 +94,8 @@ const Details = ({ profile, loading, social, github }) => {
title="Company:"
value={profile.company}
link={
isCompanyMention(profile.company)
? companyLink(profile.company)
isCompanyMention(profile.company.trim())
? companyLink(profile.company.trim())
: null
}
/>
@@ -169,6 +170,14 @@ const Details = ({ profile, loading, social, github }) => {
link={`https://dev.to/${social.dev}`}
/>
)}
{social?.stackoverflow && (
<ListItem
icon={<FaStackOverflow className="mr-2" />}
title="Stack Overflow:"
value={social.stackoverflow.split('/').slice(-1)}
link={`https://stackoverflow.com/users/${social.stackoverflow}`}
/>
)}
{social?.website && (
<ListItem
icon={<FaGlobe className="mr-2" />}

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 }) => (
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"
@@ -10,7 +10,11 @@ const ListItem = ({ time, position, company }) => (
></div>
<div className="my-0.5 text-xs">{time}</div>
<h3 className="font-semibold">{position}</h3>
<div className="mb-4 font-normal">{company}</div>
<div className="mb-4 font-normal">
<a href={companyLink} target="_blank" rel="noreferrer">
{company}
</a>
</div>
</li>
);
@@ -37,7 +41,6 @@ const Experience = ({ experiences, loading }) => {
return array;
};
return (
<>
{experiences?.length !== 0 && (
@@ -66,6 +69,9 @@ const Experience = ({ experiences, loading }) => {
time={`${experience.from} - ${experience.to}`}
position={experience.position}
company={experience.company}
companyLink={
experience.companyLink ? experience.companyLink : null
}
/>
))}
</Fragment>
@@ -83,6 +89,7 @@ ListItem.propTypes = {
time: PropTypes.node,
position: PropTypes.node,
company: PropTypes.node,
companyLink: PropTypes.string,
};
Experience.propTypes = {

View File

@@ -22,7 +22,7 @@ const HeadTagEditor = ({ profile, theme, googleAnalytics, social }) => {
gtag('config', '${googleAnalytics.id}');`}
</script>
)}
<title>Portfolio of {profile.name}</title>
<title>Portfolio{profile.name && ` of ${profile.name}`}</title>
<meta
name="theme-color"
content={isDarkishTheme(theme) ? '#000000' : '#ffffff'}
@@ -30,18 +30,27 @@ const HeadTagEditor = ({ profile, theme, googleAnalytics, social }) => {
<meta name="description" content={profile.bio} />
<meta itemProp="name" content={`Portfolio of ${profile.name}`} />
<meta
itemProp="name"
content={`Portfolio${profile.name && ` of ${profile.name}`}`}
/>
<meta itemProp="description" content={profile.bio} />
<meta itemProp="image" content={profile.avatar} />
<meta property="og:url" content={social?.website || ''} />
<meta property="og:type" content="website" />
<meta property="og:title" content={`Portfolio of ${profile.name}`} />
<meta
property="og:title"
content={`Portfolio${profile.name && ` of ${profile.name}`}`}
/>
<meta property="og:description" content={profile.bio} />
<meta property="og:image" content={profile.avatar} />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content={`Portfolio of ${profile.name}`} />
<meta
name="twitter:title"
content={`Portfolio${profile.name && ` of ${profile.name}`}`}
/>
<meta name="twitter:description" content={profile.bio} />
<meta name="twitter:image" content={profile.avatar} />
</Helmet>

View File

@@ -4,6 +4,10 @@ import PropTypes from 'prop-types';
import { ga, languageColor, skeleton } from '../../helpers/utils';
const Project = ({ repo, loading, github, googleAnalytics }) => {
if (!loading && Array.isArray(repo) && repo.length === 0) {
return <></>;
}
const renderSkeleton = () => {
let array = [];
for (let index = 0; index < github.limit; index++) {
@@ -132,7 +136,7 @@ const Project = ({ repo, loading, github, googleAnalytics }) => {
<div className="col-span-1 lg:col-span-2">
<div className="grid grid-cols-2 gap-6">
<div className="col-span-2">
<div className="card compact bg-gradient-to-br to-base-200 from-base-100 shadow">
<div className="card compact bg-base-100 shadow bg-opacity-40">
<div className="card-body">
<div className="mx-3 flex items-center justify-between mb-2">
<h5 className="card-title">

View File

@@ -153,10 +153,14 @@ export const sanitizeConfig = (config) => {
behance: config?.social?.behance,
medium: config?.social?.medium,
dev: config?.social?.dev,
stackoverflow: config?.social?.stackoverflow,
website: config?.social?.website,
phone: config?.social?.phone,
email: config?.social?.email,
},
resume: {
fileUrl: config?.resume?.fileUrl || '',
},
skills: config?.skills || [],
experiences: config?.experiences || [],
education: config?.education || [],
@@ -177,6 +181,7 @@ export const sanitizeConfig = (config) => {
disableSwitch: config?.themeConfig?.disableSwitch || false,
respectPrefersColorScheme:
config?.themeConfig?.respectPrefersColorScheme || false,
hideAvatarRing: config?.themeConfig?.hideAvatarRing || false,
themes: themes,
customTheme: customTheme,
},
@@ -214,7 +219,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>
),
};

20
types/index.d.ts vendored
View File

@@ -79,6 +79,11 @@ export interface Social {
*/
dev?: string;
/**
* Stack Overflow
*/
stackoverflow?: string;
/**
* Website
*/
@@ -186,6 +191,11 @@ export interface ThemeConfig {
*/
respectPrefersColorScheme?: boolean;
/**
* Hide the ring in Profile picture
*/
hideAvatarRing?: boolean;
/**
* Available themes
*/
@@ -202,6 +212,7 @@ export interface Experience {
position?: string;
from?: string;
to?: string;
companyLink?: string;
}
export interface Education {
@@ -211,6 +222,10 @@ export interface Education {
to?: string;
}
export interface Resume {
fileUrl?: string;
}
export interface Config {
/**
* GitHub Config
@@ -222,6 +237,11 @@ export interface Config {
*/
social?: Social;
/**
* Resume
*/
resume?: Resume;
/**
* Skill list
*/

View File

@@ -2,7 +2,7 @@ import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import tailwind from 'tailwindcss';
import autoprefixer from 'autoprefixer';
import tailwindConfig from './tailwind.config.js';
import tailwindConfig from './tailwind.config.mjs';
// https://vitejs.dev/config/
export default defineConfig({