mirror of
https://github.com/NohamR/gitprofile.git
synced 2026-05-26 13:48:17 +00:00
Compare commits
109 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
f137ffd6fa | ||
|
|
0fd4107ce6 | ||
|
|
639d346cb9 | ||
|
|
054b94983c | ||
|
|
27d763d3f9 | ||
|
|
f9ce8bd292 | ||
|
|
8705fa0a65 | ||
|
|
9274119f87 | ||
|
|
2285d21799 | ||
|
|
18a5096d94 | ||
|
|
cb1359c2af | ||
|
|
8e93cf38a7 | ||
|
|
a1e3e94057 | ||
|
|
cb7f37e054 | ||
|
|
f0ad3c95c2 | ||
|
|
ffdf1a7175 | ||
|
|
4f9ba8df17 | ||
|
|
0a7cbd0985 | ||
|
|
6ce0feef7e | ||
|
|
5de48c11fd | ||
|
|
5c766305ea | ||
|
|
815f2ec64e | ||
|
|
ceb84a1562 | ||
|
|
4b9dfb3c20 | ||
|
|
46c84582e9 | ||
|
|
b3907304bf | ||
|
|
7f28179920 | ||
|
|
a65fb9bfd0 | ||
|
|
24892e5f27 | ||
|
|
800f61e0ec | ||
|
|
c96ae81e13 | ||
|
|
58aad33f32 | ||
|
|
81fe01c092 | ||
|
|
87126da8c7 | ||
|
|
37e1fc11ec | ||
|
|
ef87189024 | ||
|
|
90f38bec5f | ||
|
|
ce2711fbdf | ||
|
|
35edab65db | ||
|
|
7c601dbea3 | ||
|
|
4f74eed832 | ||
|
|
fecce68262 | ||
|
|
265c42cbc3 | ||
|
|
634f5f4d51 | ||
|
|
cccb649cd2 | ||
|
|
9ce0d8d3f3 | ||
|
|
f481d9c25d | ||
|
|
2cd12b5e82 | ||
|
|
09edcddf1e | ||
|
|
937c762cf4 | ||
|
|
ceaa281c34 | ||
|
|
1d6001a065 | ||
|
|
506c3c47bc | ||
|
|
76f3f5eedd | ||
|
|
70815d0f18 | ||
|
|
171407b98f | ||
|
|
4893129df0 | ||
|
|
cb99de5994 | ||
|
|
99891187c4 | ||
|
|
4ad60a28fc | ||
|
|
97bfff7d67 | ||
|
|
6bc2028f28 | ||
|
|
8b9e6697eb | ||
|
|
12eb053631 | ||
|
|
c82002bbcf | ||
|
|
b9b71301a6 | ||
|
|
4eb7f0a376 | ||
|
|
6b3e56f57b | ||
|
|
70845a7e56 | ||
|
|
2f1e506d69 | ||
|
|
417bbb1ab3 | ||
|
|
0bf13d0443 | ||
|
|
ea157d40be | ||
|
|
7d0d750bdb | ||
|
|
a2335c49ea | ||
|
|
d689ea8157 | ||
|
|
81c968e01d | ||
|
|
f9218b343d | ||
|
|
8e6d0d8b56 | ||
|
|
5db163a98e | ||
|
|
eb545d13f0 | ||
|
|
4979fbefc6 | ||
|
|
a209f1bed2 | ||
|
|
d6c316abd9 | ||
|
|
3e00c068c3 | ||
|
|
5ddf1ed649 | ||
|
|
4f063ade73 | ||
|
|
fc3f58c0db | ||
|
|
19fb3e1e64 | ||
|
|
ffe04ecf33 | ||
|
|
521efd3d07 | ||
|
|
7a53d4aea4 | ||
|
|
98f44262a9 | ||
|
|
0c1c378055 | ||
|
|
58eb3a841d | ||
|
|
b7ca57e6a9 | ||
|
|
20e93593af | ||
|
|
157b3f85a5 | ||
|
|
a7d342601b | ||
|
|
cf0a344550 | ||
|
|
268f70d53e | ||
|
|
bfa599a508 | ||
|
|
83bfb85b4f | ||
|
|
86b313d143 | ||
|
|
d6e6213991 | ||
|
|
1a0af42ba6 | ||
|
|
30cd7cb152 | ||
|
|
b3de46ba51 | ||
|
|
4ee69ffd98 |
4
.github/workflows/deploy.yml
vendored
4
.github/workflows/deploy.yml
vendored
@@ -29,7 +29,7 @@ jobs:
|
|||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Setup Pages
|
- name: Setup Pages
|
||||||
uses: actions/configure-pages@v2
|
uses: actions/configure-pages@v3
|
||||||
|
|
||||||
- name: Restore cache
|
- name: Restore cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
@@ -58,4 +58,4 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Deploy to GitHub Pages
|
- name: Deploy to GitHub Pages
|
||||||
id: deployment
|
id: deployment
|
||||||
uses: actions/deploy-pages@v1.2.3
|
uses: actions/deploy-pages@v1.2.4
|
||||||
|
|||||||
19
README.md
19
README.md
@@ -64,6 +64,7 @@
|
|||||||
✓ [Google Analytics](#google-analytics)
|
✓ [Google Analytics](#google-analytics)
|
||||||
✓ [Hotjar](#hotjar)
|
✓ [Hotjar](#hotjar)
|
||||||
✓ [SEO](#seo)
|
✓ [SEO](#seo)
|
||||||
|
✓ [PWA](#pwa)
|
||||||
✓ [Avatar and Bio](#avatar-and-bio)
|
✓ [Avatar and Bio](#avatar-and-bio)
|
||||||
✓ [Social Links](#social-links)
|
✓ [Social Links](#social-links)
|
||||||
✓ [Skill Section](#skills)
|
✓ [Skill Section](#skills)
|
||||||
@@ -81,11 +82,11 @@ Or try it **[online](https://stackblitz.com/edit/gitprofile)**.
|
|||||||
<img src="https://arifszn.github.io/assets/img/hosted/gitprofile/themes.png" alt="Themes">
|
<img src="https://arifszn.github.io/assets/img/hosted/gitprofile/themes.png" alt="Themes">
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
## 🎉 Thank you for the 500 ★
|
## 🎉 Thank you for the 800 ★
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
<a href="https://arifszn.github.io/gitprofile">
|
<a href="https://arifszn.github.io/gitprofile">
|
||||||
<img src="https://user-images.githubusercontent.com/45073703/202119579-eae272bd-ed39-434d-9361-df25308e0691.gif" alt="Thank You" width="50%"/>
|
<img src="https://github.com/arifszn/gitprofile/assets/45073703/b3d34d17-cf55-4c74-bf44-3196b1f0ac66" alt="Thank You" width="50%"/>
|
||||||
</a>
|
</a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@@ -104,7 +105,7 @@ These instructions will get you a copy of the project and deploy your portfolio
|
|||||||
- **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.
|
- **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:**
|
- **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`, 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.
|
- 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.
|
- **Enable workflows:** Go to your repo's **Actions** tab and enable workflows.
|
||||||
|
|
||||||

|

|
||||||
@@ -113,7 +114,7 @@ These instructions will get you a copy of the project and deploy your portfolio
|
|||||||
|
|
||||||
- If you are deploying to `https://<USERNAME>.github.io`, set `base` to `'/'`.
|
- If you are deploying to `https://<USERNAME>.github.io`, set `base` to `'/'`.
|
||||||
|
|
||||||
- If you are deploying to `https://<USERNAME>.github.io/<REPO>` (e.g. `https://<USERNAME>.github.io/portfolio`), then set `base` to `'/<REPO>/'` (e.g. `'/portfolio/'`).
|
- If you are deploying to `https://<USERNAME>.github.io/<REPO_NAME>` (e.g. `https://<USERNAME>.github.io/portfolio`), then set `base` to `'/<REPO_NAME>/'` (e.g. `'/portfolio/'`).
|
||||||
|
|
||||||
```js
|
```js
|
||||||
// vite.config.js
|
// vite.config.js
|
||||||
@@ -156,7 +157,9 @@ As this is a Vite project, you can also host your website to Netlify, Vercel, He
|
|||||||
|
|
||||||
### Installing as package
|
### Installing as package
|
||||||
|
|
||||||
You can also use **GitProfile** by installing as an NPM package. First Install **GitProfile** via <a href="https://www.npmjs.com/package/@arifszn/gitprofile">NPM</a>.
|
You can also use **GitProfile** by installing as an NPM package.
|
||||||
|
|
||||||
|
First Install **GitProfile** via <a href="https://www.npmjs.com/package/@arifszn/gitprofile">NPM</a>.
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
npm install @arifszn/gitprofile
|
npm install @arifszn/gitprofile
|
||||||
@@ -442,6 +445,12 @@ const config = {
|
|||||||
|
|
||||||
Meta tags will be auto-generated from configs dynamically. However, you can also manually add meta tags in `public/index.html`.
|
Meta tags will be auto-generated from configs dynamically. However, you can also manually add meta tags in `public/index.html`.
|
||||||
|
|
||||||
|
### PWA
|
||||||
|
|
||||||
|
GitProfile is PWA enabled. The site can be installed as a Progressive Web App.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
### Avatar and Bio
|
### Avatar and Bio
|
||||||
|
|
||||||
Your avatar and bio will be fetched from GitHub automatically.
|
Your avatar and bio will be fetched from GitHub automatically.
|
||||||
|
|||||||
6925
package-lock.json
generated
6925
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
13
package.json
13
package.json
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@arifszn/gitprofile",
|
"name": "@arifszn/gitprofile",
|
||||||
"description": "Create an automatic portfolio based on GitHub profile",
|
"description": "Create an automatic portfolio based on GitHub profile",
|
||||||
"version": "2.4.0",
|
"version": "2.5.0",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"author": "arifszn",
|
"author": "arifszn",
|
||||||
"repository": {
|
"repository": {
|
||||||
@@ -42,11 +42,11 @@
|
|||||||
"react-dom": "^18.2.0"
|
"react-dom": "^18.2.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@arifszn/blog-js": "^2.0.0",
|
"@arifszn/blog-js": "^2.0.4",
|
||||||
"@vitejs/plugin-react": "^3.0.0",
|
"@vitejs/plugin-react": "^4.0.0",
|
||||||
"autoprefixer": "^10.4.4",
|
"autoprefixer": "^10.4.4",
|
||||||
"axios": "^1.1.3",
|
"axios": "^1.1.3",
|
||||||
"daisyui": "^2.11.0",
|
"daisyui": "^3.0.3",
|
||||||
"date-fns": "^2.28.0",
|
"date-fns": "^2.28.0",
|
||||||
"eslint": "^8.11.0",
|
"eslint": "^8.11.0",
|
||||||
"eslint-config-prettier": "^8.5.0",
|
"eslint-config-prettier": "^8.5.0",
|
||||||
@@ -56,10 +56,11 @@
|
|||||||
"prettier": "^2.6.0",
|
"prettier": "^2.6.0",
|
||||||
"prop-types": "^15.8.1",
|
"prop-types": "^15.8.1",
|
||||||
"react-helmet-async": "^1.2.3",
|
"react-helmet-async": "^1.2.3",
|
||||||
"react-hotjar": "^5.0.0",
|
"react-hotjar": "^6.1.0",
|
||||||
"react-icons": "^4.3.1",
|
"react-icons": "^4.3.1",
|
||||||
"tailwindcss": "^3.0.23",
|
"tailwindcss": "^3.0.23",
|
||||||
"vite": "^4.0.3"
|
"vite": "^4.0.3",
|
||||||
|
"vite-plugin-pwa": "^0.16.3"
|
||||||
},
|
},
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"git-profile",
|
"git-profile",
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
import { Fragment } from 'react';
|
|
||||||
import { AiOutlineStar, AiOutlineFork } from 'react-icons/ai';
|
|
||||||
import PropTypes from 'prop-types';
|
import PropTypes from 'prop-types';
|
||||||
import { ga, languageColor, skeleton } from '../../helpers/utils';
|
import { Fragment } from 'react';
|
||||||
|
import { AiOutlineFork, AiOutlineStar } from 'react-icons/ai';
|
||||||
import { MdInsertLink } from 'react-icons/md';
|
import { MdInsertLink } from 'react-icons/md';
|
||||||
|
import { ga, languageColor, skeleton } from '../../helpers/utils';
|
||||||
|
|
||||||
const Project = ({ repo, loading, github, googleAnalytics }) => {
|
const Project = ({ repo, loading, github, googleAnalytics }) => {
|
||||||
if (!loading && Array.isArray(repo) && repo.length === 0) {
|
if (!loading && Array.isArray(repo) && repo.length === 0) {
|
||||||
@@ -89,7 +89,7 @@ const Project = ({ repo, loading, github, googleAnalytics }) => {
|
|||||||
<div className="flex items-center">
|
<div className="flex items-center">
|
||||||
<div className="card-title text-lg tracking-wide flex text-base-content opacity-60">
|
<div className="card-title text-lg tracking-wide flex text-base-content opacity-60">
|
||||||
<MdInsertLink className="my-auto" />
|
<MdInsertLink className="my-auto" />
|
||||||
<span className="capitalize">{item.name}</span>
|
<span>{item.name}</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<p className="mb-5 mt-1 text-base-content text-opacity-60 text-sm">
|
<p className="mb-5 mt-1 text-base-content text-opacity-60 text-sm">
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ const ThemeChanger = ({ theme, setTheme, loading, themeConfig }) => {
|
|||||||
</div>
|
</div>
|
||||||
<div
|
<div
|
||||||
tabIndex={0}
|
tabIndex={0}
|
||||||
className="mt-16 overflow-y-auto shadow-2xl top-px dropdown-content max-h-96 w-52 rounded-lg bg-base-200 text-base-content"
|
className="mt-16 overflow-y-auto shadow-2xl top-px dropdown-content max-h-96 w-52 rounded-lg bg-base-200 text-base-content z-10"
|
||||||
>
|
>
|
||||||
<ul className="p-4 menu compact">
|
<ul className="p-4 menu compact">
|
||||||
{[
|
{[
|
||||||
|
|||||||
@@ -3,13 +3,34 @@ import react from '@vitejs/plugin-react';
|
|||||||
import tailwind from 'tailwindcss';
|
import tailwind from 'tailwindcss';
|
||||||
import autoprefixer from 'autoprefixer';
|
import autoprefixer from 'autoprefixer';
|
||||||
import tailwindConfig from './tailwind.config.mjs';
|
import tailwindConfig from './tailwind.config.mjs';
|
||||||
|
import { VitePWA } from 'vite-plugin-pwa';
|
||||||
|
|
||||||
// https://vitejs.dev/config/
|
// https://vitejs.dev/config/
|
||||||
export default defineConfig({
|
export default defineConfig({
|
||||||
// If you are deploying to https://<USERNAME>.github.io/, set base to '/'.
|
// If you are deploying to https://<USERNAME>.github.io/, for example your repository is at https://github.com/<USERNAME>, set base to '/'.
|
||||||
// If you are deploying to https://<USERNAME>.github.io/<REPO>/, for example your repository is at https://github.com/<USERNAME>/<REPO>, then set base to '/<REPO>/'.
|
|
||||||
|
// If you are deploying to https://<USERNAME>.github.io/<REPO_NAME>/, for example your repository is at https://github.com/<USERNAME>/<REPO_NAME>, then set base to '/<REPO_NAME>/'.
|
||||||
|
|
||||||
base: '/gitprofile/',
|
base: '/gitprofile/',
|
||||||
plugins: [react()],
|
plugins: [
|
||||||
|
react(),
|
||||||
|
VitePWA({
|
||||||
|
registerType: 'autoUpdate',
|
||||||
|
includeAssets: ['logo.png'],
|
||||||
|
manifest: {
|
||||||
|
name: 'Portfolio',
|
||||||
|
short_name: 'Portfolio',
|
||||||
|
description: 'Personal Portfolio',
|
||||||
|
icons: [
|
||||||
|
{
|
||||||
|
src: 'logo.png',
|
||||||
|
sizes: '64x64 32x32 24x24 16x16 192x192 512x512',
|
||||||
|
type: 'image/png',
|
||||||
|
},
|
||||||
|
],
|
||||||
|
},
|
||||||
|
}),
|
||||||
|
],
|
||||||
css: {
|
css: {
|
||||||
postcss: {
|
postcss: {
|
||||||
plugins: [tailwind(tailwindConfig), autoprefixer],
|
plugins: [tailwind(tailwindConfig), autoprefixer],
|
||||||
|
|||||||
Reference in New Issue
Block a user