From 141d7fd0aa22219f600115a4f37762e6d8a745ab Mon Sep 17 00:00:00 2001 From: Jiayuan Zhang Date: Thu, 9 Apr 2026 17:46:12 +0800 Subject: [PATCH] feat: add official X (@multica_hq) links across repo and landing page (#577) - README.md / README.zh-CN.md: add X link to top navigation - layout.tsx: add twitter site/creator metadata (@multica_hq) - Landing header: add X icon button next to GitHub - Landing footer: add X and GitHub social icons - Footer i18n: replace Community link with X (Twitter) in en/zh - shared.tsx: add twitterUrl constant and XMark icon component Co-authored-by: Claude Opus 4.6 (1M context) --- README.md | 2 +- README.zh-CN.md | 2 +- apps/web/app/layout.tsx | 2 ++ .../landing/components/landing-footer.tsx | 19 +++++++++++++++++++ .../landing/components/landing-header.tsx | 10 +++++++++- .../features/landing/components/shared.tsx | 14 ++++++++++++++ apps/web/features/landing/i18n/en.ts | 2 +- apps/web/features/landing/i18n/zh.ts | 2 +- 8 files changed, 48 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 7acf91a9f..4efdf6ab9 100644 --- a/README.md +++ b/README.md @@ -21,7 +21,7 @@ Turn coding agents into real teammates — assign tasks, track progress, compoun [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![GitHub stars](https://img.shields.io/github/stars/multica-ai/multica?style=flat)](https://github.com/multica-ai/multica/stargazers) -[Website](https://multica.ai) · [Cloud](https://multica.ai/app) · [Self-Hosting](SELF_HOSTING.md) · [Contributing](CONTRIBUTING.md) +[Website](https://multica.ai) · [Cloud](https://multica.ai/app) · [X](https://x.com/multica_hq) · [Self-Hosting](SELF_HOSTING.md) · [Contributing](CONTRIBUTING.md) **English | [简体中文](README.zh-CN.md)** diff --git a/README.zh-CN.md b/README.zh-CN.md index e82aecdba..d680ce154 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -21,7 +21,7 @@ [![License](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0) [![GitHub stars](https://img.shields.io/github/stars/multica-ai/multica?style=flat)](https://github.com/multica-ai/multica/stargazers) -[官网](https://multica.ai) · [云服务](https://multica.ai/app) · [自部署指南](SELF_HOSTING.md) · [参与贡献](CONTRIBUTING.md) +[官网](https://multica.ai) · [云服务](https://multica.ai/app) · [X](https://x.com/multica_hq) · [自部署指南](SELF_HOSTING.md) · [参与贡献](CONTRIBUTING.md) **[English](README.md) | 简体中文** diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx index 878d25fe9..a6a78cbe4 100644 --- a/apps/web/app/layout.tsx +++ b/apps/web/app/layout.tsx @@ -41,6 +41,8 @@ export const metadata: Metadata = { }, twitter: { card: "summary_large_image", + site: "@multica_hq", + creator: "@multica_hq", }, alternates: { canonical: "/", diff --git a/apps/web/features/landing/components/landing-footer.tsx b/apps/web/features/landing/components/landing-footer.tsx index 5e7a6ffb3..ae584da5d 100644 --- a/apps/web/features/landing/components/landing-footer.tsx +++ b/apps/web/features/landing/components/landing-footer.tsx @@ -4,6 +4,7 @@ import Link from "next/link"; import { MulticaIcon } from "@/components/multica-icon"; import { cn } from "@multica/ui/lib/utils"; import { useAuthStore } from "@/features/auth"; +import { XMark, GitHubMark, githubUrl, twitterUrl } from "./shared"; import { useLocale, locales, localeLabels } from "../i18n"; export function LandingFooter() { @@ -27,6 +28,24 @@ export function LandingFooter() {

{t.footer.tagline}

+
+ + + + + + +
+ + + + + + ); +} + export function ImageIcon({ className }: { className?: string }) { return (