fix(contact): drive social handles and project titles from data

Contact cards spelled out the handle in JSX while profile data already carried the URLs. profile.ts now holds githubHandle and linkedinHandle, and both the homepage section and the Contact page read them. Project titles were rendered straight from data, bypassing the language resolver, so English mode showed Vietnamese titles. Drops the githubUrl placeholder and the unused githubUrl/demoUrl pair from the Project type.
This commit is contained in:
dong.nguyen committed 2026-10-18 23:45:26 +07:00
1 parent 29a884fd4d
commit 58e45bb47c
5 files changed
+9 -9

No files matched your search

+2 -2
View File
@@ -58,7 +58,7 @@ export function ContactPage() {
</svg>
<div>
<div className="link-label">{strings.contact.github[lang]}</div>
<div className="contact-link-sub">@dong-nz</div>
<div className="contact-link-sub">@{profile.githubHandle}</div>
</div>
</motion.a>
<motion.a
@@ -78,7 +78,7 @@ export function ContactPage() {
</svg>
<div>
<div className="link-label">{strings.contact.linkedin[lang]}</div>
<div className="contact-link-sub">@dong-nz</div>
<div className="contact-link-sub">@{profile.linkedinHandle}</div>
</div>
</motion.a>
</div>