"use client"; import Link from "next/link"; import type { Locale } from "@/core/i18n/locale"; import { useI18n } from "@/core/i18n/hooks"; import { cn } from "@/lib/utils"; export type HeaderProps = { className?: string; homeURL?: string; locale?: Locale; }; export function Header({ className, homeURL }: HeaderProps) { const isExternalHome = !homeURL; const { locale: resolvedLocale, t } = useI18n(); const lang = resolvedLocale.substring(0, 2); return (

CM 助手


); }