--- import Layout from '@/layouts/Layout.astro'; import GlassHeader from '@/components/GlassHeader'; import Footer from '@/components/Footer'; import Container from '@/components/ui/Container.astro'; import { contactIntents, contactMethods } from '@/lib/data'; import type { Lang } from '@/types/i18n'; import { defaultLang } from '@/i18n/ui'; const lang = (Astro.currentLocale as Lang) || defaultLang; const isZh = lang === 'zh'; ---

{isZh ? '联系' : 'Contact'}

{isZh ? '欢迎联系我沟通远程岗位或项目合作。默认优先响应远程岗位机会。' : 'Open to remote role opportunities and project collaboration. Remote role discussions are prioritized.'}

{contactIntents.map((intent) => (

{intent.title[lang]}

{intent.description[lang]}

))}

{isZh ? '联系方式' : 'Contact Methods'}

    {contactMethods.map((method) => (
  • {method.label[lang]} {method.href ? ( {method.value} ) : ( {method.value} )}
  • ))}

{isZh ? '联系建议:请在邮件中注明岗位/项目背景、期望合作方式与时间窗口。' : 'Suggestion: include role/project context, expected collaboration model, and timeline in your first message.'}