feat: update public contact info and social visibility

This commit is contained in:
zguiyang
2026-03-16 21:18:01 +08:00
parent 411bbb00d1
commit 2634b7a95b
6 changed files with 38 additions and 57 deletions

View File

@@ -99,7 +99,7 @@ const workStyle = isZh
<p class="mt-3 text-muted-foreground">{isZh ? '优先沟通远程岗位机会,其次为项目合作咨询。' : 'Remote role opportunities are prioritized, followed by project collaboration.'}</p>
<ul class="mt-5 space-y-3 text-sm">
{contactMethods.slice(0, 2).map((method) => (
{contactMethods.map((method) => (
<li class="flex flex-col gap-1 sm:flex-row sm:items-center sm:justify-between border-b border-border/70 pb-3">
<span class="font-semibold text-foreground">{method.label[lang]}</span>
{method.href ? (
@@ -115,6 +115,11 @@ const workStyle = isZh
<a href={`${prefix}/contact`} class="inline-flex h-10 items-center rounded-lg bg-primary px-5 text-sm font-semibold text-primary-foreground">{isZh ? '进入完整联系页' : 'Open Full Contact Page'}</a>
<a href={`${prefix}/contact#project-collaboration`} class="inline-flex h-10 items-center rounded-lg border border-border px-5 text-sm font-semibold hover:bg-muted">{isZh ? '项目合作入口' : 'Project Collaboration'}</a>
</div>
<div class="mt-5 border-t border-border/70 pt-4 text-sm">
<p class="font-semibold text-foreground">GitHub</p>
<a href={personalInfo.github} target="_blank" rel="noopener noreferrer" class="text-primary hover:text-primary/80 break-all">{personalInfo.github}</a>
</div>
</section>
</Container>
</main>