Skip to content

impr: replace twitter bird icon with X logo (@rileygramlich) - #8367

Open
rileygramlich wants to merge 1 commit into
monkeytypegame:masterfrom
rileygramlich:impr/x-twitter-icon
Open

impr: replace twitter bird icon with X logo (@rileygramlich)#8367
rileygramlich wants to merge 1 commit into
monkeytypegame:masterfrom
rileygramlich:impr/x-twitter-icon

Conversation

@rileygramlich

Copy link
Copy Markdown

Description

The footer, about page, and profile social links still used the old Twitter bird icon (which is 3 years outdated now by the way), even though all three already link to x.com.

Font Awesome only added the x-twitter icon in 6.4, and this repo is pinned to @fortawesome/fontawesome-free@5.15.4, so there was no icon class to swap to. Rather than bump the dependency — which would mean icon renames and a much larger diff across the whole app — I inlined the logo as a small XIcon component, following the existing pattern in DiscordAvatar.tsx, which already embeds raw Font Awesome SVG paths with the license comment.

Button previously only accepted a Font Awesome icon via its fa prop, so I added an optional icon prop that renders in the same leading slot. That keeps the icon before the label, matching every other button.

I updated all three usages rather than just the footer, so the branding stays consistent.

Changed files:

  • frontend/src/ts/components/common/XIcon.tsx (new)
  • frontend/src/ts/components/common/Button.tsx — optional icon prop
  • frontend/src/ts/components/layout/footer/Footer.tsx
  • frontend/src/ts/components/pages/AboutPage.tsx
  • frontend/src/ts/components/pages/profile/UserDetails.tsx

The button labels also changed from "twitter" to "x". Happy to revert that part if you'd rather keep the old wording.

Screenshots

Checks

  • Adding quotes?
  • Adding a language?
  • Adding a theme?
  • Adding a layout?
  • Adding a font?
  • Check if any open issues are related to this PR; if so, be sure to tag them below.
  • Make sure the PR title follows the Conventional Commits standard.
  • Make sure to include your GitHub username prefixed with @ inside parentheses at the end of the PR title.

Font Awesome 5 does not ship the x-twitter icon, so the logo is inlined as
an SVG component instead of bumping the dependency.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Copilot AI lite review requested due to automatic review settings August 26, 2026 20:07
@monkeytypegeorge monkeytypegeorge added the frontend User interface or web stuff label Aug 26, 2026
@github-actions github-actions Bot added the waiting for review Pull requests that require a review before continuing label Aug 26, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Replace legacy Twitter bird icons with an inline X logo across footer/about/profile, without upgrading Font Awesome.

Changes:

  • Add XIcon (inline SVG) for the X brand mark.
  • Extend Button with optional leading icon prop (same slot as fa).
  • Swap affected Twitter buttons/links to use XIcon + label “x”.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
frontend/src/ts/components/common/XIcon.tsx New inline SVG X logo component.
frontend/src/ts/components/common/Button.tsx Add icon?: JSXElement and render it in leading icon slot.
frontend/src/ts/components/layout/footer/Footer.tsx Footer social link now uses XIcon + “x”.
frontend/src/ts/components/pages/AboutPage.tsx About page contact link now uses XIcon + “x”.
frontend/src/ts/components/pages/profile/UserDetails.tsx Profile socials Twitter link now shows XIcon.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines 50 to 55
<Show when={props.fa !== undefined}>
<Fa {...(props.fa as FaProps)} />
</Show>
{props.icon}
<Show when={props.text !== undefined}>{props.text}</Show>
{props.children}
@fehmer

fehmer commented Aug 26, 2026

Copy link
Copy Markdown
Member

#6066 (comment)

@rileygramlich

rileygramlich commented Aug 26, 2026

Copy link
Copy Markdown
Author

#6066 (comment)

I see that @Miodec said "Long live the bird." Though at this point in 2026, it simply looks outdated, unprofessional, and like the website lacks upkeep.

Hope we can get this changed as it is actually quite annoying to still see.

Cheers,
Riley

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend User interface or web stuff waiting for review Pull requests that require a review before continuing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants