Skip to content

Commit

Permalink
docs: replace Twitter reference by X
Browse files Browse the repository at this point in the history
  • Loading branch information
sarkaaa committed Oct 3, 2024
1 parent 85ecc5a commit 6a4b320
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion docs/src/__examples__/SocialButton/DEFAULT.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export default {
name: "type",
type: "select",
defaultValue: "apple",
options: ["apple", "facebook", "twitter", "google"],
options: ["apple", "facebook", "X", "google"],
},
{
name: "fullWidth",
Expand Down
4 changes: 2 additions & 2 deletions docs/src/__examples__/SocialButton/services.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ export default {
code: `() => <SocialButton type="google">Sign in with Google</SocialButton>`,
},
{
name: "twitter",
code: `() => <SocialButton type="twitter">Sign in with Twitter</SocialButton>`,
name: "X",
code: `() => <SocialButton type="X">Sign in with X</SocialButton>`,
},
],
};
6 changes: 3 additions & 3 deletions docs/src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { Link, useStaticQuery, graphql } from "gatsby";
import mediaQueries from "./MediaQueries";
import Switch from "./Switch";
import GitHub from "../images/logos/github-circle.svg";
import Twitter from "../images/logos/twitter-circle.svg";
import X from "../images/logos/twitter-circle.svg";
import orbitHeart from "../images/orbit-heart.png";
import { MAX_CONTENT_WIDTH, CONTENT_PADDING } from "../consts";
import useDevMode from "../hooks/useDevMode";
Expand Down Expand Up @@ -127,8 +127,8 @@ export default function Footer() {
<StyledIconLink href="https://github.com/kiwicom/orbit" aria-label="GitHub">
<GitHub />
</StyledIconLink>
<StyledIconLink href="https://twitter.com/OrbitKiwi" aria-label="Twitter">
<Twitter />
<StyledIconLink href="https://x.com/OrbitKiwi" aria-label="X">
<X />
</StyledIconLink>
</Stack>
</Stack>
Expand Down
4 changes: 2 additions & 2 deletions docs/src/components/Head/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ export default function Head({ title, hasSiteName, description, path }: Props) {
<meta property="og:title" content={pageTitle} />
<meta property="og:description" content={description} />
<meta property="og:url" content={url} />
{/* Twitter Card */}
{/* https://developer.twitter.com/en/docs/twitter-for-websites/cards/overview/summary */}
{/* X Card */}
{/* https://developer.x.com/en/docs/x-for-websites/cards/overview/summary */}
<meta name="twitter:card" content="summary" />
<meta name="twitter:site" content="@OrbitKiwi" />
<meta name="twitter:title" content={pageTitle} />
Expand Down

0 comments on commit 6a4b320

Please sign in to comment.