From 0da65f689ac65a9f1d9fb72238ecee1b25b94e58 Mon Sep 17 00:00:00 2001 From: Kai Chen Date: Mon, 13 Jul 2026 11:17:06 -0700 Subject: [PATCH 1/2] feat: add X (Twitter) social link to home page Added https://x.com/kaichen37 social link positioned between GitHub and LinkedIn with proper styling for light and dark modes. Co-Authored-By: Claude Haiku 4.5 Co-authored-by: Claude --- app/components/home-social-links.tsx | 14 +++++++++++++- app/globals.css | 2 ++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/app/components/home-social-links.tsx b/app/components/home-social-links.tsx index 8498561..544e7dc 100644 --- a/app/components/home-social-links.tsx +++ b/app/components/home-social-links.tsx @@ -3,7 +3,7 @@ import type { ReactNode } from "react"; import HoverTip from "./hover-tip"; -type SocialBrand = "email" | "github" | "linkedin" | "spotify"; +type SocialBrand = "email" | "github" | "x" | "linkedin" | "spotify"; const SOCIAL_LINKS: Array<{ href: string; @@ -39,6 +39,18 @@ const SOCIAL_LINKS: Array<{ ), }, + { + href: "https://x.com/kaichen37", + label: "X", + ariaLabel: "X (Twitter)", + brand: "x", + external: true, + icon: ( + + + + ), + }, { href: "https://linkedin.com/in/kaiiiichen", label: "LinkedIn", diff --git a/app/globals.css b/app/globals.css index f754395..56d651d 100644 --- a/app/globals.css +++ b/app/globals.css @@ -458,10 +458,12 @@ button.mag-chip:disabled { } .home-social-link--email:hover, .home-social-link--github:hover, +.home-social-link--x:hover, .home-social-link--linkedin:hover, .home-social-link--spotify:hover { color: #000000; } /* zinc-950 — 深灰 */ .dark .home-social-link--email:hover, .dark .home-social-link--github:hover, +.dark .home-social-link--x:hover, .dark .home-social-link--linkedin:hover, .dark .home-social-link--spotify:hover { color: #ffffff; } /* zinc-50 — 近白 */ .home-social-link svg { From f0fbe74c10623c59c48cb22f809ad6c810334a2c Mon Sep 17 00:00:00 2001 From: Kai Chen Date: Mon, 13 Jul 2026 11:23:31 -0700 Subject: [PATCH 2/2] fix: use official X logo mark and reorder social links Replace the approximated X (Twitter) SVG path with the official brand mark, and reorder home social links to Email, GitHub, LinkedIn, X, Spotify so professional profiles come first. Co-authored-by: Claude --- app/components/home-social-links.tsx | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/app/components/home-social-links.tsx b/app/components/home-social-links.tsx index 544e7dc..ffc590a 100644 --- a/app/components/home-social-links.tsx +++ b/app/components/home-social-links.tsx @@ -40,26 +40,26 @@ const SOCIAL_LINKS: Array<{ ), }, { - href: "https://x.com/kaichen37", - label: "X", - ariaLabel: "X (Twitter)", - brand: "x", + href: "https://linkedin.com/in/kaiiiichen", + label: "LinkedIn", + ariaLabel: "LinkedIn", + brand: "linkedin", external: true, icon: ( - + ), }, { - href: "https://linkedin.com/in/kaiiiichen", - label: "LinkedIn", - ariaLabel: "LinkedIn", - brand: "linkedin", + href: "https://x.com/kaichen37", + label: "X", + ariaLabel: "X (Twitter)", + brand: "x", external: true, icon: ( - + ), },