mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
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:
1 parent
29a884fd4d
commit
58e45bb47c
5 files changed
+9
-9
No files matched your search
@@ -79,7 +79,7 @@ export function Contact() {
|
||||
{strings.contact.github[lang]}
|
||||
</div>
|
||||
<div className="contact-link-sub">
|
||||
@yourusername
|
||||
@{profile.githubHandle}
|
||||
</div>
|
||||
</div>
|
||||
</motion.a>
|
||||
@@ -108,7 +108,7 @@ export function Contact() {
|
||||
{strings.contact.linkedin[lang]}
|
||||
</div>
|
||||
<div className="contact-link-sub">
|
||||
Your Name
|
||||
@{profile.linkedinHandle}
|
||||
</div>
|
||||
</div>
|
||||
</motion.a>
|
||||
|
||||
Reference in new issue
Block a user