30 Commits

Author SHA1 Message Date
Ariful Alam
d14c8fb1a7 Merge pull request #417 from arifszn/2.6.0
Bump version to 2.6.0 🚀
2023-07-03 15:43:23 +06:00
Ariful Alam
3cbba324b1 Bump version to 2.6.0 🚀 2023-07-03 15:41:53 +06:00
Ariful Alam
7e714b6a8d Merge pull request #416 from arifszn/social-youtube
Add YouTube as social link
2023-07-03 15:40:31 +06:00
Ariful Alam
f482c2e7b6 Add YouTube as social link 2023-07-03 15:38:04 +06:00
Ariful Alam
205a547439 Merge pull request #414 from arifszn/dependabot/npm_and_yarn/daisyui-3.1.7
Bump daisyui from 3.1.6 to 3.1.7
2023-07-03 11:57:59 +06:00
Ariful Alam
ae5345b33b Merge pull request #415 from arifszn/arifszn-patch-1
Update README.md
2023-07-03 11:56:57 +06:00
dependabot[bot]
d5317bf0c7 Bump daisyui from 3.1.6 to 3.1.7
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 3.1.6 to 3.1.7.
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v3.1.6...v3.1.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-03 05:56:35 +00:00
Ariful Alam
30f8d05014 Update README.md 2023-07-03 11:52:50 +06:00
Ariful Alam
365f3f25ea Merge pull request #412 from arifszn/arifszn-patch-1
Update deployment guide
2023-07-03 11:50:45 +06:00
Ariful Alam
9abe133b1c Update README.md 2023-07-03 11:50:16 +06:00
Ariful Alam
ac8e6941ab Merge pull request #411 from arifszn/fix/409
Set undefined navigateFallback so that it can redirect to 404
2023-06-28 17:24:44 +06:00
Ariful Alam
b4bb68ae06 Set undefined navigateFallback so that it can redirect to 404 2023-06-28 17:22:56 +06:00
Ariful Alam
1bd77a785f Merge pull request #410 from arifszn/deps
Update dependencies
2023-06-28 17:08:24 +06:00
Ariful Alam
9ae2d382ad Update dependencies 2023-06-28 17:00:11 +06:00
Ariful Alam
06a428a96f Merge pull request #407 from arifszn/dependabot/npm_and_yarn/vitejs/plugin-react-4.0.1
Bump @vitejs/plugin-react from 4.0.0 to 4.0.1
2023-06-26 20:06:38 +06:00
Ariful Alam
8c2224047e Merge pull request #406 from arifszn/dependabot/npm_and_yarn/daisyui-3.1.6
Bump daisyui from 3.1.1 to 3.1.6
2023-06-26 13:48:45 +06:00
dependabot[bot]
d0f67b6c29 Bump @vitejs/plugin-react from 4.0.0 to 4.0.1
Bumps [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/tree/HEAD/packages/plugin-react) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/vitejs/vite-plugin-react/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react/commits/plugin-react@4.0.1/packages/plugin-react)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 05:01:42 +00:00
dependabot[bot]
788640358f Bump daisyui from 3.1.1 to 3.1.6
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 3.1.1 to 3.1.6.
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v3.1.1...v3.1.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-26 05:01:23 +00:00
Ariful Alam
7ceb0a12e9 Merge pull request #404 from arifszn/dependabot/npm_and_yarn/eslint-8.43.0
Bump eslint from 8.42.0 to 8.43.0
2023-06-21 20:35:09 +06:00
Ariful Alam
e58fb509b0 Merge pull request #405 from arifszn/dependabot/npm_and_yarn/daisyui-3.1.1
Bump daisyui from 3.1.0 to 3.1.1
2023-06-21 20:34:50 +06:00
dependabot[bot]
3dc1b74042 Bump daisyui from 3.1.0 to 3.1.1
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 3.1.0 to 3.1.1.
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v3.1.0...v3.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 08:59:12 +00:00
dependabot[bot]
92115ca1b6 Bump eslint from 8.42.0 to 8.43.0
Bumps [eslint](https://github.com/eslint/eslint) from 8.42.0 to 8.43.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.42.0...v8.43.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-19 08:59:02 +00:00
Ariful Alam
a873ab7a8f Merge pull request #403 from arifszn/readme-image
Fix broken images
2023-06-18 18:24:15 +06:00
Ariful Alam
8b798f8dea Fix broken images 2023-06-18 18:18:44 +06:00
Ariful Alam
a91de444a2 Merge pull request #398 from arifszn/dependabot/npm_and_yarn/vite-plugin-pwa-0.16.4
Bump vite-plugin-pwa from 0.16.3 to 0.16.4
2023-06-16 00:02:21 +06:00
Ariful Alam
98d550de69 Merge pull request #399 from arifszn/dependabot/npm_and_yarn/daisyui-3.1.0
Bump daisyui from 3.0.20 to 3.1.0
2023-06-12 21:48:39 +06:00
dependabot[bot]
80954fce9f Bump daisyui from 3.0.20 to 3.1.0
Bumps [daisyui](https://github.com/saadeghi/daisyui) from 3.0.20 to 3.1.0.
- [Changelog](https://github.com/saadeghi/daisyui/blob/master/CHANGELOG.md)
- [Commits](https://github.com/saadeghi/daisyui/compare/v3.0.20...v3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 08:59:03 +00:00
dependabot[bot]
2a4a10d032 Bump vite-plugin-pwa from 0.16.3 to 0.16.4
Bumps [vite-plugin-pwa](https://github.com/antfu/vite-plugin-pwa) from 0.16.3 to 0.16.4.
- [Release notes](https://github.com/antfu/vite-plugin-pwa/releases)
- [Commits](https://github.com/antfu/vite-plugin-pwa/compare/v0.16.3...v0.16.4)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-12 08:58:51 +00:00
Ariful Alam
80a7f5fd1c Merge pull request #397 from arifszn/theme
Update default theme
2023-06-09 15:31:57 +06:00
Ariful Alam
0f36c6f33c Update default theme 2023-06-09 15:30:39 +06:00
9 changed files with 101 additions and 79 deletions

View File

@@ -49,10 +49,10 @@
<p align="center">
<a href="https://arifszn.github.io/gitprofile">
<img src="https://arifszn.github.io/assets/img/hosted/gitprofile/preview.gif" alt="Preview" width="60%"/>
<img src="https://arifszn.netlify.app/assets/img/hosted/gitprofile/preview.gif" alt="Preview" width="60%"/>
</a>
<br/>
<a href="#arifszn"><img src="https://arifszn.github.io/assets/img/drop-shadow.png" width="50%" alt="Shadow"/></a>
<a href="#arifszn"><img src="https://arifszn.netlify.app/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. But it's not necessary to have knowledge on these to get you started. You can make your own copy with zero coding experience.
@@ -79,7 +79,7 @@ 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">
<img src="https://arifszn.netlify.app/assets/img/hosted/gitprofile/themes.png" alt="Themes">
</p>
## 🎉 Thank you for the 800 ★
@@ -100,7 +100,7 @@ There are three ways to use **GitProfile**. Use any.
### Forking this repo
These instructions will get you a copy of the project and deploy your portfolio online!
These instructions will get you a copy of the project and deploy your portfolio online using GitHub Pages!
- **Fork repo:** Click [here](https://github.com/arifszn/gitprofile/fork) to fork the repo so you have your own project to customize. A "fork" is a copy of a repository.
- **Rename repo:**
@@ -108,7 +108,7 @@ These instructions will get you a copy of the project and deploy your portfolio
- If you want to host your portfolio at `https://<USERNAME>.github.io/<REPO_NAME>` (e.g. `https://<USERNAME>.github.io/portfolio`), rename your forked repository to `<REPO_NAME>` (e.g. `portfolio`) in GitHub.
- **Enable workflows:** Go to your repo's **Actions** tab and enable workflows.
![Workflows](https://arifszn.github.io/assets/img/hosted/gitprofile/workflows.png)
![Workflows](https://arifszn.netlify.app/assets/img/hosted/gitprofile/workflows.png)
- **Base Value:** Open `vite.config.js`, and change `base`'s value.
@@ -130,7 +130,7 @@ Your portfolio website will be live shortly. Any time you commit a change to the
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. Also, if you are not deploying to GitHub pages, `base:` might need to be deleted from `vite.config.js`.
### Setting up locally
@@ -219,6 +219,7 @@ const config = {
mastodon: '',
facebook: '',
instagram: '',
youtube: '',
dribbble: '',
behance: '',
medium: '',
@@ -386,7 +387,7 @@ const config = {
```
<p align="center">
<img src="https://arifszn.github.io/assets/img/hosted/gitprofile/theme-dropdown.png" alt="Theme Dropdown" width="50%">
<img src="https://arifszn.netlify.app/assets/img/hosted/gitprofile/theme-dropdown.png" alt="Theme Dropdown" width="50%">
</p>
You can create your own custom theme by modifying these values. Theme `procyon` will have the custom styles.
@@ -457,7 +458,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, Mastodon, Facebook, Instagram, Dribbble, Behance, Medium, dev, Stack Overflow, Skype, Telegram, personal website, phone and email.
You can link your social media services you're using, including LinkedIn, Twitter, Mastodon, Facebook, Instagram, YouTube, Dribbble, Behance, Medium, dev, Stack Overflow, Skype, Telegram, personal website, phone and email.
```js
// gitprofile.config.js
@@ -469,6 +470,7 @@ const config = {
mastodon: 'arifszn@mastodon.social',
facebook: '',
instagram: '',
youtube: '',
dribbble: '',
behance: '',
medium: '',
@@ -631,7 +633,7 @@ const config = {
};
```
![Blog](https://arifszn.github.io/assets/img/hosted/gitprofile/blog.png)
![Blog](https://arifszn.netlify.app/assets/img/hosted/gitprofile/blog.png)
The posts are fetched by [blog.js](https://github.com/arifszn/blog.js).

View File

@@ -16,11 +16,12 @@ const config = {
mastodon: 'arifszn@mastodon.social',
facebook: '',
instagram: '',
youtube: '', // example: 'pewdiepie'
dribbble: '',
behance: '',
medium: 'arifszn',
dev: 'arifszn',
stackoverflow: '', // format: userid/username
stackoverflow: '', // example: '1/jeff-atwood'
skype: '',
telegram: '',
website: 'https://arifszn.com',
@@ -118,7 +119,7 @@ const config = {
snippetVersion: 6,
},
themeConfig: {
defaultTheme: 'winter',
defaultTheme: 'wireframe',
// Hides the switch in the navbar
// Useful if you want to support a single color mode

134
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "@arifszn/gitprofile",
"version": "2.5.0",
"version": "2.6.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@arifszn/gitprofile",
"version": "2.5.0",
"version": "2.6.0",
"license": "MIT",
"dependencies": {
"react": "^18.2.0",
@@ -34,6 +34,15 @@
"vite-plugin-pwa": "^0.16.3"
}
},
"node_modules/@aashutoshrathi/word-wrap": {
"version": "1.2.6",
"resolved": "https://registry.npmjs.org/@aashutoshrathi/word-wrap/-/word-wrap-1.2.6.tgz",
"integrity": "sha512-1Yjs2SvM8TflER/OD3cOjhWWOZb58A2t7wpE2S9XfBYTiIl+XFhQG2bjy4Pu1I+EAlCNUzRDYDdFwFYUKvXcIA==",
"dev": true,
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/@alloc/quick-lru": {
"version": "5.2.0",
"resolved": "https://registry.npmjs.org/@alloc/quick-lru/-/quick-lru-5.2.0.tgz",
@@ -2204,9 +2213,9 @@
}
},
"node_modules/@eslint/js": {
"version": "8.42.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.42.0.tgz",
"integrity": "sha512-6SWlXpWU5AvId8Ac7zjzmIOqMOba/JWY8XZ4A7q7Gn1Vlfg/SFFIlrtHXt9nPn4op9ZPAkl91Jao+QQv3r/ukw==",
"version": "8.43.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-8.43.0.tgz",
"integrity": "sha512-s2UHCoiXfxMvmfzqoN+vrQ84ahUSYde9qNO1MdxmoEhyHWsfmwOpFlwYV+ePJEVc7gFnATGUi376WowX1N7tFg==",
"dev": true,
"engines": {
"node": "^12.22.0 || ^14.17.0 || >=16.0.0"
@@ -2363,9 +2372,9 @@
"dev": true
},
"node_modules/@types/node": {
"version": "20.2.5",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.2.5.tgz",
"integrity": "sha512-JJulVEQXmiY9Px5axXHeYGLSjhkZEnD+MDPDGbCbIAbMslkKwmygtZFy1X6s/075Yo94sf8GuSlFfPzysQrWZQ==",
"version": "20.3.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-20.3.2.tgz",
"integrity": "sha512-vOBLVQeCQfIcF/2Y7eKFTqrMnizK5lRNQ7ykML/5RuwVXVWxYkgwS7xbt4B6fKCUPgbSL5FSsjHQpaGQP/dQmw==",
"dev": true
},
"node_modules/@types/resolve": {
@@ -2384,14 +2393,14 @@
"dev": true
},
"node_modules/@vitejs/plugin-react": {
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.0.0.tgz",
"integrity": "sha512-HX0XzMjL3hhOYm+0s95pb0Z7F8O81G7joUHgfDd/9J/ZZf5k4xX6QAMFkKsHFxaHlf6X7GD7+XuaZ66ULiJuhQ==",
"version": "4.0.1",
"resolved": "https://registry.npmjs.org/@vitejs/plugin-react/-/plugin-react-4.0.1.tgz",
"integrity": "sha512-g25lL98essfeSj43HJ0o4DMp0325XK0ITkxpgChzJU/CyemgyChtlxfnRbjfwxDGCTRxTiXtQAsdebQXKMRSOA==",
"dev": true,
"dependencies": {
"@babel/core": "^7.21.4",
"@babel/plugin-transform-react-jsx-self": "^7.21.0",
"@babel/plugin-transform-react-jsx-source": "^7.19.6",
"@babel/core": "^7.22.5",
"@babel/plugin-transform-react-jsx-self": "^7.22.5",
"@babel/plugin-transform-react-jsx-source": "^7.22.5",
"react-refresh": "^0.14.0"
},
"engines": {
@@ -2402,9 +2411,9 @@
}
},
"node_modules/acorn": {
"version": "8.8.2",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.8.2.tgz",
"integrity": "sha512-xjIYgE8HBrkpd/sJqOGNspf8uHG+NOHGOw6a/Urj8taM2EXfdNAH2oFcPeIFfsv3+kz/mJrS5VuMqbNLjCa2vw==",
"version": "8.9.0",
"resolved": "https://registry.npmjs.org/acorn/-/acorn-8.9.0.tgz",
"integrity": "sha512-jaVNAFBHNLXspO543WnNNPZFRtavh3skAkITqD0/2aeMkKZTN+254PyhwxFYrk3vQ1xfY+2wbesJMs/JC8/PwQ==",
"dev": true,
"bin": {
"acorn": "bin/acorn"
@@ -2707,9 +2716,9 @@
}
},
"node_modules/browserslist": {
"version": "4.21.7",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.7.tgz",
"integrity": "sha512-BauCXrQ7I2ftSqd2mvKHGo85XR0u7Ru3C/Hxsy/0TkfCtjrmAbPdzLGasmoiBxplpDXlPvdjX9u7srIMfgasNA==",
"version": "4.21.9",
"resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.21.9.tgz",
"integrity": "sha512-M0MFoZzbUrRU4KNfCrDLnvyE7gub+peetoTid3TBIqtunaDJyXlwhakT+/VkvSXcfIzFfK/nkCs4nmyTmxdNSg==",
"dev": true,
"funding": [
{
@@ -2726,8 +2735,8 @@
}
],
"dependencies": {
"caniuse-lite": "^1.0.30001489",
"electron-to-chromium": "^1.4.411",
"caniuse-lite": "^1.0.30001503",
"electron-to-chromium": "^1.4.431",
"node-releases": "^2.0.12",
"update-browserslist-db": "^1.0.11"
},
@@ -2788,9 +2797,9 @@
}
},
"node_modules/caniuse-lite": {
"version": "1.0.30001497",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001497.tgz",
"integrity": "sha512-I4/duVK4wL6rAK/aKZl3HXB4g+lIZvaT4VLAn2rCgJ38jVLb0lv2Xug6QuqmxXFVRJMF74SPPWPJ/1Sdm3vCzw==",
"version": "1.0.30001509",
"resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001509.tgz",
"integrity": "sha512-2uDDk+TRiTX5hMcUYT/7CSyzMZxjfGu0vAUjS2g0LSD8UoXOv0LtpH4LxGMemsiPq6LCVIUjNwVM0erkOkGCDA==",
"dev": true,
"funding": [
{
@@ -2924,9 +2933,9 @@
"dev": true
},
"node_modules/core-js-compat": {
"version": "3.30.2",
"resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.30.2.tgz",
"integrity": "sha512-nriW1nuJjUgvkEjIot1Spwakz52V9YkYHZAQG6A1eCgC8AA1p0zngrQEP9R0+V6hji5XilWKG1Bd0YRppmGimA==",
"version": "3.31.0",
"resolved": "https://registry.npmjs.org/core-js-compat/-/core-js-compat-3.31.0.tgz",
"integrity": "sha512-hM7YCu1cU6Opx7MXNu0NuumM0ezNeAeRKadixyiQELWY3vT3De9S4J5ZBMraWV2vZnrE1Cirl0GtFtDtMUXzPw==",
"dev": true,
"dependencies": {
"browserslist": "^4.21.5"
@@ -2982,9 +2991,9 @@
}
},
"node_modules/daisyui": {
"version": "3.0.20",
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-3.0.20.tgz",
"integrity": "sha512-EQ0ryTM/+YfkTaRPdUvolsA8pThYnrjjvj2IEXQg31dRVxrEh+ovx5iBknKPXO6XJh2auYYfPonHBN7P88DNeQ==",
"version": "3.1.7",
"resolved": "https://registry.npmjs.org/daisyui/-/daisyui-3.1.7.tgz",
"integrity": "sha512-VQhaunQlB7Buo+AbE+S3i6H/eYknKEuKVHG67y7sbG58uEjeLK6n2rojG3YE7fwoOss6ldbUL8Oy0MyoJi0CHw==",
"dev": true,
"dependencies": {
"colord": "^2.9",
@@ -3116,9 +3125,9 @@
}
},
"node_modules/electron-to-chromium": {
"version": "1.4.425",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.425.tgz",
"integrity": "sha512-wv1NufHxu11zfDbY4fglYQApMswleE9FL/DSeyOyauVXDZ+Kco96JK/tPfBUaDqfRarYp2WH2hJ/5UnVywp9Jg==",
"version": "1.4.442",
"resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.442.tgz",
"integrity": "sha512-RkrZF//Ya+0aJq2NM3OdisNh5ZodZq1rdXOS96G8DdDgpDKqKE81yTbbQ3F/4CKm1JBPsGu1Lp/akkna2xO06Q==",
"dev": true
},
"node_modules/es-abstract": {
@@ -3265,15 +3274,15 @@
}
},
"node_modules/eslint": {
"version": "8.42.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.42.0.tgz",
"integrity": "sha512-ulg9Ms6E1WPf67PHaEY4/6E2tEn5/f7FXGzr3t9cBMugOmf1INYvuUwwh1aXQN4MfJ6a5K2iNwP3w4AColvI9A==",
"version": "8.43.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-8.43.0.tgz",
"integrity": "sha512-aaCpf2JqqKesMFGgmRPessmVKjcGXqdlAYLLC3THM8t5nBRZRQ+st5WM/hoJXkdioEXLLbXgclUpM0TXo5HX5Q==",
"dev": true,
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.4.0",
"@eslint/eslintrc": "^2.0.3",
"@eslint/js": "8.42.0",
"@eslint/js": "8.43.0",
"@humanwhocodes/config-array": "^0.11.10",
"@humanwhocodes/module-importer": "^1.0.1",
"@nodelib/fs.walk": "^1.2.8",
@@ -5033,17 +5042,17 @@
}
},
"node_modules/optionator": {
"version": "0.9.1",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.1.tgz",
"integrity": "sha512-74RlY5FCnhq4jRxVUPKDaRwrVNXMqsGsiW6AJw4XK8hmtm10wC0ypZBLw5IIp85NZMr91+qd1RvvENwg7jjRFw==",
"version": "0.9.3",
"resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.3.tgz",
"integrity": "sha512-JjCoypp+jKn1ttEFExxhetCKeJt9zhAgAve5FXHixTvFDW/5aEktX9bufBKLRRMdU7bNtpLfcGu94B3cdEJgjg==",
"dev": true,
"dependencies": {
"@aashutoshrathi/word-wrap": "^1.2.3",
"deep-is": "^0.1.3",
"fast-levenshtein": "^2.0.6",
"levn": "^0.4.1",
"prelude-ls": "^1.2.1",
"type-check": "^0.4.0",
"word-wrap": "^1.2.3"
"type-check": "^0.4.0"
},
"engines": {
"node": ">= 0.8.0"
@@ -5152,9 +5161,9 @@
}
},
"node_modules/pirates": {
"version": "4.0.5",
"resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.5.tgz",
"integrity": "sha512-8V9+HQPupnaXMA23c5hvl69zXvTwTzyAYasnkb0Tts4XvO4CliqONMOnvlq26rkhLC3nWDFBJf73LU1e1VZLaQ==",
"version": "4.0.6",
"resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz",
"integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==",
"dev": true,
"engines": {
"node": ">= 6"
@@ -5464,9 +5473,9 @@
"dev": true
},
"node_modules/react-icons": {
"version": "4.9.0",
"resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.9.0.tgz",
"integrity": "sha512-ijUnFr//ycebOqujtqtV9PFS7JjhWg0QU6ykURVHuL4cbofvRCf3f6GMn9+fBktEFQOIVZnuAYLZdiyadRQRFg==",
"version": "4.10.1",
"resolved": "https://registry.npmjs.org/react-icons/-/react-icons-4.10.1.tgz",
"integrity": "sha512-/ngzDP/77tlCfqthiiGNZeYFACw85fUjZtLbedmJ5DTlNDIwETxhwBzdOJ21zj4iJdvc0J3y7yOsX3PpxAJzrw==",
"dev": true,
"peerDependencies": {
"react": "*"
@@ -5657,9 +5666,9 @@
}
},
"node_modules/rollup": {
"version": "3.24.0",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.24.0.tgz",
"integrity": "sha512-OgraHOIg2YpHQTjl0/ymWfFNBEyPucB7lmhXrQUh38qNOegxLapSPFs9sNr0qKR75awW41D93XafoR2QfhBdUQ==",
"version": "3.25.3",
"resolved": "https://registry.npmjs.org/rollup/-/rollup-3.25.3.tgz",
"integrity": "sha512-ZT279hx8gszBj9uy5FfhoG4bZx8c+0A1sbqtr7Q3KNWIizpTdDEPZbV2xcbvHsnFp4MavCQYZyzApJ+virB8Yw==",
"dev": true,
"bin": {
"rollup": "dist/bin/rollup"
@@ -6112,9 +6121,9 @@
}
},
"node_modules/terser": {
"version": "5.17.7",
"resolved": "https://registry.npmjs.org/terser/-/terser-5.17.7.tgz",
"integrity": "sha512-/bi0Zm2C6VAexlGgLlVxA0P2lru/sdLyfCVaRMfKVo9nWxbmz7f/sD8VPybPeSUJaJcwmCJis9pBIhcVcG1QcQ==",
"version": "5.18.2",
"resolved": "https://registry.npmjs.org/terser/-/terser-5.18.2.tgz",
"integrity": "sha512-Ah19JS86ypbJzTzvUCX7KOsEIhDaRONungA4aYBjEP3JZRf4ocuDzTg4QWZnPn9DEMiMYGJPiSOy7aykoCc70w==",
"dev": true,
"dependencies": {
"@jridgewell/source-map": "^0.3.3",
@@ -6416,9 +6425,9 @@
}
},
"node_modules/vite-plugin-pwa": {
"version": "0.16.3",
"resolved": "https://registry.npmjs.org/vite-plugin-pwa/-/vite-plugin-pwa-0.16.3.tgz",
"integrity": "sha512-eYt++n1dneEo5cChJ7Rg6ZWJG8Xr9I5EzQss5m3zgMOmfHRH83E5W+jhaoLqlSCu/8g4msy9a4iZOxAmhL4HAQ==",
"version": "0.16.4",
"resolved": "https://registry.npmjs.org/vite-plugin-pwa/-/vite-plugin-pwa-0.16.4.tgz",
"integrity": "sha512-lmwHFIs9zI2H9bXJld/zVTbCqCQHZ9WrpyDMqosICDV0FVnCJwniX1NMDB79HGTIZzOQkY4gSZaVTJTw6maz/Q==",
"dev": true,
"dependencies": {
"debug": "^4.3.4",
@@ -6507,15 +6516,6 @@
"url": "https://github.com/sponsors/ljharb"
}
},
"node_modules/word-wrap": {
"version": "1.2.3",
"resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.3.tgz",
"integrity": "sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==",
"dev": true,
"engines": {
"node": ">=0.10.0"
}
},
"node_modules/workbox-background-sync": {
"version": "7.0.0",
"resolved": "https://registry.npmjs.org/workbox-background-sync/-/workbox-background-sync-7.0.0.tgz",

View File

@@ -1,7 +1,7 @@
{
"name": "@arifszn/gitprofile",
"description": "Create an automatic portfolio based on GitHub profile",
"version": "2.5.0",
"version": "2.6.0",
"license": "MIT",
"author": "arifszn",
"repository": {

View File

@@ -249,6 +249,7 @@ GitProfile.propTypes = {
mastodon: PropTypes.string,
facebook: PropTypes.string,
instagram: PropTypes.string,
youtube: PropTypes.string,
dribbble: PropTypes.string,
behance: PropTypes.string,
medium: PropTypes.string,

View File

@@ -19,6 +19,7 @@ import {
FaStackOverflow,
FaTelegram,
FaLinkedin,
FaYoutube,
} from 'react-icons/fa';
import PropTypes from 'prop-types';
import { skeleton } from '../../helpers/utils';
@@ -173,6 +174,14 @@ const Details = ({ profile, loading, social, github }) => {
link={`https://www.instagram.com/${social.instagram}`}
/>
)}
{social?.youtube && (
<ListItem
icon={<FaYoutube />}
title="YouTube:"
value={`@${social.youtube}`}
link={`https://www.youtube.com/@${social.youtube}`}
/>
)}
{social?.medium && (
<ListItem
icon={<AiFillMediumSquare />}

View File

@@ -150,6 +150,7 @@ export const sanitizeConfig = (config) => {
mastodon: config?.social?.mastodon,
facebook: config?.social?.facebook,
instagram: config?.social?.instagram,
youtube: config?.social?.youtube,
dribbble: config?.social?.dribbble,
behance: config?.social?.behance,
medium: config?.social?.medium,

5
types/index.d.ts vendored
View File

@@ -64,6 +64,11 @@ export interface Social {
*/
instagram?: string;
/**
* YouTube
*/
youtube?: string;
/**
* Dribbble
*/

View File

@@ -16,6 +16,9 @@ export default defineConfig({
react(),
VitePWA({
registerType: 'autoUpdate',
workbox: {
navigateFallback: undefined,
},
includeAssets: ['logo.png'],
manifest: {
name: 'Portfolio',