11 | ) {
12 | res.status(200).json({ name: 'John Doe' })
13 | }
14 |
--------------------------------------------------------------------------------
/next.config.js:
--------------------------------------------------------------------------------
1 | /** @type {import('next').NextConfig} */
2 | const nextConfig = {
3 | reactStrictMode: true,
4 | images:{
5 | domains:['github-readme-stats.vercel.app','github-readme-streak-stats.herokuapp.com','github-profile-trophy.vercel.app','user-images.githubusercontent.com','raw.githubusercontent.com']
6 | },
7 | env:{
8 | GOOGLE_ANALYTICS: process.env.GOOGLE_ANALYTICS,
9 |
10 |
11 | }
12 | }
13 |
14 | module.exports = nextConfig
15 |
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
2 |
3 | # dependencies
4 | /node_modules
5 | /.pnp
6 | .pnp.js
7 |
8 | # testing
9 | /coverage
10 |
11 | # next.js
12 | /.next/
13 | /out/
14 |
15 | # production
16 | /build
17 |
18 | # misc
19 | .DS_Store
20 | *.pem
21 |
22 | # debug
23 | npm-debug.log*
24 | yarn-debug.log*
25 | yarn-error.log*
26 | .pnpm-debug.log*
27 |
28 | # local env files
29 | .env
30 |
31 | # vercel
32 | .vercel
33 |
34 | # typescript
35 | *.tsbuildinfo
36 | next-env.d.ts
37 |
--------------------------------------------------------------------------------
/Components/Title.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 |
3 | const Title = ({label,title,setTitle}) => {
4 | return (
5 |
6 |
7 | setTitle(e.target.value)} className='py-2 outline-none text-slate-400 font-Alegreya font-semibold text-sm bg-slate-900 border-2 border-slate-800 rounded-md pl-2' type="text" id='name' placeholder='Enter your title..' />
8 |
9 | )
10 | }
11 |
12 | export default Title
13 |
--------------------------------------------------------------------------------
/public/vercel.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/tailwind.config.js:
--------------------------------------------------------------------------------
1 | /** @type {import('tailwindcss').Config} */
2 | module.exports = {
3 | content: [
4 | "./app/**/*.{js,ts,jsx,tsx}",
5 | "./pages/**/*.{js,ts,jsx,tsx}",
6 | "./Components/**/*.{js,ts,jsx,tsx}",
7 |
8 | // Or if using `src` directory:
9 | "./src/**/*.{js,ts,jsx,tsx}",
10 | ],
11 | theme: {
12 | extend: {
13 | fontFamily: {
14 | Alegreya: "Alegreya Sans",
15 | Montserrat: "Montserrat",
16 | OpenSans: "Open Sans",
17 | Lato: "Lato",
18 | Roboto: "Roboto",
19 | RobotoSlab: "Roboto Slab",
20 | },
21 | },
22 | },
23 | plugins: [],
24 | };
25 |
--------------------------------------------------------------------------------
/tsconfig.json:
--------------------------------------------------------------------------------
1 | {
2 | "compilerOptions": {
3 | "target": "es5",
4 | "lib": ["dom", "dom.iterable", "esnext"],
5 | "allowJs": true,
6 | "skipLibCheck": true,
7 | "strict": true,
8 | "forceConsistentCasingInFileNames": true,
9 | "noEmit": true,
10 | "esModuleInterop": true,
11 | "module": "esnext",
12 | "moduleResolution": "node",
13 | "resolveJsonModule": true,
14 | "isolatedModules": true,
15 | "jsx": "preserve",
16 | "incremental": true,
17 | "baseUrl": ".",
18 | "paths": {
19 | "@/*": ["./*"]
20 | }
21 | },
22 | "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", "pages/index.js"],
23 | "exclude": ["node_modules"]
24 | }
25 |
--------------------------------------------------------------------------------
/Components/Message.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 |
3 | const Message = ({msg,success,setMessage}) => {
4 |
5 |
6 | return (
7 | 0?"top-3":"-top-96"} duration-300 ease-linear z-50`}>
8 |
0 && success===null?"bg-yellow-800":success===true?"bg-green-800":"bg-red-800" } relative h-full justify-center flex items-center mx-auto px-12`}>
9 |
10 | {msg}
11 |
12 |
13 | )
14 | }
15 |
16 | export default Message
--------------------------------------------------------------------------------
/styles/globals.css:
--------------------------------------------------------------------------------
1 | @tailwind base;
2 | @tailwind components;
3 | @tailwind utilities;
4 | @import url('https://fonts.googleapis.com/css2?family=Roboto+Slab&display=swap');
5 | @import url('https://fonts.googleapis.com/css2?family=Alegreya+Sans:wght@900&family=Lato:wght@900&family=Montserrat:wght@900&family=Open+Sans&family=Roboto:wght@400;900&display=swap');
6 |
7 | /* width */
8 |
9 |
10 | ::-webkit-scrollbar {
11 | width: 1px;
12 |
13 | }
14 |
15 |
16 |
17 | /* Track */
18 | ::-webkit-scrollbar-track {
19 | box-shadow: inset 0 0 5px gray;
20 | border-radius: 10px;
21 | }
22 |
23 | /* Handle */
24 | ::-webkit-scrollbar-thumb {
25 | background: rgb(9, 185, 185);
26 | border-radius: 10px;
27 | }
28 |
29 | /* Handle on hover */
30 | ::-webkit-scrollbar-thumb:hover {
31 | background: transparent;
32 | }
--------------------------------------------------------------------------------
/pages/_app.tsx:
--------------------------------------------------------------------------------
1 | import '@/styles/globals.css'
2 | import SEO from '@bradgarropy/next-seo'
3 | import type { AppProps } from 'next/app'
4 |
5 | export default function App({ Component, pageProps }: AppProps) {
6 | return <>
7 |
20 |
21 | >
22 | }
23 |
--------------------------------------------------------------------------------
/Components/skillsCard.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 | // import { skills } from '../helper/static'
3 |
4 | const SkillsCard = ({skill,onChange,skills,icons}) => {
5 | return (
6 | onChange(skill)} className='flex flex-row border-2 bg-slate-800 border-slate-700 rounded-md h-28 items-center relative'>
7 |
onChange(skill)} checked={skills[skill]} />
8 |
9 |
{skill.charAt(0).toUpperCase()+skill.slice(1)}
10 |

