--- import { contactIntents, contactMethods } from "@/lib/data"; import type { Lang } from "@/types/i18n"; interface Props { lang: Lang; showIntents?: boolean; } const { lang, showIntents = true } = Astro.props; const isZh = lang === "zh"; ---

{isZh ? "联系我" : "Contact"}

{ isZh ? "欢迎交流岗位机会、专项协作,或工程实践相关话题。" : "Open to role opportunities, scoped collaboration, and engineering discussions." }

{ showIntents && (
{contactIntents.map((intent) => (

{intent.title[lang]}

{intent.description[lang]}

))}
) }