From 78223ab8ff6791ab978390fb479ce3b772ecaeef Mon Sep 17 00:00:00 2001 From: Jiayuan Zhang Date: Fri, 17 Apr 2026 09:33:20 +0800 Subject: [PATCH] refactor(landing): remove install command from hero Per design feedback, the install command pill is removed from the hero. The download path now flows through the Download Desktop CTA only; install instructions remain available in the docs and README. --- .../landing/components/landing-hero.tsx | 68 ------------------- 1 file changed, 68 deletions(-) diff --git a/apps/web/features/landing/components/landing-hero.tsx b/apps/web/features/landing/components/landing-hero.tsx index 85c93ddf2..70d83e257 100644 --- a/apps/web/features/landing/components/landing-hero.tsx +++ b/apps/web/features/landing/components/landing-hero.tsx @@ -1,6 +1,5 @@ "use client"; -import { useCallback, useState } from "react"; import Image from "next/image"; import Link from "next/link"; import { useAuthStore } from "@multica/core/auth"; @@ -65,8 +64,6 @@ export function LandingHero() { {t.hero.downloadDesktop} - -
@@ -106,71 +103,6 @@ export function LandingHero() { ); } -const INSTALL_COMMAND = - "curl -fsSL https://raw.githubusercontent.com/multica-ai/multica/main/scripts/install.sh | bash"; - -function InstallCommand() { - const [copied, setCopied] = useState(false); - - const handleCopy = useCallback(async () => { - try { - await navigator.clipboard.writeText(INSTALL_COMMAND); - setCopied(true); - setTimeout(() => setCopied(false), 2000); - } catch { - // ignore - } - }, []); - - return ( -
- - - - {INSTALL_COMMAND} - - - -
- ); -} - function LandingBackdrop() { return (