diff --git a/app/hooks.ts b/app/hooks.ts index 927f868..eee9610 100644 --- a/app/hooks.ts +++ b/app/hooks.ts @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import { TypedUseSelectorHook, useDispatch, useSelector } from "react-redux"; import type { RootState, AppDispatch } from "../store"; diff --git a/components/AllCard.tsx b/components/AllCard.tsx index 558e8b1..4230b1b 100644 --- a/components/AllCard.tsx +++ b/components/AllCard.tsx @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import React from "react"; import styles from "../styles/AllCard.module.scss"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; // Import the FontAwesomeIcon component diff --git a/components/CookieBanner.tsx b/components/CookieBanner.tsx index 3ebce18..3909930 100644 --- a/components/CookieBanner.tsx +++ b/components/CookieBanner.tsx @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import React from "react"; import styles from "../styles/CookieBanner.module.scss"; diff --git a/components/Footer.tsx b/components/Footer.tsx index 650199e..1b78066 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import Image from "next/image"; import styles from "../styles/Footer.module.scss"; diff --git a/components/Navbar.tsx b/components/Navbar.tsx index 40778c3..8b819f9 100644 --- a/components/Navbar.tsx +++ b/components/Navbar.tsx @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import styles from "../styles/Navbar.module.scss"; type FooterConfig = { diff --git a/components/Splash.tsx b/components/Splash.tsx index 5d0b88b..fd0e2ed 100644 --- a/components/Splash.tsx +++ b/components/Splash.tsx @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import Head from "next/head"; import Image from "next/image"; import React, { useEffect, useState } from "react"; diff --git a/firebase.ts b/firebase.ts index c10ba03..0150016 100644 --- a/firebase.ts +++ b/firebase.ts @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import { initializeApp, getApps, getApp } from "firebase/app"; import { getAuth } from "firebase/auth"; import { getFirestore } from "firebase/firestore"; diff --git a/package.json b/package.json index fff6180..03c231a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,8 @@ { "name": "github-readme-design", - "version": "0.1.0", - "private": true, + "version": "1.0.0", + "private": false, + "author": "Rishu Chowdhary ", "scripts": { "dev": "next dev", "build": "next build", diff --git a/pages/_app.tsx b/pages/_app.tsx index 6c03636..a917589 100644 --- a/pages/_app.tsx +++ b/pages/_app.tsx @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import "../styles/globals.css"; import type { AppProps } from "next/app"; import "@fortawesome/fontawesome-svg-core/styles.css"; // import Font Awesome CSS diff --git a/pages/_document.js b/pages/_document.js index f8c0b8d..1ecc4c4 100644 --- a/pages/_document.js +++ b/pages/_document.js @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import { Html, Head, Main, NextScript } from "next/document"; export default function Document() { diff --git a/pages/api/getDateTime.ts b/pages/api/getDateTime.ts index 3789418..80dee00 100644 --- a/pages/api/getDateTime.ts +++ b/pages/api/getDateTime.ts @@ -1,4 +1,11 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import type { NextApiRequest, NextApiResponse } from "next"; import { getCustomDayNameFull, diff --git a/pages/api/getHeadDark.ts b/pages/api/getHeadDark.ts index 56423e1..9729b62 100644 --- a/pages/api/getHeadDark.ts +++ b/pages/api/getHeadDark.ts @@ -1,4 +1,11 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import type { NextApiRequest, NextApiResponse } from "next"; import { getCustomDayNameFull, diff --git a/pages/api/getHeadLight.ts b/pages/api/getHeadLight.ts index 6dc0ccd..090002f 100644 --- a/pages/api/getHeadLight.ts +++ b/pages/api/getHeadLight.ts @@ -1,4 +1,11 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import type { NextApiRequest, NextApiResponse } from "next"; import { getCustomDayNameFull, diff --git a/pages/api/hello.ts b/pages/api/hello.ts index 1664e79..14dd712 100644 --- a/pages/api/hello.ts +++ b/pages/api/hello.ts @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import type { NextApiRequest, NextApiResponse } from "next"; type Data = { diff --git a/pages/api/index.ts b/pages/api/index.ts index 62e14b2..bae70e2 100644 --- a/pages/api/index.ts +++ b/pages/api/index.ts @@ -1,4 +1,11 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import type { NextApiRequest, NextApiResponse } from "next"; type Data = string; diff --git a/pages/api/languageCard.ts b/pages/api/languageCard.ts index 212139f..4866320 100644 --- a/pages/api/languageCard.ts +++ b/pages/api/languageCard.ts @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import type { NextApiRequest, NextApiResponse } from "next"; import { languageConfigValues } from "../../utils/languageConfigValues"; diff --git a/pages/api/metricCard.ts b/pages/api/metricCard.ts index fca2ad9..293a52e 100644 --- a/pages/api/metricCard.ts +++ b/pages/api/metricCard.ts @@ -1,4 +1,11 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import type { NextApiRequest, NextApiResponse } from "next"; import { metricConfigValues, totalStar } from "../../utils/metricConfigValues"; diff --git a/pages/api/starRepo/getStarDark.ts b/pages/api/starRepo/getStarDark.ts index 00041e8..1e83e67 100644 --- a/pages/api/starRepo/getStarDark.ts +++ b/pages/api/starRepo/getStarDark.ts @@ -1,4 +1,11 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import type { NextApiRequest, NextApiResponse } from "next"; import { getRepoDetails } from "../../../utils/getRepoDetails"; diff --git a/pages/api/starRepo/getStarLight.ts b/pages/api/starRepo/getStarLight.ts index d0ee1d2..2461092 100644 --- a/pages/api/starRepo/getStarLight.ts +++ b/pages/api/starRepo/getStarLight.ts @@ -1,4 +1,11 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import type { NextApiRequest, NextApiResponse } from "next"; import { getRepoDetails } from "../../../utils/getRepoDetails"; diff --git a/pages/api/starRepo/testingStar.ts b/pages/api/starRepo/testingStar.ts index 3be2f53..fb47d3b 100644 --- a/pages/api/starRepo/testingStar.ts +++ b/pages/api/starRepo/testingStar.ts @@ -1,4 +1,11 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import type { NextApiRequest, NextApiResponse } from "next"; import { getCustomDayNameFull, diff --git a/pages/api/testingAPI.ts b/pages/api/testingAPI.ts index fd941a4..154dc00 100644 --- a/pages/api/testingAPI.ts +++ b/pages/api/testingAPI.ts @@ -1,4 +1,11 @@ -// Next.js API route support: https://nextjs.org/docs/api-routes/introduction +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import type { NextApiRequest, NextApiResponse } from "next"; import { getCustomDayNameFull, diff --git a/pages/cookiepolicy.tsx b/pages/cookiepolicy.tsx index 8b2b3bc..18873be 100644 --- a/pages/cookiepolicy.tsx +++ b/pages/cookiepolicy.tsx @@ -1,5 +1,12 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import React, { useEffect } from "react"; - import styles from "../styles/CookiePolicy.module.scss"; import $ from "jquery"; import Head from "next/head"; diff --git a/pages/headstart.tsx b/pages/headstart.tsx index 3aa6b23..37ba2f3 100644 --- a/pages/headstart.tsx +++ b/pages/headstart.tsx @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import React, { useEffect, useState } from "react"; import type { NextPage } from "next"; import Head from "next/head"; diff --git a/pages/index.tsx b/pages/index.tsx index 401cde2..e64da9b 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import type { NextPage } from "next"; import Head from "next/head"; import Image from "next/image"; diff --git a/pages/star/repo/[user].js b/pages/star/repo/[user].js index 7edf92b..801c0d8 100644 --- a/pages/star/repo/[user].js +++ b/pages/star/repo/[user].js @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import React, { useEffect, useState } from "react"; import Head from "next/head"; import styles from "../../../styles/StarRepo/StarRepoPage.module.scss"; diff --git a/redux/actions/index.ts b/redux/actions/index.ts index e2178ec..d1edb0e 100644 --- a/redux/actions/index.ts +++ b/redux/actions/index.ts @@ -1,5 +1,12 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import { createAction } from "@reduxjs/toolkit"; - /** * * @param {*} condtion It's make sure that user accepted the cookie policy diff --git a/redux/reducers/index.ts b/redux/reducers/index.ts index f837599..22dd74b 100644 --- a/redux/reducers/index.ts +++ b/redux/reducers/index.ts @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import { createReducer } from "@reduxjs/toolkit"; import { setCookieEnabled, setGithubUsername } from "../actions"; diff --git a/store.ts b/store.ts index 0dfbfec..7ef9aa7 100644 --- a/store.ts +++ b/store.ts @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ import { configureStore } from "@reduxjs/toolkit"; import { rootReducer } from "./redux/reducers/index"; diff --git a/utils/convertCookieData.ts b/utils/convertCookieData.ts index 5907bda..036871f 100644 --- a/utils/convertCookieData.ts +++ b/utils/convertCookieData.ts @@ -1,3 +1,9 @@ +/** + * Copyright Rishu Chowdhary 2022 + * + * Github - https://github.com/hirishu10 + * + */ /** * * @param data String of the Cookie data diff --git a/utils/getConsoleDesign.js b/utils/getConsoleDesign.js index e6b0e02..07d7d53 100644 --- a/utils/getConsoleDesign.js +++ b/utils/getConsoleDesign.js @@ -1,3 +1,9 @@ +/** + * Copyright Rishu Chowdhary 2022 + * + * Github - https://github.com/hirishu10 + * + */ /** * @return Return the text design for the browser console :) * @private Only for personal use :O diff --git a/utils/getRepoDetails.ts b/utils/getRepoDetails.ts index 4c3172c..46f6d8c 100644 --- a/utils/getRepoDetails.ts +++ b/utils/getRepoDetails.ts @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ /** * * @param user Passed username of the Github Owner diff --git a/utils/languageConfigValues.ts b/utils/languageConfigValues.ts index 0b1ae30..822b6a9 100644 --- a/utils/languageConfigValues.ts +++ b/utils/languageConfigValues.ts @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ /** * * @param user Take the GithuUser name diff --git a/utils/metricConfigValues.ts b/utils/metricConfigValues.ts index bfc12d6..e79d31b 100644 --- a/utils/metricConfigValues.ts +++ b/utils/metricConfigValues.ts @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ /** * * @param ownerRepo Take user Repo to fetch the data diff --git a/utils/starCount.ts b/utils/starCount.ts index dd0535d..eaf415e 100644 --- a/utils/starCount.ts +++ b/utils/starCount.ts @@ -1,3 +1,11 @@ +/** + * With love from ❤️ Github-Readme-Design + * Github - https://github.com/hirishu10/github-readme-design + * App Link - https://github-readme-design.vercel.app/ + * API Link - https://github-readme-design.vercel.app/api + * Version - 1.0.0 + * License - MIT + */ /** * * @param ownerRepo Take user to fetch the data