Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replaced Twitter with X #858

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ Please read [`CONTRIBUTING`](CONTRIBUTING.md) for details on our [`CODE OF CONDU
<p align="left">
<a href="https://www.paypal.me/rahuldkjain/10"><img src="https://ionicabizau.github.io/badges/paypal.svg" alt="sponsor github profile readme generator"/>
</a>
<a href="https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Frahuldkjain.github.io%2Fgithub-profile-readme-generator">
<a href="https://x.com/intent/tweet?text=Wow:&url=https%3A%2F%2Frahuldkjain.github.io%2Fgithub-profile-readme-generator">
<img src="https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Frahuldkjain.github.io%2Fgithub-profile-readme-generator" alt="tweet github profile readme generator"/>
</a>
</p>
Expand Down
34 changes: 17 additions & 17 deletions src/components/__tests__/__snapshots__/addons.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ exports[`Addons renders correctly 1`] = `
</AddonsItem>
<AddonsItem
inputChecked={false}
inputId="twitter-badge"
inputId="x-badge"
onInputChange={[Function]}
>
display twitter badge
display x badge
</AddonsItem>
<AddonsItem
inputChecked={false}
Expand Down Expand Up @@ -311,7 +311,7 @@ exports[`Addons should render Customize Badges 1`] = `
"theme": "",
"titleColor": "",
},
"twitterBadge": false,
"xBadge": false,
"visitorsBadge": false,
}
}
Expand Down Expand Up @@ -818,20 +818,20 @@ exports[`Addons should render Customize Badges 1`] = `
</AddonsItem>
<AddonsItem
inputChecked={false}
inputId="twitter-badge"
inputId="x-badge"
onInputChange={[Function]}
>
<div
className="py-2 flex justify-start items-center text-sm sm:text-lg"
>
<label
className="checkbox-label flex items-center"
htmlFor="twitter-badge"
htmlFor="x-badge"
>
<input
checked={false}
className="checkbox-label__input"
id="twitter-badge"
id="x-badge"
onChange={[Function]}
type="checkbox"
/>
Expand All @@ -841,7 +841,7 @@ exports[`Addons should render Customize Badges 1`] = `
<span
className="pl-4"
>
display twitter badge
display x badge
</span>
</label>
</div>
Expand Down Expand Up @@ -1018,7 +1018,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
"theme": "",
"titleColor": "",
},
"twitterBadge": false,
"xBadge": false,
"visitorsBadge": false,
}
}
Expand Down Expand Up @@ -1620,20 +1620,20 @@ exports[`Addons should render Customize Github stats card 1`] = `
</AddonsItem>
<AddonsItem
inputChecked={false}
inputId="twitter-badge"
inputId="x-badge"
onInputChange={[Function]}
>
<div
className="py-2 flex justify-start items-center text-sm sm:text-lg"
>
<label
className="checkbox-label flex items-center"
htmlFor="twitter-badge"
htmlFor="x-badge"
>
<input
checked={false}
className="checkbox-label__input"
id="twitter-badge"
id="x-badge"
onChange={[Function]}
type="checkbox"
/>
Expand All @@ -1643,7 +1643,7 @@ exports[`Addons should render Customize Github stats card 1`] = `
<span
className="pl-4"
>
display twitter badge
display x badge
</span>
</label>
</div>
Expand Down Expand Up @@ -1820,7 +1820,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
"theme": "",
"titleColor": "",
},
"twitterBadge": false,
"xBadge": false,
"visitorsBadge": false,
}
}
Expand Down Expand Up @@ -2422,20 +2422,20 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
</AddonsItem>
<AddonsItem
inputChecked={false}
inputId="twitter-badge"
inputId="x-badge"
onInputChange={[Function]}
>
<div
className="py-2 flex justify-start items-center text-sm sm:text-lg"
>
<label
className="checkbox-label flex items-center"
htmlFor="twitter-badge"
htmlFor="x-badge"
>
<input
checked={false}
className="checkbox-label__input"
id="twitter-badge"
id="x-badge"
onChange={[Function]}
type="checkbox"
/>
Expand All @@ -2445,7 +2445,7 @@ exports[`Addons should render Customize Top Skills Card 1`] = `
<span
className="pl-4"
>
display twitter badge
display x badge
</span>
</label>
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/components/__tests__/__snapshots__/donate.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,15 @@ exports[`Donate renders correctly 1`] = `
>
<a
className="flex items-center justify-start w-20"
href="https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Frahuldkjain.github.io%2Fgithub-profile-readme-generator"
href="https://x.com/intent/tweet?text=Wow:&url=https%3A%2F%2Frahuldkjain.github.io%2Fgithub-profile-readme-generator"
>
<img
alt="tweet github profile readme generator"
className="w-20"
src="https://img.shields.io/twitter/url?style=social&url=https%3A%2F%2Frahuldkjain.github.io%2Fgithub-profile-readme-generator"
/>
</a>
Let the world know how you feel using this tool. Share with others on twitter.
Let the world know how you feel using this tool. Share with others on x.
</div>
</div>
<div
Expand Down
82 changes: 41 additions & 41 deletions src/components/__tests__/__snapshots__/markdown.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ exports[`Markdown renders devDynamicBlogs is true 1`] = `
<GithubProfileTrophy
show={false}
/>
<TwitterBadge
base="https://twitter.com"
<XBadge
base="https://x.com"
show={false}
/>
<DisplayWork
Expand Down Expand Up @@ -97,8 +97,8 @@ exports[`Markdown renders devDynamicBlogs is true 1`] = `
username="dev"
/>
<DisplaySocial
base="https://twitter.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/twitter.svg"
base="https://x.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/x.svg"
/>
<DisplaySocial
base="https://linkedin.com/in"
Expand Down Expand Up @@ -265,8 +265,8 @@ exports[`Markdown renders githubProfileTrophy is true 1`] = `
<GithubProfileTrophy
show={true}
/>
<TwitterBadge
base="https://twitter.com"
<XBadge
base="https://x.com"
show={false}
/>
<DisplayWork
Expand Down Expand Up @@ -337,8 +337,8 @@ exports[`Markdown renders githubProfileTrophy is true 1`] = `
username="dev"
/>
<DisplaySocial
base="https://twitter.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/twitter.svg"
base="https://x.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/x.svg"
/>
<DisplaySocial
base="https://linkedin.com/in"
Expand Down Expand Up @@ -505,8 +505,8 @@ exports[`Markdown renders githubProfileTrophy is true 2`] = `
<GithubProfileTrophy
show={true}
/>
<TwitterBadge
base="https://twitter.com"
<XBadge
base="https://x.com"
show={false}
/>
<DisplayWork
Expand Down Expand Up @@ -577,8 +577,8 @@ exports[`Markdown renders githubProfileTrophy is true 2`] = `
username="dev"
/>
<DisplaySocial
base="https://twitter.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/twitter.svg"
base="https://x.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/x.svg"
/>
<DisplaySocial
base="https://linkedin.com/in"
Expand Down Expand Up @@ -745,8 +745,8 @@ exports[`Markdown renders topLanguages is true 1`] = `
<GithubProfileTrophy
show={false}
/>
<TwitterBadge
base="https://twitter.com"
<XBadge
base="https://x.com"
show={false}
/>
<DisplayWork
Expand Down Expand Up @@ -817,8 +817,8 @@ exports[`Markdown renders topLanguages is true 1`] = `
username="dev"
/>
<DisplaySocial
base="https://twitter.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/twitter.svg"
base="https://x.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/x.svg"
/>
<DisplaySocial
base="https://linkedin.com/in"
Expand Down Expand Up @@ -985,8 +985,8 @@ exports[`Markdown renders topLanguages is true and githubStats is true 1`] = `
<GithubProfileTrophy
show={false}
/>
<TwitterBadge
base="https://twitter.com"
<XBadge
base="https://x.com"
show={false}
/>
<DisplayWork
Expand Down Expand Up @@ -1057,8 +1057,8 @@ exports[`Markdown renders topLanguages is true and githubStats is true 1`] = `
username="dev"
/>
<DisplaySocial
base="https://twitter.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/twitter.svg"
base="https://x.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/x.svg"
/>
<DisplaySocial
base="https://linkedin.com/in"
Expand Down Expand Up @@ -1200,7 +1200,7 @@ exports[`Markdown renders topLanguages is true and githubStats is true 1`] = `
</div>
`;

exports[`Markdown renders twitterBadge is true 1`] = `
exports[`Markdown renders xBadge is true 1`] = `
<div
className="break-words"
id="markdown-content"
Expand All @@ -1225,8 +1225,8 @@ exports[`Markdown renders twitterBadge is true 1`] = `
<GithubProfileTrophy
show={false}
/>
<TwitterBadge
base="https://twitter.com"
<XBadge
base="https://x.com"
show={true}
/>
<DisplayWork
Expand Down Expand Up @@ -1297,8 +1297,8 @@ exports[`Markdown renders twitterBadge is true 1`] = `
username="dev"
/>
<DisplaySocial
base="https://twitter.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/twitter.svg"
base="https://x.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/x.svg"
/>
<DisplaySocial
base="https://linkedin.com/in"
Expand Down Expand Up @@ -1465,8 +1465,8 @@ exports[`Markdown renders visitorsBadge is true 1`] = `
<GithubProfileTrophy
show={false}
/>
<TwitterBadge
base="https://twitter.com"
<XBadge
base="https://x.com"
show={false}
/>
<DisplayWork
Expand Down Expand Up @@ -1537,8 +1537,8 @@ exports[`Markdown renders visitorsBadge is true 1`] = `
username="dev"
/>
<DisplaySocial
base="https://twitter.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/twitter.svg"
base="https://x.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/x.svg"
/>
<DisplaySocial
base="https://linkedin.com/in"
Expand Down Expand Up @@ -1705,8 +1705,8 @@ exports[`Markdown renders without link.currentWork 1`] = `
<GithubProfileTrophy
show={false}
/>
<TwitterBadge
base="https://twitter.com"
<XBadge
base="https://x.com"
show={false}
/>
<DisplayWork
Expand Down Expand Up @@ -1777,8 +1777,8 @@ exports[`Markdown renders without link.currentWork 1`] = `
username="dev"
/>
<DisplaySocial
base="https://twitter.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/twitter.svg"
base="https://x.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/x.svg"
/>
<DisplaySocial
base="https://linkedin.com/in"
Expand Down Expand Up @@ -1945,8 +1945,8 @@ exports[`Markdown renders without prefix.title and data.title 1`] = `
<GithubProfileTrophy
show={false}
/>
<TwitterBadge
base="https://twitter.com"
<XBadge
base="https://x.com"
show={false}
/>
<DisplayWork
Expand Down Expand Up @@ -2017,8 +2017,8 @@ exports[`Markdown renders without prefix.title and data.title 1`] = `
username="dev"
/>
<DisplaySocial
base="https://twitter.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/twitter.svg"
base="https://x.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/x.svg"
/>
<DisplaySocial
base="https://linkedin.com/in"
Expand Down Expand Up @@ -2185,8 +2185,8 @@ exports[`Markdown renders without subtitle 1`] = `
<GithubProfileTrophy
show={false}
/>
<TwitterBadge
base="https://twitter.com"
<XBadge
base="https://x.com"
show={false}
/>
<DisplayWork
Expand Down Expand Up @@ -2257,8 +2257,8 @@ exports[`Markdown renders without subtitle 1`] = `
username="dev"
/>
<DisplaySocial
base="https://twitter.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/twitter.svg"
base="https://x.com"
icon="https://raw.githubusercontent.com/rahuldkjain/github-profile-readme-generator/master/src/images/icons/Social/x.svg"
/>
<DisplaySocial
base="https://linkedin.com/in"
Expand Down
Loading