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

added X-> twitter #849

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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -68,3 +68,4 @@ yarn-error.log
.pnp.js
# Yarn Integrity file
.yarn-integrity
.vscode/settings.json
2 changes: 1 addition & 1 deletion src/components/addons.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@ const Addons = (props) => {
inputChecked={data.twitterBadge}
onInputChange={() => handleCheckChange('twitterBadge')}
>
display twitter badge
display X badge
</AddonsItem>
<AddonsItem
inputId="dev-dynamic-blogs"
Expand Down
2 changes: 1 addition & 1 deletion src/components/donate.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const Donate = () => (
alt="tweet github 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 className="w-full sm:w-1/3 flex flex-col justify-center items-center">
Expand Down
4 changes: 2 additions & 2 deletions src/components/social.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ const Social = (props) => {
</div>
<div className="w-1/2 flex justify-center items-center text-xxs sm:text-lg py-4 pr-2 sm:pr-0">
<img
src="https://cdn.jsdelivr.net/npm/simple-icons@v3/icons/twitter.svg"
src="https://cdn.jsdelivr.net/npm/simple-icons@v13/icons/x.svg"
className="w-6 h-6 sm:w-8 sm:h-8 mr-1 sm:mr-4"
alt="twitter"
/>
<input
id="twitter"
placeholder="twitter username"
placeholder="X username"
className="outline-none placeholder-gray-700 w-32 sm:w-1/2 border-t-0 border-l-0 border-r-0 border solid border-gray-900 py-1 px-2 focus:border-blue-700"
value={social.twitter}
onChange={(event) => handleSocialChange('twitter', event)}
Expand Down
4 changes: 2 additions & 2 deletions src/pages/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -460,12 +460,12 @@ const IndexPage = () => {
''
)}
{data.twitterBadge && !social.twitter ? (
<div className="warning">* Please add twitter username to use these add-ons</div>
<div className="warning">* Please add X 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 className="warning">* X username is invalid, please add a valid username</div>
) : (
''
)}
Expand Down