11 |
12 |
13 | )
14 | }
15 |
16 | export default SkillsCard
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "readmegenerator",
3 | "version": "0.1.0",
4 | "private": true,
5 | "scripts": {
6 | "dev": "next dev",
7 | "build": "next build",
8 | "start": "next start",
9 | "lint": "next lint"
10 | },
11 | "dependencies": {
12 | "@bradgarropy/next-seo": "^1.2.0",
13 | "@next/font": "13.1.6",
14 | "@primer/octicons-react": "^17.11.1",
15 | "@ramonak/react-progress-bar": "^5.0.3",
16 | "@types/node": "18.11.18",
17 | "@types/react": "18.0.27",
18 | "@types/react-dom": "18.0.10",
19 | "axios": "^1.3.2",
20 | "eslint": "8.33.0",
21 | "eslint-config-next": "13.1.6",
22 | "gsap": "^3.11.4",
23 | "next": "13.1.6",
24 | "react": "18.2.0",
25 | "react-dom": "18.2.0",
26 | "react-icons": "^4.7.1",
27 | "react-syntax-highlighter": "^15.5.0",
28 | "typescript": "4.9.5"
29 | },
30 | "devDependencies": {
31 | "autoprefixer": "^10.4.13",
32 | "postcss": "^8.4.21",
33 | "tailwindcss": "^3.2.4"
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/pages/_document.tsx:
--------------------------------------------------------------------------------
1 | import { Html, Head, Main, NextScript } from "next/document";
2 | import Script from "next/script";
3 |
4 | export default function Document() {
5 | return (
6 |
7 |
8 |
12 |
13 |
23 |
24 |
26 |
27 |
28 |
29 |
30 |
31 |
32 |
33 |
34 | );
35 | }
36 |
--------------------------------------------------------------------------------
/Components/SocialInfo.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 | import Image from 'next/image'
3 |
4 | const SocialInfo = ({value,onSetSoical,icons,placeholder,setMsg}) => {
5 |
6 | return (
7 |
8 |
9 | {value.length>0 ? :
10 |
11 |
12 | }
13 | onSetSoical(`${placeholder}`,e)} type="text" className={`w-full bg-slate-900 outline-none font-semibold ${placeholder==="github" &&"animate-pulse"} text-slate-300 placeholder:text-slate-500 placeholder:text-sm placeholder:font-OpenSans placeholder:${placeholder==="github"?"animate-pulse":"animate-none"} placeholder:${placeholder==="github"?"text-red-500":" text-slate-300"}`} placeholder={`${placeholder.charAt(0).toUpperCase()}${placeholder.slice(1)} username`} />
14 |
15 | )
16 | }
17 |
18 | export default SocialInfo
--------------------------------------------------------------------------------
/public/thirteen.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/public/next.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/Components/Works.js:
--------------------------------------------------------------------------------
1 | import React from "react";
2 |
3 | const Works = ({index,handleOnRemove, onChange,val}) => {
4 | return (
5 |
6 |
Project-{index+1}
7 |
22 |
23 |
24 | );
25 | };
26 |
27 | export default Works;
28 |
--------------------------------------------------------------------------------
/Components/MoreInfo.js:
--------------------------------------------------------------------------------
1 | import React from 'react'
2 |
3 | const MoreInfo = ({val,onChange}) => {
4 | return (
5 |
20 | )
21 | }
22 |
23 | export default MoreInfo
--------------------------------------------------------------------------------
/Components/Implementation.js:
--------------------------------------------------------------------------------
1 | import Image from "next/image";
2 | import React from "react";
3 |
4 | const Implementation = () => {
5 | return (
6 |
7 |
8 |
9 |
10 | Docs For Implementation
11 |
12 |
13 |
#STEP-1:
14 |
15 | Create a Repository : name must
16 | be same as your github username{" "}
17 |
18 |
19 |
26 |
27 |
28 |
#STEP-2
29 |
Make Sure Check the readme.md
30 |
31 |
38 |
39 |
40 |
#STEP-3
41 |
Edit the readme.md files which is present in the created repository.
42 |
43 |
50 |
51 |
52 |
53 |
54 |
#STEP-4
55 |
Copy the #Code given below.
56 |
57 |
58 | );
59 | };
60 |
61 | export default Implementation;
62 |
--------------------------------------------------------------------------------
/Components/DevCard.js:
--------------------------------------------------------------------------------
1 | import axios from "axios";
2 | import React, { useEffect, useLayoutEffect, useState } from "react";
3 | import { StarIcon, RepoForkedIcon } from "@primer/octicons-react";
4 | import gsap from "gsap";
5 | import { devSocial, devSocialTitle } from "@/helper/static";
6 | import Image from "next/image";
7 | const DevCard = () => {
8 | const [forksCount, setForksCount] = useState("");
9 |
10 | // const getData = async () => {
11 |
12 | // axios
13 | // .get(
14 | // "https://api.github.com/repos/Technicalranjitofficial/nothing/forks"
15 | // )
16 | // .then((res) => {
17 | // setForksCount(res.data[0].forks_count);
18 | // })
19 | // .catch((err) => {
20 | // console.log(err);
21 | // });
22 |
23 | // };
24 |
25 | useEffect(()=>{
26 | // getData();
27 | // setInterval(getData, 60000);
28 |
29 | console.log("clicked")
30 | gsap.set(".star, .fork", {
31 | transformOrigin: "center",
32 | });
33 | gsap.to(".star, .fork", {
34 | rotateZ: "360",
35 | duration: 2,
36 | ease: "elastic.inOut",
37 | repeat: -1,
38 | yoyo: true,
39 | });
40 |
41 |
42 | },[])
43 | return (
44 |
45 |
Github Profile Readme Generator
46 |
60 |
61 | {devSocialTitle.map((val,index)=>{
62 | return
63 | })}
64 |
65 |
66 | );
67 | };
68 |
69 | export default DevCard;
70 |
--------------------------------------------------------------------------------
/.github/workflows/nextjs.yml:
--------------------------------------------------------------------------------
1 | # Sample workflow for building and deploying a Next.js site to GitHub Pages
2 | #
3 | # To get started with Next.js see: https://nextjs.org/docs/getting-started
4 | #
5 | name: Deploy Next.js site to Pages
6 |
7 | on:
8 | # Runs on pushes targeting the default branch
9 | push:
10 | branches: ["main"]
11 |
12 | # Allows you to run this workflow manually from the Actions tab
13 | workflow_dispatch:
14 |
15 | # Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
16 | permissions:
17 | contents: read
18 | pages: write
19 | id-token: write
20 |
21 | # Allow one concurrent deployment
22 | concurrency:
23 | group: "pages"
24 | cancel-in-progress: true
25 |
26 | jobs:
27 | # Build job
28 | build:
29 | runs-on: ubuntu-latest
30 | steps:
31 | - name: Checkout
32 | uses: actions/checkout@v3
33 | - name: Detect package manager
34 | id: detect-package-manager
35 | run: |
36 | if [ -f "${{ github.workspace }}/yarn.lock" ]; then
37 | echo "manager=yarn" >> $GITHUB_OUTPUT
38 | echo "command=install" >> $GITHUB_OUTPUT
39 | echo "runner=yarn" >> $GITHUB_OUTPUT
40 | exit 0
41 | elif [ -f "${{ github.workspace }}/package.json" ]; then
42 | echo "manager=npm" >> $GITHUB_OUTPUT
43 | echo "command=ci" >> $GITHUB_OUTPUT
44 | echo "runner=npx --no-install" >> $GITHUB_OUTPUT
45 | exit 0
46 | else
47 | echo "Unable to determine packager manager"
48 | exit 1
49 | fi
50 | - name: Setup Node
51 | uses: actions/setup-node@v3
52 | with:
53 | node-version: "16"
54 | cache: ${{ steps.detect-package-manager.outputs.manager }}
55 | - name: Setup Pages
56 | uses: actions/configure-pages@v3
57 | with:
58 | # Automatically inject basePath in your Next.js configuration file and disable
59 | # server side image optimization (https://nextjs.org/docs/api-reference/next/image#unoptimized).
60 | #
61 | # You may remove this line if you want to manage the configuration yourself.
62 | static_site_generator: next
63 | - name: Restore cache
64 | uses: actions/cache@v3
65 | with:
66 | path: |
67 | .next/cache
68 | # Generate a new cache whenever packages or source files change.
69 | key: ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-${{ hashFiles('**.[jt]s', '**.[jt]sx') }}
70 | # If source files changed but packages didn't, rebuild from a prior cache.
71 | restore-keys: |
72 | ${{ runner.os }}-nextjs-${{ hashFiles('**/package-lock.json', '**/yarn.lock') }}-
73 | - name: Install dependencies
74 | run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
75 | - name: Build with Next.js
76 | run: ${{ steps.detect-package-manager.outputs.runner }} next build
77 | - name: Static HTML export with Next.js
78 | run: ${{ steps.detect-package-manager.outputs.runner }} next export
79 | - name: Upload artifact
80 | uses: actions/upload-pages-artifact@v1
81 | with:
82 | path: ./out
83 |
84 | # Deployment job
85 | deploy:
86 | environment:
87 | name: github-pages
88 | url: ${{ steps.deployment.outputs.page_url }}
89 | runs-on: ubuntu-latest
90 | needs: build
91 | steps:
92 | - name: Deploy to GitHub Pages
93 | id: deployment
94 | uses: actions/deploy-pages@v1
95 |
--------------------------------------------------------------------------------
/Components/AddOns.js:
--------------------------------------------------------------------------------
1 | import Image from "next/image";
2 | import React from "react";
3 |
4 | const AddOns = ({addOns,onCheckAddons}) => {
5 | return (
6 |
41 | );
42 | };
43 |
44 | export default AddOns;
45 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 |
2 |
3 | 
4 |
5 |
6 |
7 |
8 |
9 |
10 | GitHub Profile README Generator
11 |
12 |
13 |
14 |
15 |
16 |
17 |
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
26 |
27 |
28 |
29 |
30 |
31 |
32 | 
33 |
34 |
35 | View Demo
36 | ·
37 | Report Bug
38 | ·
39 | Request Feature
40 |
41 |
42 |
43 | 😍 Loved the tool? Please don't forget to fork and star the repos
44 |
45 |
46 |
47 |
48 | #### Tired of editing GitHub Profile README with new features?
49 |
50 | This tool provides an easy way to create a GitHub profile readme with the latest add-ons such as `visitors count`, `github stats`, etc.
51 |
52 | ## 🚀 Demo
53 |
54 |
55 |
56 |
57 |
58 | Try the tool: [GitHub Profile README Generator](https://technicalranjitofficial.github.io/github-profile-readme-generator)
59 |
60 | ## 🧐 Features
61 |
62 | Just fill in the details such as `Name`, `Tagline`, `Dev Platforms Username`, `Current Work`, `Portfolio`, etc. with a minimal UI.
63 | - **SVG BANNER**
64 | - **Uniform Dev Icons**
65 |
66 | - **Uniform Social Icons**
67 |
68 | - **Visitors Counter Badge**
69 |
70 | - **GitHub Profile Stats Card**
71 |
72 | - **GitHub Top Skills**
73 |
74 | - **GitHub Streak Stats**
75 |
76 |
77 | Click on `Generate README` to get your README in `markdown`.
78 | You can preview the README too.
79 |
80 | ## 🛠️ Installation Steps
81 |
82 | 1. Clone the repository
83 |
84 | ```bash
85 | git clone https://github.com/technicalranjitofficial/github-profile-readme-generator.git
86 | ```
87 |
88 | 2. Change the working directory
89 |
90 | ```bash
91 | cd github-profile-readme-generator
92 | ```
93 |
94 | 3. Install dependencies
95 |
96 | ```bash
97 | yarn
98 | ```
99 |
100 | 4. Run the app
101 |
102 | ```bash
103 | yarn dev
104 | ```
105 |
106 | 🌟 You are all set!
107 |
108 | ## 🍰 Contributing
109 |
110 | Please contribute using [GitHub Flow](https://guides.github.com/introduction/flow). Create a branch, add commits, and [open a pull request](https://github.com/technicalranjitofficial/github-profile-readme-generator/compare).
111 |
112 |
113 | ## 💻 Built with
114 |
115 | - [Nextjs](https://www.nextjs.com/)
116 | - [Tailwind CSS](https://tailwindcss.com/): for styling
117 |
118 | ## 🙇 Special Thanks
119 |
120 | - [Anurag Hazra](https://github.com/anuraghazra) for amazing [github-readme-stats](https://github.com/anuraghazra/github-readme-stats)
121 | - [Anton Komarev](https://github.com/antonkomarev) for super cool [github-profile-views-counter](https://github.com/antonkomarev/github-profile-views-
122 | - [Jonah Lawrence](https://github.com/DenverCoder1) for the incredible [github-readme-streak-stats](https://github.com/DenverCoder1/github-readme-streak-stats)
123 | - [Akshay090](https://github.com/Akshay090/) for the incredible [SVG BANNER](https://github.com/Akshay090/svg-banners)
124 |
125 |
126 |
127 |
128 |
--------------------------------------------------------------------------------
/styles/Home.module.css:
--------------------------------------------------------------------------------
1 | .main {
2 | display: flex;
3 | flex-direction: column;
4 | justify-content: space-between;
5 | align-items: center;
6 | padding: 6rem;
7 | min-height: 100vh;
8 | }
9 |
10 | .description {
11 | display: inherit;
12 | justify-content: inherit;
13 | align-items: inherit;
14 | font-size: 0.85rem;
15 | max-width: var(--max-width);
16 | width: 100%;
17 | z-index: 2;
18 | font-family: var(--font-mono);
19 | }
20 |
21 | .description a {
22 | display: flex;
23 | justify-content: center;
24 | align-items: center;
25 | gap: 0.5rem;
26 | }
27 |
28 | .description p {
29 | position: relative;
30 | margin: 0;
31 | padding: 1rem;
32 | background-color: rgba(var(--callout-rgb), 0.5);
33 | border: 1px solid rgba(var(--callout-border-rgb), 0.3);
34 | border-radius: var(--border-radius);
35 | }
36 |
37 | .code {
38 | font-weight: 700;
39 | font-family: var(--font-mono);
40 | }
41 |
42 | .grid {
43 | display: grid;
44 | grid-template-columns: repeat(4, minmax(25%, auto));
45 | width: var(--max-width);
46 | max-width: 100%;
47 | }
48 |
49 | .card {
50 | padding: 1rem 1.2rem;
51 | border-radius: var(--border-radius);
52 | background: rgba(var(--card-rgb), 0);
53 | border: 1px solid rgba(var(--card-border-rgb), 0);
54 | transition: background 200ms, border 200ms;
55 | }
56 |
57 | .card span {
58 | display: inline-block;
59 | transition: transform 200ms;
60 | }
61 |
62 | .card h2 {
63 | font-weight: 600;
64 | margin-bottom: 0.7rem;
65 | }
66 |
67 | .card p {
68 | margin: 0;
69 | opacity: 0.6;
70 | font-size: 0.9rem;
71 | line-height: 1.5;
72 | max-width: 30ch;
73 | }
74 |
75 | .center {
76 | display: flex;
77 | justify-content: center;
78 | align-items: center;
79 | position: relative;
80 | padding: 4rem 0;
81 | }
82 |
83 | .center::before {
84 | background: var(--secondary-glow);
85 | border-radius: 50%;
86 | width: 480px;
87 | height: 360px;
88 | margin-left: -400px;
89 | }
90 |
91 | .center::after {
92 | background: var(--primary-glow);
93 | width: 240px;
94 | height: 180px;
95 | z-index: -1;
96 | }
97 |
98 | .center::before,
99 | .center::after {
100 | content: '';
101 | left: 50%;
102 | position: absolute;
103 | filter: blur(45px);
104 | transform: translateZ(0);
105 | }
106 |
107 | .logo,
108 | .thirteen {
109 | position: relative;
110 | }
111 |
112 | .thirteen {
113 | display: flex;
114 | justify-content: center;
115 | align-items: center;
116 | width: 75px;
117 | height: 75px;
118 | padding: 25px 10px;
119 | margin-left: 16px;
120 | transform: translateZ(0);
121 | border-radius: var(--border-radius);
122 | overflow: hidden;
123 | box-shadow: 0px 2px 8px -1px #0000001a;
124 | }
125 |
126 | .thirteen::before,
127 | .thirteen::after {
128 | content: '';
129 | position: absolute;
130 | z-index: -1;
131 | }
132 |
133 | /* Conic Gradient Animation */
134 | .thirteen::before {
135 | animation: 6s rotate linear infinite;
136 | width: 200%;
137 | height: 200%;
138 | background: var(--tile-border);
139 | }
140 |
141 | /* Inner Square */
142 | .thirteen::after {
143 | inset: 0;
144 | padding: 1px;
145 | border-radius: var(--border-radius);
146 | background: linear-gradient(
147 | to bottom right,
148 | rgba(var(--tile-start-rgb), 1),
149 | rgba(var(--tile-end-rgb), 1)
150 | );
151 | background-clip: content-box;
152 | }
153 |
154 | /* Enable hover only on non-touch devices */
155 | @media (hover: hover) and (pointer: fine) {
156 | .card:hover {
157 | background: rgba(var(--card-rgb), 0.1);
158 | border: 1px solid rgba(var(--card-border-rgb), 0.15);
159 | }
160 |
161 | .card:hover span {
162 | transform: translateX(4px);
163 | }
164 | }
165 |
166 | @media (prefers-reduced-motion) {
167 | .thirteen::before {
168 | animation: none;
169 | }
170 |
171 | .card:hover span {
172 | transform: none;
173 | }
174 | }
175 |
176 | /* Mobile */
177 | @media (max-width: 700px) {
178 | .content {
179 | padding: 4rem;
180 | }
181 |
182 | .grid {
183 | grid-template-columns: 1fr;
184 | margin-bottom: 120px;
185 | max-width: 320px;
186 | text-align: center;
187 | }
188 |
189 | .card {
190 | padding: 1rem 2.5rem;
191 | }
192 |
193 | .card h2 {
194 | margin-bottom: 0.5rem;
195 | }
196 |
197 | .center {
198 | padding: 8rem 0 6rem;
199 | }
200 |
201 | .center::before {
202 | transform: none;
203 | height: 300px;
204 | }
205 |
206 | .description {
207 | font-size: 0.8rem;
208 | }
209 |
210 | .description a {
211 | padding: 1rem;
212 | }
213 |
214 | .description p,
215 | .description div {
216 | display: flex;
217 | justify-content: center;
218 | position: fixed;
219 | width: 100%;
220 | }
221 |
222 | .description p {
223 | align-items: center;
224 | inset: 0 0 auto;
225 | padding: 2rem 1rem 1.4rem;
226 | border-radius: 0;
227 | border: none;
228 | border-bottom: 1px solid rgba(var(--callout-border-rgb), 0.25);
229 | background: linear-gradient(
230 | to bottom,
231 | rgba(var(--background-start-rgb), 1),
232 | rgba(var(--callout-rgb), 0.5)
233 | );
234 | background-clip: padding-box;
235 | backdrop-filter: blur(24px);
236 | }
237 |
238 | .description div {
239 | align-items: flex-end;
240 | pointer-events: none;
241 | inset: auto 0 0;
242 | padding: 2rem;
243 | height: 200px;
244 | background: linear-gradient(
245 | to bottom,
246 | transparent 0%,
247 | rgb(var(--background-end-rgb)) 40%
248 | );
249 | z-index: 1;
250 | }
251 | }
252 |
253 | /* Tablet and Smaller Desktop */
254 | @media (min-width: 701px) and (max-width: 1120px) {
255 | .grid {
256 | grid-template-columns: repeat(2, 50%);
257 | }
258 | }
259 |
260 | @media (prefers-color-scheme: dark) {
261 | .vercelLogo {
262 | filter: invert(1);
263 | }
264 |
265 | .logo,
266 | .thirteen img {
267 | filter: invert(1) drop-shadow(0 0 0.3rem #ffffff70);
268 | }
269 | }
270 |
271 | @keyframes rotate {
272 | from {
273 | transform: rotate(360deg);
274 | }
275 | to {
276 | transform: rotate(0deg);
277 | }
278 | }
279 |
--------------------------------------------------------------------------------
/Components/Preview.js:
--------------------------------------------------------------------------------
1 | import {
2 | ConstGitStatsThemes,
3 | icons,
4 | skills,
5 | socialIcons,
6 | socialName,
7 | } from "@/helper/static";
8 | import React from "react";
9 |
10 | const Preview = ({
11 | name,
12 | subtitle,
13 | theme,
14 | onThemeChange,
15 | projects,
16 | moreInfo,
17 | socialConnect,
18 | skill,
19 | addons,
20 | gitstatsThemes,
21 | onGitStatsThemesChage,
22 | onDisplay,
23 | trophyData,
24 | StreaksData,
25 | StatsData,
26 | TopLangStatsData
27 | }) => {
28 | const ab = "h1";
29 |
30 | return (
31 |
32 |
33 |
45 |
46 |
47 |

50 | {/* */}
51 |
52 | {theme !== "origin" && subtitle && (
53 |
54 |

62 | )}
63 |
64 |
68 |
69 |
70 |
71 |
72 |
73 |
74 |
75 |
76 |
77 |
78 |
79 |
80 |
81 |
82 |
Projects
83 |
84 | {projects &&
85 | projects.map((val, index) => {
86 | return (
87 |
92 | );
93 | })}
94 | {moreInfo && (
95 |
96 | {moreInfo.currentLearning.length > 0 && (
97 |
101 | )}
102 | {moreInfo.askme.length > 0 && (
103 |
107 | )}
108 | {moreInfo.reachme.length > 0 && (
109 |
113 | )}
114 | {moreInfo.funfact.length > 0 && (
115 |
119 | )}
120 |
121 | )}
122 |
123 |
124 |
Skills
125 |
126 |
127 | {skills.map((val, index) => {
128 | if (skill[val]) {
129 |
130 | return ;
131 | }
132 | })}
133 |
134 |
135 |
SocialConnect
136 |
137 |
138 | {socialName.map((val, index) => {
139 | if (socialConnect[val].length > 0) {
140 |
141 | return ;
142 | }
143 | })}
144 |
145 |
146 |
147 |
155 | {/*
156 |
161 |
162 |
163 |
164 |
*/}
165 |
176 |
177 |
178 |
186 |
187 | );
188 | };
189 |
190 | export default Preview;
191 |
192 | const ShowProjects = ({ prefix, title, link }) => {
193 | return (
194 | <>
195 |
196 |
197 | {prefix}{" "}
198 |
199 | {title}
200 |
201 |
202 | >
203 | );
204 | };
205 |
206 | const ShowAdditionalInfo = ({ prefix, title }) => {
207 | return (
208 | <>
209 |
210 |
211 | {prefix} {title}
212 |
213 | >
214 | );
215 | };
216 |
217 | const ShowSocialConnect = ({ img }) => {
218 | return
;
219 | };
220 |
221 | const ShowSkills = ({ img }) => {
222 | return
;
223 | };
224 |
225 | const ShowMemes = ({ memes }) => {
226 | if (memes) {
227 | return (
228 |
234 | );
235 | }
236 | };
237 | const ShowGitStats = ({ gitstats, username, themes, onDisplay,locale,hide_border, }) => {
238 |
239 | if (gitstats && username.length>0) {
240 | return (
241 |
250 | );
251 | }
252 | };
253 |
254 | const ShowStreakStats = ({ showStreakStats, username,onDisplay,theme,mode,hide_border,locale }) => {
255 | if (showStreakStats && username) {
256 | return (
257 |
265 | );
266 | }
267 | };
268 | const ShowMostLanguageUsed = ({ showMostLanguageUsed, username,onDisplay,theme,hide_border }) => {
269 | if (showMostLanguageUsed && username) {
270 | return (
271 |
279 | );
280 | }
281 | };
282 | const ShowVisitorBadge = ({ visitorBadge, username }) => {
283 | if (visitorBadge && username) {
284 | return (
285 |
290 | );
291 | }
292 | };
293 |
294 | const ShowTrophy = ({ username,trophy,onDisplay,theme,column,noframe,transparent }) => {
295 | if (username.length>0 && trophy) {
296 | return (
297 |
304 | );
305 | }
306 | };
307 |
308 | const ShowTwiterBadge = ({ username, twitterBadge ,themes}) => {
309 | if (username.length>0 && twitterBadge) {
310 | return (
311 |
312 |
313 |
314 | );
315 | }
316 | };
317 |
318 |
--------------------------------------------------------------------------------
/Components/SideOption.js:
--------------------------------------------------------------------------------
1 | import { ConstGitStats, ConstStreaksData, locale, locale2 } from "@/helper/static";
2 | import React, { useState } from "react";
3 |
4 | import {AiOutlineCloseSquare} from "react-icons/ai"
5 |
6 | const SideOption = ({ display, onDisplay, events, template,onDataUpdate ,trophyData,closeSide,StreaksData,StatsData,StatsLoc,streakLoc,TopLangStatsData}) => {
7 |
8 | const dnone = "w-0 hidden ";
9 | const dflex = " md:w-96";
10 | return (
11 |
16 |
17 |
18 |
19 |
20 | {events === "trophy" && (
21 | <>
22 |
23 | >
24 | )}
25 |
26 | {events === "streakstats" && (
27 | <>
28 |
29 | >
30 | )}
31 | {events === "gitstats" && (
32 | <>
33 |
34 | >
35 | )}
36 | {events === "toplanguage" && (
37 | <>
38 |
39 | >
40 | )}
41 |
42 |
43 |
44 |
45 | );
46 | };
47 |
48 | export default SideOption;
49 |
50 |
51 |
52 | const TrophySec = ({trophyData,template,onDataUpdate})=>{
53 | return
54 |
55 | Trophy Section
56 |
57 |
58 |
59 |
60 |
61 |
onDataUpdate('no_frames',!trophyData['no_frames'])} />
62 |
Hide Frames
63 |
64 |
65 |
onDataUpdate("background_transparent",!trophyData['background_transparent'])} type="checkbox" />
66 |
Background Transparent
67 |
68 |
69 |
70 |
71 |
72 |
Column Size
73 |
74 |
75 | {template.data.column.map((val,index)=>{
76 | return onDataUpdate("column",val)} className={`${trophyData['column']===val?"bg-teal-600":"bg-pink-500"} text-slate-200 font-bold font-Alegreya w-full rounded-lg flex justify-center items-center h-10 md:h-20`}>
77 | {val}
78 | })}
79 |
80 |
81 |
82 |
83 |
Themes
84 |
85 |
86 |
87 | {template.data.themes.map((val,index)=>{
88 | return
103 | })}
104 |
105 |
106 |
107 | }
108 |
109 |
110 |
111 | const StreakSec = ({StreaksData,template,onDataUpdate,streakLoc})=>{
112 | return
113 |
114 | Stats Section
115 |
116 |
117 |
118 |
119 |
120 |
onDataUpdate('hide_border',!StreaksData['hide_border'])} />
121 |
Hide Border
122 |
123 |
124 |
Language Mode
125 |
130 |
131 |
132 |
Streaks Mode
133 |
onDataUpdate("mode","daily")} name="daily" type="radio" />
Daily
134 |
onDataUpdate("mode","weekly")} name="weekly" type="radio" />
Weekly
135 |
136 |
137 |
138 |
139 |
140 |
141 |
Themes
142 |
143 |
144 |
145 | {template.data.themes.map((val,index)=>{
146 | return
161 | })}
162 |
163 |
164 |
165 | }
166 |
167 |
168 | const GitStats = ({StatsData,template,onDataUpdate,StatsLoc})=>{
169 | return
170 |
171 | Stats Section
172 |
173 |
174 |
175 |
176 |
177 |
onDataUpdate('hide_border',!StatsData['hide_border'])} />
178 |
Hide Border
179 |
180 |
181 |
Language Mode
182 |
187 |
188 |
189 |
190 |
191 |
192 |
193 |
Themes
194 |
195 |
196 |
197 | {template.data.themes.map((val,index)=>{
198 | return
213 | })}
214 |
215 |
216 |
217 | }
218 |
219 | const TopLanguage = ({TopLangStatsData,template,onDataUpdate})=>{
220 | return
221 |
222 | Stats Section
223 |
224 |
225 |
226 |
227 |
228 |
onDataUpdate('hide_border',!TopLangStatsData['hide_border'])} />
229 |
Hide Border
230 |
231 | {/*
232 |
Language Mode
233 |
238 |
239 |
*/}
240 |
241 |
242 |
243 |
244 |
Themes
245 |
246 |
247 |
248 | {template.data.themes.map((val,index)=>{
249 | return
264 | })}
265 |
266 |
267 |
268 | }
--------------------------------------------------------------------------------
/Components/Generate.js:
--------------------------------------------------------------------------------
1 | import {
2 | icons,
3 | skillWebsites,
4 | socialIcons,
5 | socialName,
6 | socialUrl,
7 | } from "@/helper/static";
8 | import React, { useState } from "react";
9 | import { BiCopy } from "react-icons/bi";
10 | import { FiCheck } from "react-icons/fi";
11 | // import Title from './Title';
12 | // import TitleGenerate from "../Components/GenerateMarkDown"
13 |
14 | const Generate = ({
15 | data,
16 | trophyData,
17 | StreaksData,
18 | StatsData,
19 | TopLangStatsData,
20 | theme,
21 | }) => {
22 |
23 |
24 | const [copy, setCopy] = useState(false);
25 | const handleCopyToClipboard = () => {
26 | const range = document.createRange();
27 | range.selectNode(document.getElementById("markdown-content"));
28 | window.getSelection().removeAllRanges(); // clear current selection
29 | window.getSelection().addRange(range); // to select text
30 | document.execCommand("copy");
31 | window.getSelection().removeAllRanges();
32 | };
33 | return (
34 |
35 |
36 | ##CODE
37 |
38 |
43 | {copy ? (
44 |
45 | ) : (
46 | {
48 | handleCopyToClipboard();
49 | setCopy(true);
50 | setTimeout(() => {
51 | setCopy(false);
52 | }, 3000);
53 | }}
54 | className="w-7 h-7 "
55 | />
56 | )}
57 |
58 |
59 |
60 |
61 | <>
62 |
67 |
68 |
69 | >
70 | {data.addons["visitorBadge"] && (
71 | <>
72 |
76 |
77 |
78 | >
79 | )}
80 | <>
81 | {data.addons["showMemes"] && }
82 |
83 |
84 | >
85 | {data.addons["twiterBadge"] && (
86 | <>
87 |
91 |
92 |
93 | >
94 | )}
95 |
96 | {data.addons["trophy"] && (
97 | <>
98 |
107 | >
108 | )}
109 |
110 | {/* <>
111 |
112 |
113 |
114 | > */}
115 | <>
116 |
117 | {data.project.length > 0 &&
118 | data.project.map((val, index) => {
119 | return ;
120 | })}
121 |
122 |
123 |
124 |
128 |
132 |
136 |
140 | >
141 |
142 | <>
143 |
144 |
145 |
146 | >
147 | <>
148 |
149 |
150 |
151 | >
152 |
153 | <>
154 |
161 |
162 |
163 | >
164 | <>
165 |
175 |
176 |
177 | >
178 | <>
179 |
185 |
186 |
187 | >
188 |
189 |
190 | );
191 | };
192 |
193 | const TitleGenerate = ({ title }) => {
194 | if (title.length > 0) {
195 | return <>{`Hi 👋, I'm ${title}
`}>;
196 | }
197 |
198 | return "";
199 | };
200 | const SubTitleGenerate = ({ subtitle }) => {
201 | if (subtitle.length > 0) {
202 | return <>{`Hi 👋, I'm ${subtitle}
`}>;
203 | }
204 |
205 | return "";
206 | };
207 |
208 | const GenerateProjects = ({ projects }) => {
209 | return (
210 | <>
211 |
212 | {`- ${projects.workingFor} [${projects.pName}](${projects.pLink})`}
213 |
214 | >
215 | );
216 | };
217 |
218 | const GenerateSkills = ({ skills }) => {
219 | let skl = [];
220 | skills.map((val, index) => {
221 | skl.push(
222 | `
223 |
224 | `
225 | );
226 | });
227 |
228 | return skl.length > 0 ? (
229 | <>{`Languages and Tools:
230 | ${skl.join(" ")}
`}>
231 | ) : (
232 | <>>
233 | );
234 | };
235 |
236 | const GenerateSocialConnect = ({ socialConnect }) => {
237 | let social = [];
238 | socialName.map((val) => {
239 | if (socialConnect[val].length > 0) {
240 | social.push(`
241 |
242 | `);
243 | }
244 | });
245 |
246 | return social.length > 0 ? (
247 | <>{`Connect with me:
248 | ${social.join(" ")}
`}>
249 | ) : (
250 | <>>
251 | );
252 | };
253 |
254 | const GenerateAdditionalInfo = ({ prefix, title }) => {
255 | if (title.length > 0) {
256 | return (
257 | <>
258 | {`- ${prefix} **${title}**`}
259 |
260 |
261 | >
262 | );
263 | }
264 | return "";
265 | };
266 |
267 | const GenerateHeader = ({ name, subtitle, themes }) => {
268 | return (
269 | <>
270 |
271 |
272 | {`
273 | }&text2=${subtitle.replaceAll(
277 | " ",
278 | "%20"
279 | )}&width=900&height=400)`}
280 | >
281 | );
282 | };
283 |
284 | const GenerateVisitorCount = ({ username, visitorBadge }) => {
285 | if (visitorBadge && username.length > 0) {
286 | return (
287 | <>
288 |
289 |
290 | {`
291 |
292 | `}
293 | >
294 | );
295 | }
296 | };
297 |
298 | const GenerateGitStats = ({githubProfileStats, username, themes, locale, hide_border }) => {
299 | if(githubProfileStats && username.length>0){
300 | return (
301 | <>
302 |
303 |
304 | {`
305 |
306 | `}
307 | >
308 | );
309 | }
310 |
311 | };
312 | const GenerateStreaks = ({showStreakStats, username, theme, mode, hide_border, locale }) => {
313 | if(showStreakStats){
314 |
315 | return (
316 | <>
317 |
318 |
319 | {`
320 |
321 | `}
322 | >
323 | );
324 | }
325 | };
326 |
327 | const TopLanguageUsed = ({showMostLanguageUsed, username, theme, hide_border }) => {
328 | if(showMostLanguageUsed){
329 |
330 | return (
331 | <>
332 |
333 |
334 | {`
335 |
336 |
337 | `}
338 | >
339 | );
340 | }
341 | };
342 |
343 | const GenerateMemes = ({showMemes}) => {
344 | if(showMemes){
345 |
346 | return (
347 | <>
348 |
349 |
350 | {`
351 |
352 |
353 |
354 |
355 | `}
356 | >
357 | );
358 | }
359 | };
360 |
361 | export default Generate;
362 |
363 | const GenerateTrophy = ({
364 | username,
365 | trophy,
366 | theme,
367 | column,
368 | noframe,
369 | transparent,
370 | }) => {
371 | if (username.length > 0 && trophy) {
372 | return (
373 | <>
374 |
375 |
376 | {`
377 |
382 |
`}
383 | >
384 | );
385 | }
386 | };
387 |
388 | const GenerateTwiterBadge = ({ username, twitterBadge, themes }) => {
389 | if (username.length > 0 && twitterBadge) {
390 | return (
391 | <>
392 |
393 |
394 | {`
395 |
`}
396 | >
397 | );
398 | }
399 | };
400 |
401 | // if (additionalInfo.askme.length > 0) {
402 | // moreInfo.push(`- **${additionalInfo.askme}**`);
403 | // }
404 | // if (additionalInfo.funfact.length > 0) {
405 | // moreInfo.push(`**${additionalInfo.funfact}**`);
406 | // }
407 | // if (additionalInfo.reachme.length > 0) {
408 | // moreInfo.push(`- **${additionalInfo.reachme}**`);
409 | // }
410 |
--------------------------------------------------------------------------------
/pages/index.js:
--------------------------------------------------------------------------------
1 | import Head from "next/head";
2 | import Image from "next/image";
3 | import { Inter } from "@next/font/google";
4 | import styles from "@/styles/Home.module.css";
5 | import { useEffect, useRef, useState } from "react";
6 | import Title from "../Components/Title";
7 | import Works from "../Components/Works";
8 | import MoreInfo from "../Components/MoreInfo";
9 | import Preview from "../Components/Preview";
10 | import DevCard from "../Components/DevCard";
11 | import Message from "../Components/Message";
12 |
13 | import {
14 | categories,
15 | socialName,
16 | socialIcons,
17 | categorizedSkills,
18 | initialSkillState,
19 | skills,
20 | icons,
21 | socialConst,
22 | initialAddon,
23 | initialTheme,
24 | gitStatsInitialThemes,
25 | initialTemplateData,
26 | initialTrophyData,
27 | initialStreaksData,
28 | initialGitStats,
29 | initialTopLangStats,
30 | } from "../helper/static";
31 | import SkillsCard from "../Components/skillsCard";
32 | import SocialInfo from "../Components/SocialInfo";
33 | import AddOns from "../Components/AddOns";
34 | import Generate from "../Components/Generate";
35 | import SideOption from "../Components/SideOption";
36 |
37 | import Implementation from "../Components/Implementation";
38 |
39 | import ProgressBar from "@ramonak/react-progress-bar";
40 | import { BiCopy } from "react-icons/bi";
41 | import { SlCloudDownload } from "react-icons/sl";
42 | import { MdArrowBackIos, MdOutlineArrowBackIos } from "react-icons/md";
43 | import { FiCheck } from "react-icons/fi";
44 | import { VscLoading } from "react-icons/vsc";
45 |
46 | import {FaRegEdit} from "react-icons/fa"
47 |
48 | // const { docco } = require("react-syntax-highlighter/dist/esm/styles/hljs");
49 |
50 | const inter = Inter({ subsets: ["latin"] });
51 |
52 | export default function Home() {
53 |
54 | const [works, setWorks] = useState([
55 | {
56 | workingFor: "💪🏼 Working on",
57 | pName: "Github Profile Readme Generator",
58 | pLink: "https://github.com/",
59 | },
60 | ]);
61 | const [moreInfo, setMoreInfo] = useState({
62 | currentLearning: "Reactjs & Nextjs",
63 | askme: "Reactjs",
64 | reachme: "technicalranjit@gmail.com",
65 | funfact: "Bats are the only mammal that can actually fly.",
66 | });
67 | const [socialData, setSocialData] = useState(socialConst);
68 | const [title, setTitle] = useState("Ranjit Das 🤠");
69 | const [subTitle, setSubTitle] = useState(
70 | "💖 A Passionate Coder,Developer and Debugger"
71 | );
72 | const [addOns, setAddOns] = useState(initialAddon);
73 | const [genClick, setGenClick] = useState(false);
74 | const [gitStatsThemes, setGitStatsThemes] = useState(gitStatsInitialThemes);
75 | const [display, setDisplay] = useState(false);
76 | const [events, setEvents] = useState("");
77 | const [Template, setTemplate] = useState([]);
78 | const [statsLoc, setStatsLoc] = useState(0);
79 | const [streakLoc, setStreakLoc] = useState(0);
80 | const [Msg, setMsg] = useState({ message: "", success: null });
81 | const [Gen, setGen] = useState(false);
82 | const [onGenerating, setOnGenerating] = useState(false);
83 | const [loadingbar, setLoadingBar] = useState(0);
84 | const [GenData, setGendata] = useState({
85 | title: "",
86 | subtitle: "",
87 | project: [],
88 | additionalInfo: [],
89 | skills: [],
90 | socialConnection: [],
91 | addons: [],
92 | moreInfo: [],
93 | });
94 | const [skill, setSkills] = useState(initialSkillState);
95 | const [theme, setTheme] = useState(initialTheme);
96 |
97 | // for template
98 |
99 | const [trophyData, setTrophyData] = useState(initialTrophyData);
100 | const [StreaksData, setStreaksData] = useState(initialStreaksData);
101 | const [StatsData, setStatsData] = useState(initialGitStats);
102 | const [TopLangStatsData, setTopLangStatsData] = useState(initialTopLangStats);
103 | const [viewMode, setViewMode] = useState(false);
104 | const [copy,setCopy] = useState(false);
105 | const [download,setDownload] = useState(false);
106 |
107 | // useEffect(()=>{
108 | // if(socialData.github.length<=0){
109 | // setMsg({message:"Github is requied",success:false});
110 | // }
111 | // setTimeout(() => {
112 |
113 | // }, timeout);
114 | // },[socialData.github])
115 |
116 |
117 |
118 |
119 |
120 | const handleDownloadMarkdown = () => {
121 | const markdownContent = document.getElementById('markdown-content');
122 | const tempElement = document.createElement('a');
123 | tempElement.setAttribute(
124 | 'href',
125 | `data:text/markdown;charset=utf-8,${encodeURIComponent(markdownContent.innerText)}`,
126 | );
127 | tempElement.setAttribute('download', 'README.md');
128 | tempElement.style.display = 'none';
129 | document.body.appendChild(tempElement);
130 | tempElement.click();
131 | document.body.removeChild(tempElement);
132 | };
133 |
134 | const handleCopyToClipboard = () => {
135 | const range = document.createRange();
136 | range.selectNode(document.getElementById('markdown-content'));
137 | window.getSelection().removeAllRanges(); // clear current selection
138 | window.getSelection().addRange(range); // to select text
139 | document.execCommand('copy');
140 | window.getSelection().removeAllRanges();
141 |
142 | };
143 |
144 | const onChange = (e, i) => {
145 | const newData = [...works];
146 | works[i][e.target.name] = [e.target.value];
147 | setWorks(newData);
148 | };
149 |
150 | const handleOnAddMore = () => {
151 | const addNew = [...works, { workingFor: "", pName: "", pLink: "" }];
152 | setWorks(addNew);
153 | };
154 |
155 | const handleOnRemove = (i) => {
156 | const prevData = [...works];
157 | prevData.splice(i, 1);
158 | setWorks(prevData);
159 | };
160 |
161 | const handleOnMoreInfoChnage = (e) => {
162 | setMoreInfo({ ...moreInfo, [e.target.name]: e.target.value });
163 | };
164 |
165 | const handleOnCheck = (sfiled) => {
166 | const newsk = { ...skill };
167 | newsk[sfiled] = !newsk[sfiled];
168 | setSkills(newsk);
169 | };
170 |
171 | const [newsk, setnewsk] = useState([]);
172 | const [so, setSo] = useState([]);
173 | const [wt, setWt] = useState([]);
174 | const handleOnGenerate = () => {
175 | if(socialData['github'].length<=0){
176 | return setMsg({message:"Github Username is required!!",success:false});
177 | }
178 | setOnGenerating(true);
179 |
180 | if (newsk.length > 0) {
181 | setnewsk([]);
182 | }
183 | skills.forEach((val) => {
184 | if (skill[val]) {
185 | newsk.push(val);
186 | }
187 | });
188 |
189 | const newd = { ...GenData };
190 | if (title.length > 0) {
191 | newd["title"] = title;
192 | }
193 | if (subTitle.length > 0) {
194 | newd["subtitle"] = subTitle;
195 | }
196 | if (newsk.length > 0) {
197 | newd["skills"] = newsk;
198 | }
199 | if (works.length > 0) {
200 | newd["project"] = works;
201 | }
202 |
203 | newd["socialConnection"] = socialData;
204 | newd["addons"] = addOns;
205 | newd["moreInfo"] = moreInfo;
206 |
207 | setGendata(newd);
208 |
209 | setTimeout(() => {
210 | setGenClick(true);
211 | setGen(true);
212 | setOnGenerating(false);
213 | setMsg({message:"Generated Sucessfully!!",success:true})
214 | setTimeout(()=>{
215 | setMsg({message:"",success:null});
216 | },2000)
217 | }, 3000);
218 | };
219 |
220 |
221 |
222 |
223 | const onSetSoical = (field, event) => {
224 | if (field === "github" && event.target.value.length <= 0) {
225 | setMsg({ message: "Github Username is required", success: false });
226 | }
227 |
228 | if (field === "github" && event.target.value.length > 0) {
229 | setMsg({ message: "", success: null });
230 | }
231 |
232 | const newData = { ...socialData };
233 | newData[field] = event.target.value;
234 | setSocialData(newData);
235 | };
236 |
237 |
238 | const onCheckAddons = (fields) => {
239 | console.log(fields);
240 | if(fields==="twiterBadge" && socialData['twitter'].length<=0){
241 |
242 | setMsg({message:"Enter your twitter username above in social fields!",success:false});
243 | return setTimeout(() => {
244 | setMsg({message:"",success:null});
245 | }, 2000);
246 |
247 | }
248 | const newAddons = { ...addOns };
249 | newAddons[fields] = !newAddons[fields];
250 | setAddOns(newAddons);
251 | };
252 |
253 | const onThemeChange = (event) => {
254 | setTheme(event.target.value);
255 | };
256 |
257 | const onGitStatsThemeChange = (event) => {
258 | setGitStatsThemes(event.target.value);
259 | };
260 |
261 | const closeSide = () => {
262 | setDisplay(false);
263 | };
264 |
265 | const onDisplay = (e) => {
266 | setTemplate(initialTemplateData[e]);
267 | if (e === events) {
268 | setDisplay((prev) => !prev);
269 | } else {
270 | setEvents(e);
271 | setDisplay(true);
272 | }
273 | };
274 |
275 |
276 |
277 | const onDataUpdate = (field, val, ind) => {
278 | if (events === "trophy") {
279 | const newT = { ...trophyData };
280 | newT[field] = val;
281 | setTrophyData(newT);
282 | }
283 |
284 | if (events === "streakstats") {
285 | const newS = { ...StreaksData };
286 | newS[field] = val;
287 | setStreakLoc(ind);
288 | setStreaksData(newS);
289 | }
290 | if (events === "gitstats") {
291 | const newG = { ...StatsData };
292 | newG[field] = val;
293 | setStatsLoc(ind);
294 | setStatsData(newG);
295 | }
296 | if (events === "toplanguage") {
297 | const newTL = { ...TopLangStatsData };
298 | newTL[field] = val;
299 | setTopLangStatsData(newTL);
300 | }
301 | };
302 |
303 | return (
304 |
305 |
306 | <>
307 |
308 |
309 |
310 |
311 |
312 |
313 | {Gen ? (
314 | ""
315 | ) : (
316 |
317 |
318 |
319 |
320 |
328 |
336 |
337 |
338 |
339 | {viewMode ? (
340 |
362 | ) : (
363 |
364 |
365 |
366 |
371 |
372 |
373 | Projects
374 |
375 | {works.map((val, index) => {
376 | return (
377 | handleOnRemove(index)}
379 | index={index}
380 | onChange={onChange}
381 | val={val}
382 | key={index}
383 | />
384 | );
385 | })}
386 |
392 |
393 |
394 |
395 | Additional Info
396 |
397 |
401 |
402 |
403 |
404 |
405 | Skills/Language
406 |
407 |
408 |
409 |
410 | {Object.keys(categorizedSkills).map((val, index) => {
411 | return (
412 |
413 |
417 | {val.charAt(0).toUpperCase()}
418 | {val.slice(1)}
419 |
420 |
421 | {categorizedSkills[val].skills.map((val, ind) => {
422 |
423 | return (
424 |
431 | );
432 | })}
433 |
434 |
435 | );
436 | })}
437 |
438 |
439 |
440 | Social Connections{" "}
441 |
442 | [Github username is requird]
443 |
444 |
445 |
446 | {socialName.map((val, index) => {
447 | return (
448 |
456 | );
457 | })}
458 |
459 |
460 |
461 |
462 |
463 |
464 | Addons
465 |
466 |
467 |
468 |
469 |
470 | {onGenerating && !Gen ? (
471 | //
478 |
479 | {/* */}
486 |
488 |
489 | ) : !onGenerating && !Gen ? (
490 |
491 |
492 |
NOTE : [Customizable] (ViewMode) Click on the item to Customize the item.
493 |
494 |
495 |
501 |
502 | ) : (
503 |
504 |
505 | Read Implementations
506 |
507 |
508 | {/*
*/}
528 |
{
529 | handleCopyToClipboard();
530 | setCopy(true);
531 | setTimeout(() => {
532 | setCopy(false);
533 | }, 2000);
534 | }}
535 | className={`border-2 hover:border-slate-500 cursor-pointer border-slate-600 ${
536 | copy && "text-green-500"
537 | } p-2 w-10 h-10 flex flex-col items-center rounded-md`}
538 | >
539 | {copy?: }
540 |
541 |
555 |
556 |
557 | )}
558 |
559 |
560 |
561 | )}
562 |
563 |
564 |
565 |
566 |
567 | )}
568 |
569 |
570 | {onGenerating && !Gen ? (
571 | //
578 |
579 | {/* */}
586 |
588 |
589 | ) : !onGenerating && !Gen ? (
590 |
591 |
592 |
NOTE : [Customizable] (ViewMode) Click on the item to Customize the item.
593 |
594 |
595 |
601 |
602 | ) : (
603 |
604 |
605 | Read Implementations
606 |
607 |
608 | {/*
*/}
628 |
{
629 | handleCopyToClipboard();
630 | setCopy(true);
631 | setTimeout(() => {
632 | setCopy(false);
633 | }, 2000);
634 | }}
635 | className={`border-2 hover:border-slate-500 cursor-pointer border-slate-600 ${
636 | copy && "text-green-500"
637 | } p-2 w-10 h-10 flex flex-col items-center rounded-md`}
638 | >
639 | {copy?: }
640 |
641 |
655 |
656 |
657 | )}
658 |
659 |
660 | {genClick ? (
661 |
662 |
663 |
671 |
672 |
673 |
674 | #STEP-5
675 |
676 |
677 | Paste the code in the{" "}
678 | readme.md{" "}
679 | file and that's it, you can see the result
680 |
681 |
682 |
683 |
684 |
691 |
692 |
693 |
694 |
695 |
696 | #STEP-6
697 |
698 |
699 |
700 | Click on the Commit button
701 |
702 |
709 |
710 |
711 |
712 |
713 |
714 |
715 | Congrat's
716 | {" "}
717 | You have Successfully Created your Github Readme Profile..
718 |
719 |
726 |
727 |
728 |
729 |
Contribute:
730 |
Create pull request and Don't forget to Fork and Star this repo.
731 |
732 |
733 |
734 | ) : (
735 | ""
736 | )}
737 |
738 |
760 |
761 |
setDisplay((prev) => prev != prev)}
774 | />
775 |
776 |
777 |
778 |
779 |
780 |
781 | {/* Hello
*/}
782 | >
783 | );
784 | }
785 |
--------------------------------------------------------------------------------
/helper/static.js:
--------------------------------------------------------------------------------
1 | const categorizedSkills = {
2 | language: {
3 | title: "Programming Languages",
4 | skills: [
5 | "c",
6 | "cplusplus",
7 | "csharp",
8 | "go",
9 | "java",
10 | "javascript",
11 | "typescript",
12 | "php",
13 | "perl",
14 | "ruby",
15 | "scala",
16 | "python",
17 | "swift",
18 | "objectivec",
19 | "clojure",
20 | "rust",
21 | "haskell",
22 | "coffeescript",
23 | "elixir",
24 | "erlang",
25 | "nim",
26 | ],
27 | },
28 |
29 | frontend_dev: {
30 | title: "Frontend Development",
31 | skills: [
32 | "vuejs",
33 | "react",
34 | "svelte",
35 | "angularjs",
36 | "angular",
37 | "backbonejs",
38 | "bootstrap",
39 | "vuetify",
40 | "css3",
41 | "html5",
42 | "pug",
43 | "gulp",
44 | "sass",
45 | "redux",
46 | "webpack",
47 | "babel",
48 | "tailwind",
49 | "materialize",
50 | "bulma",
51 | "gtk",
52 | "qt",
53 | "wx_widgets",
54 | "ember",
55 | ],
56 | },
57 |
58 | backend_dev: {
59 | title: "Backend Development",
60 | skills: [
61 | "nodejs",
62 | "spring",
63 | "express",
64 | "graphql",
65 | "kafka",
66 | "solr",
67 | "rabbitMQ",
68 | "hadoop",
69 | "nginx",
70 | "openresty",
71 | "nestjs",
72 | ],
73 | },
74 |
75 | mobile_dev: {
76 | title: "Mobile App Development",
77 | skills: [
78 | "android",
79 | "flutter",
80 | "dart",
81 | "kotlin",
82 | "nativescript",
83 | "xamarin",
84 | "reactnative",
85 | "ionic",
86 | "apachecordova",
87 | ],
88 | },
89 |
90 | ai: {
91 | title: "AI/ML",
92 | skills: [
93 | "tensorflow",
94 | "pytorch",
95 | "pandas",
96 | "seaborn",
97 | "opencv",
98 | "scikit_learn",
99 | ],
100 | },
101 |
102 | database: {
103 | title: "Database",
104 | skills: [
105 | "mongodb",
106 | "mysql",
107 | "postgresql",
108 | "redis",
109 | "oracle",
110 | "cassandra",
111 | "couchdb",
112 | "hive",
113 | "realm",
114 | "mariadb",
115 | "cockroachdb",
116 | "elasticsearch",
117 | "sqlite",
118 | "mssql",
119 | ],
120 | },
121 |
122 | data_visualization: {
123 | title: "Data Visualization",
124 | skills: ["d3js", "chartjs", "canvasjs", "kibana", "grafana"],
125 | },
126 |
127 | devops: {
128 | title: "Devops",
129 | skills: [
130 | "aws",
131 | "docker",
132 | "jenkins",
133 | "gcp",
134 | "kubernetes",
135 | "bash",
136 | "azure",
137 | "vagrant",
138 | "circleci",
139 | "travisci",
140 | ],
141 | },
142 |
143 | baas: {
144 | title: "Backend as a Service(BaaS)",
145 | skills: ["firebase", "appwrite", "amplify", "heroku"],
146 | },
147 |
148 | framework: {
149 | title: "Framework",
150 | skills: [
151 | "django",
152 | "dotnet",
153 | "electron",
154 | "symfony",
155 | "laravel",
156 | "codeigniter",
157 | "rails",
158 | "flask",
159 | "quasar",
160 | ],
161 | },
162 |
163 | testing: {
164 | title: "Testing",
165 | skills: [
166 | "cypress",
167 | "selenium",
168 | "jest",
169 | "mocha",
170 | "puppeteer",
171 | "karma",
172 | "jasmine",
173 | ],
174 | },
175 |
176 | software: {
177 | title: "Software",
178 | skills: [
179 | "illustrator",
180 | "photoshop",
181 | "xd",
182 | "figma",
183 | "blender",
184 | "sketch",
185 | "invision",
186 | "framer",
187 | "matlab",
188 | "postman",
189 | ],
190 | },
191 |
192 | static_site_generator: {
193 | title: "Static Site Generators",
194 | skills: [
195 | "gatsby",
196 | "gridsome",
197 | "hugo",
198 | "jekyll",
199 | "nextjs",
200 | "nuxtjs",
201 | "11ty",
202 | "scully",
203 | "sculpin",
204 | "sapper",
205 | "vuepress",
206 | "hexo",
207 | "middleman",
208 | ],
209 | },
210 |
211 | game_engines: {
212 | title: "Game Engines",
213 | skills: ["unity", "unreal"],
214 | },
215 |
216 | automation: {
217 | title: "Automation",
218 | skills: ["zapier", "ifttt"],
219 | },
220 |
221 | other: {
222 | title: "Other",
223 | skills: ["linux", "git", "arduino"],
224 | },
225 | };
226 |
227 | const icons = {
228 | vuejs:
229 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/vuejs/vuejs-original-wordmark.svg",
230 | react:
231 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/react/react-original-wordmark.svg",
232 | angularjs:
233 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/angularjs/angularjs-original-wordmark.svg",
234 | angular: "https://angular.io/assets/images/logos/angular/angular.svg",
235 | aws: "https://raw.githubusercontent.com/devicons/devicon/master/icons/amazonwebservices/amazonwebservices-original-wordmark.svg",
236 | android:
237 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/android/android-original-wordmark.svg",
238 | arduino: "https://cdn.worldvectorlogo.com/logos/arduino-1.svg",
239 | backbonejs:
240 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/backbonejs/backbonejs-original-wordmark.svg",
241 | bootstrap:
242 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/bootstrap/bootstrap-plain-wordmark.svg",
243 | c: "https://raw.githubusercontent.com/devicons/devicon/master/icons/c/c-original.svg",
244 | canvasjs:
245 | "https://raw.githubusercontent.com/Hardik0307/Hardik0307/master/assets/canvasjs-charts.svg",
246 | coffeescript:
247 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/coffeescript/coffeescript-original-wordmark.svg",
248 | codeigniter: "https://cdn.worldvectorlogo.com/logos/codeigniter.svg",
249 | cplusplus:
250 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/cplusplus/cplusplus-original.svg",
251 | css3: "https://raw.githubusercontent.com/devicons/devicon/master/icons/css3/css3-original-wordmark.svg",
252 | csharp:
253 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/csharp/csharp-original.svg",
254 | d3js: "https://raw.githubusercontent.com/devicons/devicon/master/icons/d3js/d3js-original.svg",
255 | django: "https://cdn.worldvectorlogo.com/logos/django.svg",
256 | docker:
257 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/docker/docker-original-wordmark.svg",
258 | dotnet:
259 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/dot-net/dot-net-original-wordmark.svg",
260 | electron:
261 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/electron/electron-original.svg",
262 | express:
263 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/express/express-original-wordmark.svg",
264 | go: "https://raw.githubusercontent.com/devicons/devicon/master/icons/go/go-original.svg",
265 | graphql: "https://www.vectorlogo.zone/logos/graphql/graphql-icon.svg",
266 | gulp: "https://raw.githubusercontent.com/devicons/devicon/master/icons/gulp/gulp-plain.svg",
267 | html5:
268 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/html5/html5-original-wordmark.svg",
269 | hugo: "https://api.iconify.design/logos-hugo.svg",
270 | java: "https://raw.githubusercontent.com/devicons/devicon/master/icons/java/java-original.svg",
271 | javascript:
272 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/javascript/javascript-original.svg",
273 | ionic: "https://upload.wikimedia.org/wikipedia/commons/d/d1/Ionic_Logo.svg",
274 | laravel:
275 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/laravel/laravel-plain-wordmark.svg",
276 | meteor:
277 | "https://devicons.github.io/devicon/devicon.git/icons/meteor/meteor-original-wordmark.svg",
278 | mongodb:
279 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/mongodb/mongodb-original-wordmark.svg",
280 | mysql:
281 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/mysql/mysql-original-wordmark.svg",
282 | nestjs:
283 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/nestjs/nestjs-plain.svg",
284 | nginx:
285 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/nginx/nginx-original.svg",
286 | nodejs:
287 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/nodejs/nodejs-original-wordmark.svg",
288 | openresty: "https://openresty.org/images/logo.png",
289 | oracle:
290 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/oracle/oracle-original.svg",
291 | photoshop:
292 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/photoshop/photoshop-line.svg",
293 | xd: "https://cdn.worldvectorlogo.com/logos/adobe-xd.svg",
294 | php: "https://raw.githubusercontent.com/devicons/devicon/master/icons/php/php-original.svg",
295 | perl: "https://api.iconify.design/logos-perl.svg",
296 | postgresql:
297 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/postgresql/postgresql-original-wordmark.svg",
298 | python:
299 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg",
300 | rails:
301 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/rails/rails-original-wordmark.svg",
302 | redis:
303 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/redis/redis-original-wordmark.svg",
304 | ruby: "https://raw.githubusercontent.com/devicons/devicon/master/icons/ruby/ruby-original.svg",
305 | rust: "https://raw.githubusercontent.com/devicons/devicon/master/icons/rust/rust-plain.svg",
306 | sass: "https://raw.githubusercontent.com/devicons/devicon/master/icons/sass/sass-original.svg",
307 | scala:
308 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/scala/scala-original.svg",
309 | solidworks: "https://cdn.worldvectorlogo.com/logos/solidworks.svg",
310 | symfony: "https://symfony.com/logos/symfony_black_03.svg",
311 | spring: "https://www.vectorlogo.zone/logos/springio/springio-icon.svg",
312 | swift:
313 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/swift/swift-original.svg",
314 | typescript:
315 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/typescript/typescript-original.svg",
316 | linux:
317 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/linux/linux-original.svg",
318 | redux:
319 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/redux/redux-original.svg",
320 | webpack:
321 | "https://raw.githubusercontent.com/devicons/devicon/d00d0969292a6569d45b06d3f350f463a0107b0d/icons/webpack/webpack-original-wordmark.svg",
322 | flutter: "https://www.vectorlogo.zone/logos/flutterio/flutterio-icon.svg",
323 | dart: "https://www.vectorlogo.zone/logos/dartlang/dartlang-icon.svg",
324 | kotlin: "https://www.vectorlogo.zone/logos/kotlinlang/kotlinlang-icon.svg",
325 | tensorflow:
326 | "https://www.vectorlogo.zone/logos/tensorflow/tensorflow-icon.svg",
327 | chartjs: "https://www.chartjs.org/media/logo-title.svg",
328 | jenkins: "https://www.vectorlogo.zone/logos/jenkins/jenkins-icon.svg",
329 | gcp: "https://www.vectorlogo.zone/logos/google_cloud/google_cloud-icon.svg",
330 | kubernetes:
331 | "https://www.vectorlogo.zone/logos/kubernetes/kubernetes-icon.svg",
332 | azure:
333 | "https://www.vectorlogo.zone/logos/microsoft_azure/microsoft_azure-icon.svg",
334 | git: "https://www.vectorlogo.zone/logos/git-scm/git-scm-icon.svg",
335 | kafka: "https://www.vectorlogo.zone/logos/apache_kafka/apache_kafka-icon.svg",
336 | solr: "https://www.vectorlogo.zone/logos/apache_solr/apache_solr-icon.svg",
337 | cassandra:
338 | "https://www.vectorlogo.zone/logos/apache_cassandra/apache_cassandra-icon.svg",
339 | rabbitMQ: "https://www.vectorlogo.zone/logos/rabbitmq/rabbitmq-icon.svg",
340 | hadoop:
341 | "https://www.vectorlogo.zone/logos/apache_hadoop/apache_hadoop-icon.svg",
342 | bash: "https://www.vectorlogo.zone/logos/gnu_bash/gnu_bash-icon.svg",
343 | pytorch: "https://www.vectorlogo.zone/logos/pytorch/pytorch-icon.svg",
344 | pandas:
345 | "https://raw.githubusercontent.com/devicons/devicon/2ae2a900d2f041da66e950e4d48052658d850630/icons/pandas/pandas-original.svg",
346 | seaborn: "https://seaborn.pydata.org/_images/logo-mark-lightbg.svg",
347 | opencv: "https://www.vectorlogo.zone/logos/opencv/opencv-icon.svg",
348 | illustrator:
349 | "https://www.vectorlogo.zone/logos/adobe_illustrator/adobe_illustrator-icon.svg",
350 | figma: "https://www.vectorlogo.zone/logos/figma/figma-icon.svg",
351 | blender:
352 | "https://download.blender.org/branding/community/blender_community_badge_white.svg",
353 | babel: "https://www.vectorlogo.zone/logos/babeljs/babeljs-icon.svg",
354 | sketch: "https://www.vectorlogo.zone/logos/sketchapp/sketchapp-icon.svg",
355 | flask: "https://www.vectorlogo.zone/logos/pocoo_flask/pocoo_flask-icon.svg",
356 | nativescript:
357 | "https://raw.githubusercontent.com/detain/svg-logos/780f25886640cef088af994181646db2f6b1a3f8/svg/nativescript.svg",
358 | xamarin:
359 | "https://raw.githubusercontent.com/detain/svg-logos/780f25886640cef088af994181646db2f6b1a3f8/svg/xamarin.svg",
360 | vagrant: "https://www.vectorlogo.zone/logos/vagrantup/vagrantup-icon.svg",
361 | tailwind:
362 | "https://www.vectorlogo.zone/logos/tailwindcss/tailwindcss-icon.svg",
363 | materialize:
364 | "https://raw.githubusercontent.com/prplx/svg-logos/5585531d45d294869c4eaab4d7cf2e9c167710a9/svg/materialize.svg",
365 | invision:
366 | "https://www.vectorlogo.zone/logos/invisionapp/invisionapp-icon.svg",
367 | framer: "https://www.vectorlogo.zone/logos/framer/framer-icon.svg",
368 | bulma:
369 | "https://raw.githubusercontent.com/gilbarbara/logos/804dc257b59e144eaca5bc6ffd16949752c6f789/logos/bulma.svg",
370 | couchdb:
371 | "https://raw.githubusercontent.com/devicons/devicon/0d6c64dbbf311879f7d563bfc3ccf559f9ed111c/icons/couchdb/couchdb-original.svg",
372 | firebase: "https://www.vectorlogo.zone/logos/firebase/firebase-icon.svg",
373 | amplify: "https://docs.amplify.aws/assets/logo-dark.svg",
374 | hive: "https://www.vectorlogo.zone/logos/apache_hive/apache_hive-icon.svg",
375 | realm:
376 | "https://raw.githubusercontent.com/bestofjs/bestofjs-webui/8665e8c267a0215f3159df28b33c365198101df5/public/logos/realm.svg",
377 | gatsby: "https://www.vectorlogo.zone/logos/gatsbyjs/gatsbyjs-icon.svg",
378 | gridsome: "https://www.vectorlogo.zone/logos/gridsome/gridsome-icon.svg",
379 | nuxtjs: "https://www.vectorlogo.zone/logos/nuxtjs/nuxtjs-icon.svg",
380 | jekyll: "https://www.vectorlogo.zone/logos/jekyllrb/jekyllrb-icon.svg",
381 | nextjs: "https://cdn.worldvectorlogo.com/logos/nextjs-2.svg",
382 | reactnative: "https://reactnative.dev/img/header_logo.svg",
383 | mariadb: "https://www.vectorlogo.zone/logos/mariadb/mariadb-icon.svg",
384 | cockroachdb: "https://cdn.worldvectorlogo.com/logos/cockroachdb.svg",
385 | objectivec:
386 | "https://www.vectorlogo.zone/logos/apple_objectivec/apple_objectivec-icon.svg",
387 | clojure:
388 | "https://upload.wikimedia.org/wikipedia/commons/5/5d/Clojure_logo.svg",
389 | haskell:
390 | "https://upload.wikimedia.org/wikipedia/commons/1/1c/Haskell-Logo.svg",
391 | svelte: "https://upload.wikimedia.org/wikipedia/commons/1/1b/Svelte_Logo.svg",
392 | vuetify: "https://bestofjs.org/logos/vuetify.svg",
393 | pug: "https://cdn.worldvectorlogo.com/logos/pug.svg",
394 | mocha: "https://www.vectorlogo.zone/logos/mochajs/mochajs-icon.svg",
395 | jest: "https://www.vectorlogo.zone/logos/jestjsio/jestjsio-icon.svg",
396 | cypress:
397 | "https://raw.githubusercontent.com/simple-icons/simple-icons/6e46ec1fc23b60c8fd0d2f2ff46db82e16dbd75f/icons/cypress.svg",
398 | selenium:
399 | "https://raw.githubusercontent.com/detain/svg-logos/780f25886640cef088af994181646db2f6b1a3f8/svg/selenium-logo.svg",
400 | puppeteer: "https://www.vectorlogo.zone/logos/pptrdev/pptrdev-official.svg",
401 | karma:
402 | "https://raw.githubusercontent.com/detain/svg-logos/780f25886640cef088af994181646db2f6b1a3f8/svg/karma.svg",
403 | jasmine: "https://www.vectorlogo.zone/logos/jasmine/jasmine-icon.svg",
404 | gtk: "https://upload.wikimedia.org/wikipedia/commons/7/71/GTK_logo.svg",
405 | qt: "https://upload.wikimedia.org/wikipedia/commons/0/0b/Qt_logo_2016.svg",
406 | wx_widgets:
407 | "https://upload.wikimedia.org/wikipedia/commons/b/bb/WxWidgets.svg",
408 | ember:
409 | "https://raw.githubusercontent.com/devicons/devicon/master/icons/ember/ember-original-wordmark.svg",
410 | scikit_learn:
411 | "https://upload.wikimedia.org/wikipedia/commons/0/05/Scikit_learn_logo_small.svg",
412 | quasar: "https://cdn.quasar.dev/logo/svg/quasar-logo.svg",
413 | kibana:
414 | "https://www.vectorlogo.zone/logos/elasticco_kibana/elasticco_kibana-icon.svg",
415 | grafana: "https://www.vectorlogo.zone/logos/grafana/grafana-icon.svg",
416 | elasticsearch: "https://www.vectorlogo.zone/logos/elastic/elastic-icon.svg",
417 | circleci: "https://www.vectorlogo.zone/logos/circleci/circleci-icon.svg",
418 | scully:
419 | "https://raw.githubusercontent.com/scullyio/scully/main/assets/logos/SVG/scullyio-icon.svg",
420 | "11ty":
421 | "https://gist.githubusercontent.com/vivek32ta/c7f7bf583c1fb1c58d89301ea40f37fd/raw/f4c85cce5790758286b8f155ef9a177710b995df/11ty.svg",
422 | sculpin:
423 | "https://gist.githubusercontent.com/vivek32ta/c7f7bf583c1fb1c58d89301ea40f37fd/raw/1782aef8672484698c0dd407f900c4a329ed5bc4/sculpin.svg",
424 | sapper:
425 | "https://raw.githubusercontent.com/bestofjs/bestofjs-webui/master/public/logos/sapper.svg",
426 | vuepress:
427 | "https://raw.githubusercontent.com/AliasIO/wappalyzer/master/src/drivers/webextension/images/icons/VuePress.svg",
428 | unity: "https://www.vectorlogo.zone/logos/unity3d/unity3d-icon.svg",
429 | unreal:
430 | "https://raw.githubusercontent.com/kenangundogan/fontisto/036b7eca71aab1bef8e6a0518f7329f13ed62f6b/icons/svg/brand/unreal-engine.svg",
431 | elixir: "https://www.vectorlogo.zone/logos/elixir-lang/elixir-lang-icon.svg",
432 | heroku: "https://www.vectorlogo.zone/logos/heroku/heroku-icon.svg",
433 | appwrite: "https://www.vectorlogo.zone/logos/appwriteio/appwriteio-icon.svg",
434 | hexo: "https://www.vectorlogo.zone/logos/hexoio/hexoio-icon.svg",
435 | travisci: "https://www.vectorlogo.zone/logos/travis-ci/travis-ci-icon.svg",
436 | apachecordova:
437 | "https://www.vectorlogo.zone/logos/apache_cordova/apache_cordova-icon.svg",
438 | zapier: "https://www.vectorlogo.zone/logos/zapier/zapier-icon.svg",
439 | ifttt: "https://www.vectorlogo.zone/logos/ifttt/ifttt-ar21.svg",
440 | postman: "https://www.vectorlogo.zone/logos/getpostman/getpostman-icon.svg",
441 | erlang: "https://www.vectorlogo.zone/logos/erlang/erlang-official.svg",
442 | nim: "https://www.vectorlogo.zone/logos/nim-lang/nim-lang-icon.svg",
443 | sqlite: "https://www.vectorlogo.zone/logos/sqlite/sqlite-icon.svg",
444 | mssql: "https://www.svgrepo.com/show/303229/microsoft-sql-server-logo.svg",
445 | middleman:
446 | "https://raw.githubusercontent.com/leungwensen/svg-icon/b84b3f3a3da329b7c1d02346865f8e98beb05413/dist/svg/logos/middleman.svg",
447 | matlab: "https://upload.wikimedia.org/wikipedia/commons/2/21/Matlab_Logo.png",
448 | };
449 |
450 | const skillWebsites = {
451 | arduino: "https://www.arduino.cc/",
452 | solidworks: "https://www.solidworks.com/",
453 | vuejs: "https://vuejs.org/",
454 | react: "https://reactjs.org/",
455 | angularjs: "https://angular.io",
456 | angular: "https://angular.io",
457 | aws: "https://aws.amazon.com",
458 | android: "https://developer.android.com",
459 | backbonejs: "https://backbonejs.org",
460 | bootstrap: "https://getbootstrap.com",
461 | c: "https://www.cprogramming.com/",
462 | canvasjs: "https://canvasjs.com",
463 | coffeescript: "https://offeescript.org",
464 | codeigniter: "https://codeigniter.com",
465 | cplusplus: "https://www.w3schools.com/cpp/",
466 | css3: "https://www.w3schools.com/css/",
467 | csharp: "https://www.w3schools.com/cs/",
468 | d3js: "https://d3js.org/",
469 | django: "https://www.djangoproject.com/",
470 | docker: "https://www.docker.com/",
471 | dotnet: "https://dotnet.microsoft.com/",
472 | electron: "https://www.electronjs.org",
473 | express: "https://expressjs.com",
474 | go: "https://golang.org",
475 | graphql: "https://graphql.org",
476 | gulp: "https://gulpjs.com",
477 | html5: "https://www.w3.org/html/",
478 | hugo: "https://gohugo.io/",
479 | java: "https://www.java.com",
480 | javascript: "https://developer.mozilla.org/en-US/docs/Web/JavaScript",
481 | ionic: "https://ionicframework.com",
482 | laravel: "https://laravel.com/",
483 | matlab: "https://www.mathworks.com/",
484 | meteor: "https://www.meteor.com/",
485 | mongodb: "https://www.mongodb.com/",
486 | mysql: "https://www.mysql.com/",
487 | nestjs: "https://nestjs.com/",
488 | nginx: "https://www.nginx.com",
489 | nodejs: "https://nodejs.org",
490 | openresty: "https://openresty.org/",
491 | oracle: "https://www.oracle.com/",
492 | photoshop: "https://www.photoshop.com/en",
493 | xd: "https://www.adobe.com/products/xd.html",
494 | php: "https://www.php.net",
495 | perl: "https://www.perl.org/",
496 | postgresql: "https://www.postgresql.org",
497 | python: "https://www.python.org",
498 | rails: "https://rubyonrails.org",
499 | redis: "https://redis.io",
500 | ruby: "https://www.ruby-lang.org/en/",
501 | rust: "https://www.rust-lang.org",
502 | sass: "https://sass-lang.com",
503 | scala: "https://www.scala-lang.org",
504 | symfony: "https://symfony.com",
505 | spring: "https://spring.io/",
506 | swift: "https://developer.apple.com/swift/",
507 | typescript: "https://www.typescriptlang.org/",
508 | linux: "https://www.linux.org/",
509 | redux: "https://redux.js.org",
510 | webpack: "https://webpack.js.org",
511 | flutter: "https://flutter.dev",
512 | dart: "https://dart.dev",
513 | kotlin: "https://kotlinlang.org",
514 | tensorflow: "https://www.tensorflow.org",
515 | chartjs: "https://www.chartjs.org",
516 | jenkins: "https://www.jenkins.io",
517 | gcp: "https://cloud.google.com",
518 | kubernetes: "https://kubernetes.io",
519 | azure: "https://azure.microsoft.com/en-in/",
520 | git: "https://git-scm.com/",
521 | kafka: "https://kafka.apache.org/",
522 | solr: "https://lucene.apache.org/solr/",
523 | cassandra: "https://cassandra.apache.org/",
524 | rabbitMQ: "https://www.rabbitmq.com",
525 | hadoop: "https://hadoop.apache.org/",
526 | bash: "https://www.gnu.org/software/bash/",
527 | pytorch: "https://pytorch.org/",
528 | pandas: "https://pandas.pydata.org/",
529 | seaborn: "https://seaborn.pydata.org/",
530 | opencv: "https://opencv.org/",
531 | illustrator: "https://www.adobe.com/in/products/illustrator.html",
532 | figma: "https://www.figma.com/",
533 | blender: "https://www.blender.org/",
534 | babel: "https://babeljs.io/",
535 | sketch: "https://www.sketch.com/",
536 | flask: "https://flask.palletsprojects.com/",
537 | nativescript: "https://nativescript.org/",
538 | xamarin: "https://dotnet.microsoft.com/apps/xamarin",
539 | vagrant: "https://www.vagrantup.com/",
540 | tailwind: "https://tailwindcss.com/",
541 | materialize: "https://materializecss.com/",
542 | invision: "https://www.invisionapp.com/",
543 | framer: "https://www.framer.com/",
544 | bulma: "https://bulma.io/",
545 | couchdb: "https://couchdb.apache.org/",
546 | firebase: "https://firebase.google.com/",
547 | amplify: "https://aws.amazon.com/amplify/",
548 | hive: "https://hive.apache.org/",
549 | realm: "https://realm.io/",
550 | gatsby: "https://www.gatsbyjs.com/",
551 | gridsome: "https://gridsome.org/",
552 | nuxtjs: "https://nuxtjs.org/",
553 | jekyll: "https://jekyllrb.com/",
554 | nextjs: "https://nextjs.org/",
555 | reactnative: "https://reactnative.dev/",
556 | mariadb: "https://mariadb.org/",
557 | cockroachdb: "https://www.cockroachlabs.com/product/cockroachdb/",
558 | objectivec:
559 | "https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/ProgrammingWithObjectiveC/Introduction/Introduction.html",
560 | clojure: "https://clojure.org/",
561 | haskell: "https://www.haskell.org/",
562 | svelte: "https://svelte.dev",
563 | vuetify: "https://vuetifyjs.com/en/",
564 | pug: "https://pugjs.org",
565 | mocha: "https://mochajs.org",
566 | jest: "https://jestjs.io",
567 | cypress: "https://www.cypress.io",
568 | selenium: "https://www.selenium.dev",
569 | puppeteer: "https://github.com/puppeteer/puppeteer",
570 | karma: "https://karma-runner.github.io/latest/index.html",
571 | jasmine: "https://jasmine.github.io/",
572 | gtk: "https://www.gtk.org/",
573 | qt: "https://www.qt.io/",
574 | wx_widgets: "https://www.wxwidgets.org/",
575 | ember: "https://emberjs.com/",
576 | scikit_learn: "https://scikit-learn.org/",
577 | quasar: "https://quasar.dev/",
578 | kibana: "https://www.elastic.co/kibana",
579 | grafana: "https://grafana.com",
580 | elasticsearch: "https://www.elastic.co",
581 | circleci: "https://circleci.com",
582 | scully: "https://scully.io/",
583 | sculpin: "https://sculpin.io/",
584 | "11ty": "https://www.11ty.dev/",
585 | sapper: "https://sapper.svelte.dev/",
586 | vuepress: "https://vuepress.vuejs.org/",
587 | unity: "https://unity.com/",
588 | unreal: "https://unrealengine.com/",
589 | hexo: "hexo.io/",
590 | heroku: "https://heroku.com",
591 | appwrite: "https://appwrite.io",
592 | zapier: "https://zapier.com",
593 | ifttt: "https://ifttt.com/",
594 | elixir: "https://elixir-lang.org",
595 | travisci: "https://travis-ci.org",
596 | apachecordova: "https://cordova.apache.org/",
597 | sqlite: "https://www.sqlite.org/",
598 | mssql: "https://www.microsoft.com/en-us/sql-server",
599 | postman: "https://postman.com",
600 | erlang: "https://www.erlang.org/",
601 | nim: "https://nim-lang.org/",
602 | middleman: "https://middlemanapp.com/",
603 | };
604 |
605 | const initialSkillState = {};
606 |
607 | const skillsArray = Object.keys(categorizedSkills).map(
608 | (key) => categorizedSkills[key].skills
609 | );
610 | const skills = [].concat.apply([], skillsArray).sort();
611 |
612 | skills.forEach((skill) => {
613 | if (skill === "c" || skill === "cplusplus") {
614 | initialSkillState[skill] = true;
615 | } else {
616 | initialSkillState[skill] = false;
617 | }
618 | });
619 |
620 | const categories = Object.keys(categorizedSkills);
621 |
622 | export {
623 | initialSkillState,
624 | icons,
625 | skills,
626 | skillWebsites,
627 | categorizedSkills,
628 | categories,
629 | };
630 | export const socialConst = {
631 | github: "technicalranjitofficial",
632 | dev: "",
633 | linkedin: "",
634 | codepen: "",
635 | stackoverflow: "",
636 | kaggle: "",
637 | codesandbox: "",
638 | fb: "",
639 | instagram: "",
640 | twitter: "",
641 | dribbble: "",
642 | behance: "",
643 | medium: "",
644 | youtube: "",
645 | codechef: "",
646 | hackerrank: "",
647 | codeforces: "",
648 | leetcode: "",
649 | topcoder: "",
650 | hackerearth: "",
651 | geeks_for_geeks: "",
652 | discord: "",
653 | rssurl: "",
654 | };
655 |
656 | export const socialName = [
657 | "github",
658 | "dev",
659 | "linkedin",
660 | "codepen",
661 | "stackoverflow",
662 | "kaggle",
663 | "codesandbox",
664 | "fb",
665 | "instagram",
666 | "twitter",
667 | "dribbble",
668 | "behance",
669 | "medium",
670 | "youtube",
671 | "codechef",
672 | "hackerrank",
673 | "codeforces",
674 | "leetcode",
675 | "topcoder",
676 | "hackerearth",
677 | "geeks_for_geeks",
678 | "discord",
679 | "rssurl",
680 | ];
681 |
682 | export const socialIcons = {
683 | github: "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/github.svg",
684 | dev: "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/devto.svg",
685 | linkedin:
686 | "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/linked-in-alt.svg",
687 | codepen: "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/codepen.svg",
688 | stackoverflow:
689 | "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/stack-overflow.svg",
690 | kaggle: "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/kaggle.svg",
691 | codesandbox:
692 | "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/codesandbox.svg",
693 | fb: "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/facebook.svg",
694 | instagram:
695 | "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/instagram.svg",
696 | twitter: "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/twitter.svg",
697 | dribbble:
698 | "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/dribbble.svg",
699 | behance: "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/behance.svg",
700 | medium: "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/medium.svg",
701 | youtube: "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/youtube.svg",
702 | codechef:
703 | "https://cdn.jsdelivr.net/npm/simple-icons@3.1.0/icons/codechef.svg",
704 | hackerrank:
705 | "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/hackerrank.svg",
706 | codeforces:
707 | "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/codeforces.svg",
708 | leetcode:
709 | "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/leet-code.svg",
710 | topcoder:
711 | "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/topcoder.svg",
712 | hackerearth:
713 | "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/hackerearth.svg",
714 | geeks_for_geeks:
715 | "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/geeks-for-geeks.svg",
716 | discord: "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/discord.svg",
717 | rssurl: "https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/rss.svg",
718 | }
719 |
720 |
721 | export const socialUrl = {
722 | github: "https://github.com/",
723 | dev: "https://dev.to/",
724 | linkedin: "https://linkedin.com/in/",
725 | codepen: "https://codepen.io/",
726 | stackoverflow: "https://stackoverflow.com/users/",
727 | kaggle: "https://kaggle.com/",
728 | codesandbox: "https://codesandbox.com/",
729 | fb: "https://fb.com/",
730 | instagram: "https://instagram.com/",
731 | twitter: "https://twitter.com/",
732 | dribbble: "https://dribbble.com/",
733 | behance: "https://www.behance.net/",
734 | medium: "https://medium.com/",
735 | youtube: "https://www.youtube.com/c/",
736 | codechef: "https://www.codechef.com/users/",
737 | hackerrank: "https://www.hackerrank.com/",
738 | codeforces: "https://codeforces.com/profile/",
739 | leetcode: "https://www.leetcode.com/",
740 | topcoder: "https://www.topcoder.com/members/",
741 | hackerearth: "https://www.hackerearth.com/",
742 | geeks_for_geeks: "https://auth.geeksforgeeks.org/user/",
743 | discord: "https://discord.gg/",
744 | rssurl: "/",
745 | };
746 |
747 | export const initialAddon = {
748 | visitorBadge: true,
749 | twiterBadge: false,
750 | trophy: true,
751 | githubProfileStats: true,
752 | showMemes: true,
753 | showStreakStats: true,
754 | showMostLanguageUsed: true,
755 | };
756 |
757 | export const initialTheme = "origin";
758 |
759 | export const gitStatsInitialThemes = "radical";
760 |
761 |
762 | export const locale = [
763 | {
764 | name: "English (en)",
765 | locale: "en",
766 | },
767 | {
768 | name: "(ar) العربية",
769 | locale: "ar",
770 | },
771 | {
772 | name: "български(bg)",
773 | locale: "bg",
774 | },
775 | {
776 | name: "বাংলা (bn)",
777 | locale: "bn",
778 | },
779 | {
780 | name: "dansk (da)",
781 | locale: "da",
782 | },
783 | {
784 | name: "Deutsch (de)",
785 | locale: "de",
786 | },
787 | {
788 | name: "español (es)",
789 | locale: "en",
790 | },
791 | {
792 | name: "(fa) فارسی",
793 | locale: "fa",
794 | },
795 | {
796 | name: "Français (fr)",
797 | locale: "fr",
798 | },{
799 | name: "(he) עברית",
800 | locale: "he",
801 | },{
802 | name: "हिन्दी (hi)",
803 | locale: "hi",
804 | },{
805 | name: "Haitian Creole (ht)",
806 | locale: "ht",
807 | },{
808 | name: "Indonesia (id)",
809 | locale: "id",
810 | },{
811 | name: "italiano (it)",
812 | locale: "it",
813 | },{
814 | name: "日本語 (a)",
815 | locale: "a",
816 | },{
817 | name: "ಕನಡ (kn)",
818 | locale: "kn",
819 | },{
820 | name: "한국어 (ko)",
821 | locale: "ko",
822 | },{
823 | name: "मराठी (mr)",
824 | locale: "mr",
825 | },{
826 | name: "(ar) العربية",
827 | locale: "ar",
828 | },{
829 | name: "日本語 (ja)",
830 | locale: "ja",
831 | },{
832 | name: "ಕನ್ನಡ (kn)",
833 | locale: "kn",
834 | },{
835 | name: "한국어 (ko)",
836 | locale: "ko",
837 | },{
838 | name: "polski (pl)",
839 | locale: "pl",
840 | },{
841 | name: "(ps) پښتو",
842 | locale: "ps",
843 | },{
844 | name: "português (Brasil) (pt_BR)",
845 | locale: "pt_BR",
846 | },{
847 | name: "русский (ru)",
848 | locale: "ru",
849 | },{
850 | name: "संस्कृत भाषा (sa)",
851 | locale: "sa",
852 | },{
853 | name: "தமிழ் (ta)",
854 | locale: "ta",
855 | },{
856 | name: "Türkçe (tr)",
857 | locale: "tr",
858 | },{
859 | name: "українська (uk)",
860 | locale: "uk",
861 | },{
862 | name: "Èdè Yorùbá (yo)",
863 | locale: "yo",
864 | }
865 | ]
866 |
867 | export const locale2 = [
868 | {
869 | name: "English (en)",
870 | locale: "en",
871 | },
872 | {
873 | name: "(ar) العربية",
874 | locale: "ar",
875 | },
876 |
877 | {
878 | name: "বাংলা (bn)",
879 | locale: "bn",
880 | },
881 |
882 | {
883 | name: "Deutsch (de)",
884 | locale: "de",
885 | },
886 | {
887 | name: "español (es)",
888 | locale: "en",
889 | },
890 | {
891 | name: "Français (fr)",
892 | locale: "fr",
893 | },{
894 | name: "Indonesia (id)",
895 | locale: "id",
896 | },{
897 | name: "italiano (it)",
898 | locale: "it",
899 | },{
900 | name: "日本語 (ja)",
901 | locale: "ja",
902 | },{
903 | name: "polski (pl)",
904 | locale: "pl",
905 | },{
906 | name: "தமிழ் (ta)",
907 | locale: "ta",
908 | },{
909 | name: "Türkçe (tr)",
910 | locale: "tr",
911 | }
912 | ]
913 |
914 |
915 | export const ConstTrophyData = {
916 | themes: [
917 | "flat",
918 | "onedark",
919 | "gruvbox",
920 | "dracula",
921 | "monokai",
922 | "chalk",
923 | "nord",
924 | "alduin",
925 | "darkhub",
926 | "juicyfresh",
927 | "buddhism",
928 | "oldie",
929 | "radical",
930 | "onestar",
931 | "discord",
932 | "algolia",
933 | "gitdimmed",
934 | "tokyonight",
935 | "matrix",
936 | "apprentice",
937 | "dark_dimmed",
938 | "dark_lover",
939 | ],
940 |
941 | no_frames: false,
942 | column: [3, 4, 5, 6],
943 | background_transparent: false,
944 | };
945 |
946 | export const initialTrophyData = {
947 | theme: "matrix",
948 | no_frames: false,
949 | column: 6,
950 | background_transparent: false,
951 | };
952 |
953 | export const ConstStreaksData = {
954 | themes: [
955 | "default",
956 | "dark",
957 | "highcontrast",
958 | "radical",
959 | "merko",
960 | "gruvbox",
961 | "gruvbox_duo",
962 | "tokyonight",
963 | "tokyonight_duo",
964 | "onedark",
965 | "onedark_duo",
966 | "cobalt",
967 | "synthwave",
968 | "dracula",
969 | "prussian",
970 | "monokai",
971 | "vue",
972 | "vue-dark",
973 | "shades-of-purple",
974 | "nightowl",
975 | "buefy",
976 | "buefy-dark",
977 | "blue-green",
978 | "algolia",
979 | "great-gatsby",
980 | "darcula",
981 | "bear",
982 | "solarized-dark",
983 | "solarized-light",
984 | "chartreuse-dark",
985 | "nord",
986 | "gotham",
987 | "material-palenight",
988 | "graywhite",
989 | "vision-friendly-dark",
990 | "ayu-mirage",
991 | "midnight-purple",
992 | "calm",
993 | "flag-india",
994 | "omni",
995 | "react",
996 | "jolly",
997 | "maroongold",
998 | "yeblu",
999 | "blueberry",
1000 | "blueberry_duo",
1001 | "slateorange",
1002 | "kacho_ga",
1003 | "ads-juicy-fresh",
1004 | "black-ice",
1005 | "soft-green",
1006 | "blood",
1007 | "blood-dark",
1008 | "green_nur",
1009 | "neon-dark",
1010 | "neon-palenight",
1011 | "dark-smoky",
1012 | "monokai-metallian",
1013 | "city-lights",
1014 | "blux",
1015 | "earth",
1016 | "deepBlue",
1017 | "holi-theme",
1018 | "ayu-light",
1019 | "javascript",
1020 | "javascript-dark",
1021 | "noctis-minimus",
1022 | "github-dark",
1023 | "github-dark-blue",
1024 | "github-light",
1025 | "elegant",
1026 | "leafy",
1027 | "navy-gear",
1028 | "hacker",
1029 | "garden",
1030 | "github-green-purple",
1031 | "icegray",
1032 | "neon_blurange",
1033 | "yellowdark",
1034 | "java-dark",
1035 | "android-dark",
1036 | "deuteranopia-friendly-theme",
1037 | "windows-dark",
1038 | "git-dark",
1039 | "python-dark",
1040 | "sea",
1041 | "sea-dark",
1042 | "violet-dark",
1043 | "horizon",
1044 | "material",
1045 | "modern-lilac",
1046 | "modern-lilac2",
1047 | "halloween",
1048 | "violet-punch",
1049 | "submarine-flowers",
1050 | ],
1051 |
1052 | hide_border: false,
1053 | locale: locale,
1054 |
1055 | mode:["weekly","daily"]
1056 | };
1057 |
1058 | export const initialStreaksData = {
1059 | theme: "dark",
1060 | hide_border: false,
1061 | locale: {name:"English (en)",locale:"en"},
1062 | mode: "weekly",
1063 | };
1064 |
1065 |
1066 | export const ConstGitStats = {
1067 | themes:[
1068 | "dark",
1069 | "radical",
1070 | "merko",
1071 | "gruvbox",
1072 | "tokyonight",
1073 | "onedark",
1074 | "cobalt",
1075 | "synthwave",
1076 | "highcontrast",
1077 | "dracula",
1078 | ],
1079 | hide_border:false,
1080 | locale:locale2
1081 | }
1082 |
1083 | export const initialGitStats = {
1084 | theme: "dark",
1085 | hide_border: false,
1086 | locale: {name:"English (en)",locale:"en"},
1087 |
1088 | };
1089 |
1090 | export const ConstTopLanguageStats = {
1091 | themes:[
1092 | "dark",
1093 | "radical",
1094 | "merko",
1095 | "gruvbox",
1096 | "tokyonight",
1097 | "onedark",
1098 | "cobalt",
1099 | "synthwave",
1100 | "highcontrast",
1101 | "dracula",
1102 | ],
1103 | hide_border:false,
1104 | locale:locale2
1105 | }
1106 |
1107 | export const initialTopLangStats = {
1108 | theme: "dark",
1109 | hide_border: false,
1110 |
1111 | };
1112 |
1113 |
1114 | export const initialTemplateData = {
1115 | trophy: {
1116 | data: ConstTrophyData,
1117 | },
1118 | gitstats: {
1119 | data:ConstGitStats,
1120 | },
1121 | streakstats: {
1122 | data: ConstStreaksData,
1123 | },
1124 | toplanguage: {
1125 | data: ConstTopLanguageStats,
1126 | },
1127 | };
1128 |
1129 |
1130 | export const devSocialTitle=['instagram','linkedin','github'];
1131 |
1132 | export const devSocial ={
1133 | instagram:{
1134 | url:"https://www.instagram.com/official_ranjitdas",
1135 | img:"https://raw.githubusercontent.com/edent/SuperTinyIcons/master/images/svg/instagram.svg",
1136 | },
1137 | linkedin:{
1138 | url:"https://www.linkedin.com/in/technicalranjit",
1139 | img:"https://raw.githubusercontent.com/edent/SuperTinyIcons/master/images/svg/linkedin.svg",
1140 | },
1141 | github:{
1142 | url:"https://github.com/Technicalranjitofficial",
1143 | img:"https://raw.githubusercontent.com/edent/SuperTinyIcons/master/images/png/github.png",
1144 | }
1145 | }
--------------------------------------------------------------------------------