Compare commits

...

52 Commits

Author SHA1 Message Date
Rahul Jain 8809fb7c43 Merge pull request #241 from Mohitmadhav/Issue-#228
[update] gatsby-plugin-sharp version
2020-10-08 22:36:32 +05:30
Rahul Jain fa1dcf2fd9 Merge pull request #250 from kunaljain0212/cockroachicon
[fix]: broken cockroachdb icon link
2020-10-08 22:24:13 +05:30
Kunal Jain ca55d9e02c fixed broken cockroachdb icon link 2020-10-07 23:59:24 +05:30
Rahul Jain 0ca556a9de Merge pull request #246 from thauska/master
[update]: footer with new design
2020-10-07 20:20:40 +05:30
Thayana Mamoré 27b01ccf71 [feat]: modify footer as requested 2020-10-06 23:36:53 -03:00
Thayana Mamoré 980f970caa Merge branch 'master' of https://github.com/rahuldkjain/github-profile-readme-generator 2020-10-06 22:53:18 -03:00
Rahul Jain cb124b7b19 Merge pull request #226 from Maddoxx88/patch-6
[add]: Twitter Username Validation
2020-10-06 23:35:48 +05:30
Rahul Jain 008f2f818b Merge pull request #244 from rahuldkjain/pr-template
[add]: pr-template
2020-10-06 23:27:32 +05:30
zolostays a1dfb87eaa [fix]: typo in pr-template 2020-10-06 23:26:50 +05:30
zolostays 559949d5f3 [add]: pr-template 2020-10-06 23:24:35 +05:30
Rahul Jain 19b6a99893 Merge pull request #203 from rahuldkjain/all-contributors/add-KKVANONYMOUS
docs: add KKVANONYMOUS as a contributor
2020-10-06 23:05:09 +05:30
Rahul Jain 7c3c64ec8d Merge branch 'master' into all-contributors/add-KKVANONYMOUS 2020-10-06 23:04:13 +05:30
Rahul Jain 25b19432ff Merge pull request #177 from rahuldkjain/all-contributors/add-jaideepghosh
docs: add jaideepghosh as a contributor
2020-10-06 23:01:56 +05:30
Rahul Jain e6fff7627a Merge branch 'master' into all-contributors/add-jaideepghosh 2020-10-06 23:01:37 +05:30
Rahul Jain 85530aad63 Merge pull request #168 from rahuldkjain/all-contributors/add-YashKandalkar
docs: add YashKandalkar as a contributor
2020-10-06 22:59:21 +05:30
Rahul Jain cd3df511e5 Merge branch 'master' into all-contributors/add-YashKandalkar 2020-10-06 22:59:03 +05:30
Rahul Jain 1def3dc501 Merge pull request #161 from rahuldkjain/all-contributors/add-abhijit-hota
docs: add abhijit-hota as a contributor
2020-10-06 22:57:33 +05:30
Rahul Jain 12d94283c3 Merge branch 'master' into all-contributors/add-abhijit-hota 2020-10-06 22:56:54 +05:30
Rahul Jain 756b0942a1 Merge pull request #154 from rahuldkjain/all-contributors/add-Maddoxx88
docs: add Maddoxx88 as a contributor
2020-10-06 22:55:12 +05:30
Rahul Jain 6db2bd9278 Merge branch 'master' into all-contributors/add-Maddoxx88 2020-10-06 22:55:05 +05:30
zolostays 2b99a7e3ed [add]: g-savitha in README 2020-10-06 22:48:26 +05:30
Rahul Jain 5448102770 Merge pull request #134 from rahuldkjain/all-contributors/add-Hardik0307
docs: add Hardik0307 as a contributor
2020-10-06 22:37:18 +05:30
Rahul Jain cbb1dddb8e Merge branch 'master' into all-contributors/add-Hardik0307 2020-10-06 22:37:07 +05:30
Mohit_007 fe0bffbd93 commit 2020-10-06 19:17:37 +05:30
allcontributors[bot] 0bf13cdbb1 docs: update .all-contributorsrc [skip ci] 2020-10-04 12:41:50 +00:00
allcontributors[bot] 10742994b0 docs: update README.md [skip ci] 2020-10-04 12:41:49 +00:00
Sunit Shirke c8102c7f97 Corrected twitter markdown link 2020-10-04 18:05:49 +05:30
Sunit Shirke aeca176f40 Corrected href link 2020-10-04 17:52:31 +05:30
Sunit Shirke 2689fe40cd Corrected href link in markdown 2020-10-04 17:44:43 +05:30
Sunit Shirke 4e5c2b974b Corrected twitter props link in markdown 2020-10-04 17:29:04 +05:30
Sunit Shirke 7e6120dedf Corrected twitter props link in preview 2020-10-04 17:27:19 +05:30
Sunit Shirke a446bbe408 Corrected href link in markdown 2020-10-04 17:25:07 +05:30
Sunit Shirke 7be9b08cd8 Corrected href link in preview 2020-10-04 17:24:05 +05:30
Sunit Shirke cac51acc92 Removed bracket error 2020-10-04 17:15:47 +05:30
Sunit Shirke 4a1e6736ae Updated username validation for Twitter Badge 2020-10-04 12:36:42 +05:30
Sunit Shirke 5b7b83804a Updated on-click links for Twitter Badge in markdown 2020-10-04 12:30:41 +05:30
Sunit Shirke 7e1e742f46 Updated on-click link on Twitter Badge 2020-10-04 12:26:45 +05:30
Sunit Shirke cd4451c607 Validation for twitter username updated. 2020-10-04 12:12:58 +05:30
Sunit Shirke f4e65fa555 Regex for Twitter Username Validation 2020-10-04 11:52:27 +05:30
allcontributors[bot] 413d279a19 docs: update .all-contributorsrc [skip ci] 2020-10-02 16:34:35 +00:00
allcontributors[bot] 729354b053 docs: update README.md [skip ci] 2020-10-02 16:34:34 +00:00
Thayana Correa Mamore a6756d0058 Merge pull request #1 from rahuldkjain/master
updating fork repo
2020-10-02 08:37:43 -03:00
allcontributors[bot] ca8cea3141 docs: update .all-contributorsrc [skip ci] 2020-10-01 20:07:54 +00:00
allcontributors[bot] a456023b55 docs: update README.md [skip ci] 2020-10-01 20:07:53 +00:00
allcontributors[bot] 6f6025fff5 docs: update .all-contributorsrc [skip ci] 2020-10-01 13:58:39 +00:00
allcontributors[bot] 18143686a8 docs: update README.md [skip ci] 2020-10-01 13:58:38 +00:00
allcontributors[bot] 3e130915cc docs: update .all-contributorsrc [skip ci] 2020-10-01 10:24:25 +00:00
allcontributors[bot] 4789090cff docs: update README.md [skip ci] 2020-10-01 10:24:24 +00:00
allcontributors[bot] 9c79fe1a64 docs: update .all-contributorsrc [skip ci] 2020-10-01 07:51:17 +00:00
allcontributors[bot] e8ebabee8c docs: update README.md [skip ci] 2020-10-01 07:51:16 +00:00
allcontributors[bot] 13ae1d20ed docs: update .all-contributorsrc [skip ci] 2020-09-25 14:26:11 +00:00
allcontributors[bot] 532867563d docs: update README.md [skip ci] 2020-09-25 14:26:10 +00:00
12 changed files with 17037 additions and 20 deletions
+64
View File
@@ -14,6 +14,15 @@
"code"
]
},
{
"login": "Hardik0307",
"name": "Hardik Bagada",
"avatar_url": "https://avatars3.githubusercontent.com/u/41434099?v=4",
"profile": "https://github.com/Hardik0307",
"contributions": [
"code"
]
},
{
"login": "antonkomarev",
"name": "Anton Komarev",
@@ -22,6 +31,61 @@
"contributions": [
"plugin"
]
},
{
"login": "KKVANONYMOUS",
"name": "Kunal Kumar Verma",
"avatar_url": "https://avatars3.githubusercontent.com/u/58628586?v=4",
"profile": "https://kkvanonymous.github.io/",
"contributions": [
"code"
]
},
{
"login": "jaideepghosh",
"name": "Jaideep Ghosh",
"avatar_url": "https://avatars2.githubusercontent.com/u/3909648?v=4",
"profile": "http://jaideepghosh.blogspot.com",
"contributions": [
"code"
]
}
{
"login": "YashKandalkar",
"name": "yash",
"avatar_url": "https://avatars0.githubusercontent.com/u/35102959?v=4",
"profile": "http://yashkandalkar.github.io",
"contributions": [
"code"
]
},
{
"login": "abhijit-hota",
"name": "Abhijit Hota",
"avatar_url": "https://avatars0.githubusercontent.com/u/8116174?v=4",
"profile": "https://github.com/abhijit-hota",
"contributions": [
"code",
"test"
]
},
{
"login": "Maddoxx88",
"name": "Sunit Shirke",
"avatar_url": "https://avatars1.githubusercontent.com/u/34238672?v=4",
"profile": "https://maddoxx88.github.io/",
"contributions": [
"code"
]
}
{
"login": "g-savitha",
"name": "Savitha Gollamudi",
"avatar_url": "https://avatars0.githubusercontent.com/u/31612459?v=4",
"profile": "https://www.gsavitha.in",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 7,
+43
View File
@@ -0,0 +1,43 @@
<!--
For Work In Progress Pull Requests, please use the Draft PR feature,
see https://github.blog/2019-02-14-introducing-draft-pull-requests/ for further details.
For a timely review/response, please avoid force-pushing additional
commits if your PR already received reviews or comments.
Before submitting a Pull Request, please ensure you've done the following:
- 📖 Read the Contributing Guide: https://github.com/rahuldkjain/github-profile-readme-generator/blob/master/CONTRIBUTING.md#create-a-pull-request.
- 📖 Read the Code of Conduct: https://github.com/rahuldkjain/github-profile-readme-generator/blob/master/CODE_OF_CONDUCT.md.
- 👷‍♀️ Create small PRs. In most cases this will be possible.
- ✅ Provide issue number with link.
- 📝 Use descriptive commit messages.
- 📗 Update any related documentation and include any relevant screenshots.
-->
## What type of PR is this? (check all applicable)
- [ ] Refactor
- [ ] Feature
- [ ] Bug Fix
- [ ] Enhancement
- [ ] Documentation Update
## Description
## Related Tickets & Documents
## QA Instructions, Screenshots, Recordings
_Please replace this line with instructions on how to test your changes, as well
as any relevant images for UI changes._
<!-- ## Added tests?
- [ ] yes
- [ ] no, because they aren't needed
- [ ] no, because I need help -->
## Added to documentation?
- [ ] readme
+8 -1
View File
@@ -157,7 +157,7 @@ Please read [`CONTRIBUTING`](CONTRIBUTING.md) for details on our [`CODE OF CONDU
## Contributors ✨
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-2-orange.svg?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-9-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
@@ -167,7 +167,14 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d
<table>
<tr>
<td align="center"><a href="https://github.com/sarbikbetal"><img src="https://avatars2.githubusercontent.com/u/41508422?v=4" width="100px;" alt=""/><br /><sub><b>Sarbik Betal</b></sub></a><br /><a href="https://github.com/rahuldkjain/github-profile-readme-generator/commits?author=sarbikbetal" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/Hardik0307"><img src="https://avatars3.githubusercontent.com/u/41434099?v=4" width="100px;" alt=""/><br /><sub><b>Hardik Bagada</b></sub></a><br /><a href="https://github.com/rahuldkjain/github-profile-readme-generator/commits?author=Hardik0307" title="Code">💻</a></td>
<td align="center"><a href="https://komarev.com"><img src="https://avatars0.githubusercontent.com/u/1849174?v=4" width="100px;" alt=""/><br /><sub><b>Anton Komarev</b></sub></a><br /><a href="#plugin-antonkomarev" title="Plugin/utility libraries">🔌</a></td>
<td align="center"><a href="https://kkvanonymous.github.io/"><img src="https://avatars3.githubusercontent.com/u/58628586?v=4" width="100px;" alt=""/><br /><sub><b>Kunal Kumar Verma</b></sub></a><br /><a href="https://github.com/rahuldkjain/github-profile-readme-generator/commits?author=KKVANONYMOUS" title="Code">💻</a></td>
<td align="center"><a href="http://jaideepghosh.blogspot.com"><img src="https://avatars2.githubusercontent.com/u/3909648?v=4" width="100px;" alt=""/><br /><sub><b>Jaideep Ghosh</b></sub></a><br /><a href="https://github.com/rahuldkjain/github-profile-readme-generator/commits?author=jaideepghosh" title="Code">💻</a></td>
<td align="center"><a href="http://yashkandalkar.github.io"><img src="https://avatars0.githubusercontent.com/u/35102959?v=4" width="100px;" alt=""/><br /><sub><b>yash</b></sub></a><br /><a href="https://github.com/rahuldkjain/github-profile-readme-generator/commits?author=YashKandalkar" title="Code">💻</a></td>
<td align="center"><a href="https://github.com/abhijit-hota"><img src="https://avatars0.githubusercontent.com/u/8116174?v=4" width="100px;" alt=""/><br /><sub><b>Abhijit Hota</b></sub></a><br /><a href="https://github.com/rahuldkjain/github-profile-readme-generator/commits?author=abhijit-hota" title="Code">💻</a> <a href="https://github.com/rahuldkjain/github-profile-readme-generator/commits?author=abhijit-hota" title="Tests">⚠️</a></td>
<td align="center"><a href="https://maddoxx88.github.io/"><img src="https://avatars1.githubusercontent.com/u/34238672?v=4" width="100px;" alt=""/><br /><sub><b>Sunit Shirke</b></sub></a><br /><a href="https://github.com/rahuldkjain/github-profile-readme-generator/commits?author=Maddoxx88" title="Code">💻</a></td>
<td align="center"><a href="https://www.gsavitha.in"><img src="https://avatars0.githubusercontent.com/u/31612459?v=4" width="100px;" alt=""/><br /><sub><b>Savitha Gollamudi</b></sub></a><br /><a href="https://github.com/rahuldkjain/github-profile-readme-generator/commits?author=g-savitha" title="Code">💻</a></td>
</tr>
</table>
+1 -1
View File
@@ -12,7 +12,7 @@
"gatsby-plugin-manifest": "^2.4.14",
"gatsby-plugin-offline": "^3.2.13",
"gatsby-plugin-react-helmet": "^3.3.6",
"gatsby-plugin-sharp": "^2.6.14",
"gatsby-plugin-sharp": "2.6.14",
"gatsby-remark-prismjs": "^3.5.10",
"gatsby-source-filesystem": "^2.3.23",
"gatsby-transformer-remark": "^2.8.27",
+70 -12
View File
@@ -1,27 +1,85 @@
import React from "react"
import links from "../constants/page-links"
import logo from "../images/mdg.png"
import discord from "../images/Discord-Logo.png"
import { Link } from "gatsby"
const Footer = () => {
return (
<div className="bg-gray-100 p-4 flex flex-col justify-center items-center shadow-inner mt-2">
<div className="w-full flex justify-evenly items-center py-2 text-orange-500">
<div>
<Link to={links.about} activeStyle={{ color: "#002ead" }}>
About
</Link>
<div className="w-full flex justify-evenly py-2">
<div className="mr-6">
<h1 className="text-base font-bold font-title sm:text-2xl flex-col items-end">
<img
src={logo}
className="h-24"
alt="github profile markdown generator logo"
/>
GitHub Profile README Generator
</h1>
</div>
<div>
<Link to={links.addons} activeStyle={{ color: "#002ead" }}>
Addons
</Link>
<div className="mb-2 font-bold font-medium font-title">
<strong>Pages</strong>
</div>
<div>
<Link to={links.addons} activeStyle={{ color: "#002ead" }}>
Addons
</Link>
</div>
<div>
<Link to={links.support} activeStyle={{ color: "#002ead" }}>
Support
</Link>
</div>
<div>
<Link to={links.about} activeStyle={{ color: "#002ead" }}>
About
</Link>
</div>
</div>
<div>
<Link to={links.support} activeStyle={{ color: "#002ead" }}>
Support
</Link>
<div className="mb-2 font-bold font-medium font-title">
<strong>More</strong>
</div>
<div>
<a
href="https://github.com/rahuldkjain/github-profile-readme-generator"
aria-label="Github rahuldkjain/github-profile-readme-generator"
target="blank"
>
Github
</a>
</div>
<div>
<a
href="https://github.com/rahuldkjain/github-profile-readme-generator/releases"
aria-label="Releases on Github rahuldkjain/github-profile-readme-generator"
target="blank"
>
Releases
</a>
</div>
</div>
<div>
<div className="mb-2 font-bold font-medium font-title">
<strong>Community</strong>
</div>
<div>
<a
href="https://discord.gg/HHMs7Eg"
aria-label="Discord of the community"
target="blank"
>
<img
src={discord}
className="h-12"
alt="Discord of the community"
/>
</a>
</div>
</div>
</div>
<div className="py-2">
<div className="py-2 mt-2">
Developed in India{" "}
<span role="img" aria-label="india">
{" "}
+2 -1
View File
@@ -101,7 +101,7 @@ const Markdown = props => {
if (props.show) {
return (
<>
{`<p align="left"> <img src="${link}" alt="${props.twitter}" /> </p>`}
{`<p align="left"> <a href="${props.base}/${props.twitter}" target="blank"><img src="${link}" alt="${props.twitter}" /></a> </p>`}
<br />
<br />
</>
@@ -253,6 +253,7 @@ const Markdown = props => {
github={props.social.github}
/>
<TwitterBadge
base="https://twitter.com"
show={props.data.twitterBadge}
twitter={props.social.twitter}
/>
+3 -1
View File
@@ -244,7 +244,9 @@ const MarkdownPreview = props => {
return (
<div className="text-left my-2">
{" "}
<img className="h-4 sm:h-6" src={link} alt={props.twitter} />{" "}
<a href="https://twitter.com/${props.twitter}" target="blank">
<img className="h-4 sm:h-6" src={link} alt={props.twitter} />
</a>{" "}
</div>
)
}
+1 -1
View File
@@ -361,7 +361,7 @@ const icons = {
nextjs: "https://cdn.worldvectorlogo.com/logos/nextjs-3.svg",
reactnative: "https://reactnative.dev/img/header_logo.svg",
mariadb: "https://www.vectorlogo.zone/logos/mariadb/mariadb-icon.svg",
cockroachdb: "https://worldvectorlogo.com/es/download/cockroachdb.svg",
cockroachdb: "https://cdn.worldvectorlogo.com/logos/cockroachdb.svg",
objectivec:
"https://www.vectorlogo.zone/logos/apple_objectivec/apple_objectivec-icon.svg",
clojure:
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

+10 -2
View File
@@ -27,6 +27,7 @@ import SEO from "../components/seo"
import {
isGitHubUsernameValid,
isMediumUsernameValid,
isTwitterUsernameValid
} from "../utils/validation"
import Layout from "../components/layout"
@@ -239,7 +240,7 @@ const IndexPage = () => {
generate()
}
} else if (data.twitterBadge) {
if (social.twitter) {
if (social.twitter && isTwitterUsernameValid(social.twitter)) {
generate()
}
} else if (social.github) {
@@ -532,13 +533,20 @@ const IndexPage = () => {
) : (
""
)}
{(data.twitterBadge && !social.twitter) ? (
{data.twitterBadge && !social.twitter ? (
<div className="warning">
* Please add twitter username to use these add-ons
</div>
) : (
""
)}
{social.twitter && !isTwitterUsernameValid(social.twitter) ? (
<div className="warning">
* Twitter username is invalid, please add a valid username
</div>
) : (
""
)}
</div>
<div className="flex items-center justify-center w-full">
<div
+6 -1
View File
@@ -9,4 +9,9 @@ const isMediumUsernameValid = username => {
return true
}
export { isGitHubUsernameValid, isMediumUsernameValid }
const isTwitterUsernameValid = username => {
var pattern = /^[a-zA-Z0-9_]{1,15}$/
return pattern.test(username)
}
export { isGitHubUsernameValid, isMediumUsernameValid, isTwitterUsernameValid }
+16829
View File
File diff suppressed because it is too large Load Diff