mirror of
https://github.com/dong-nz/cv.git
synced 2026-11-22 16:10:40 +07:00
enhance resume pdf
This commit is contained in:
1 parent
e6dc99ec85
commit
2573977508
21 files changed
+1071
-396
No files matched your search
+10
-2
@@ -1679,7 +1679,8 @@
|
||||
|
||||
/* ===== Contact ===== */
|
||||
.contact-links {
|
||||
display: flex;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, 1fr);
|
||||
gap: 32px;
|
||||
margin-top: 32px;
|
||||
}
|
||||
@@ -1713,6 +1714,7 @@
|
||||
font-size: var(--text-meta);
|
||||
line-height: 1.5;
|
||||
color: var(--text-muted);
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
/* Resume download button variant of the contact tile */
|
||||
@@ -1722,9 +1724,15 @@
|
||||
color: var(--text-primary);
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.contact-links {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
.contact-links {
|
||||
flex-direction: column;
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { motion } from "motion/react"
|
||||
import { DownloadResume } from "@/components/sections/DownloadResume"
|
||||
import { SectionHeading } from "@/components/ui/SectionHeading"
|
||||
import { profile } from "@/data/profile"
|
||||
import { ContactLinks } from "@/components/ui/ContactLinks"
|
||||
import { InView } from "@/components/ui/InView"
|
||||
import { useLanguage } from '@/hooks/useLanguage'
|
||||
import { strings } from '@/i18n/strings'
|
||||
@@ -22,98 +22,7 @@ export function Contact() {
|
||||
>
|
||||
|
||||
<SectionHeading title={strings.contact.heading[lang]} tag={strings.common.contactTag[lang]} />
|
||||
<div className="page-body">
|
||||
<div className="contact-links">
|
||||
<motion.a
|
||||
href={`mailto:${profile.email}`}
|
||||
className="contact-link"
|
||||
initial={{ opacity: 0, y: 24 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, amount: 0.2 }}
|
||||
transition={{ duration: 0.45, ease: 'easeOut', delay: 0 }}
|
||||
whileHover={{ scale: 1.02, y: -4 }}
|
||||
whileTap={{ scale: 0.98 }}
|
||||
>
|
||||
<svg
|
||||
viewBox="0 0 24 24"
|
||||
fill="none"
|
||||
stroke="currentColor"
|
||||
strokeWidth="2"
|
||||
width="24"
|
||||
height="24"
|
||||
>
|
||||
<rect x="2" y="4" width="20" height="16" rx="2" />
|
||||
<path d="M22 4l-10 8L2 4" />
|
||||
</svg>
|
||||
<div>
|
||||
<div className="link-label">
|
||||
{strings.contact.email[lang]}
|
||||
</div>
|
||||
<div className="contact-link-sub">
|
||||
{profile.email}
|
||||
</div>
|
||||
</div>
|
||||
</motion.a>
|
||||
<motion.a
|
||||
href={profile.githubUrl}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="contact-link"
|
||||
initial={{ opacity: 0, y: 24 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, amount: 0.2 }}
|
||||
transition={{ duration: 0.45, ease: 'easeOut', delay: 0.08 }}
|
||||
whileHover={{ scale: 1.02, y: -4 }}
|
||||
whileTap={{ scale: 0.98 }}
|
||||
>
|
||||
<svg
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
width="24"
|
||||
height="24"
|
||||
>
|
||||
<path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z" />
|
||||
</svg>
|
||||
<div>
|
||||
<div className="link-label">
|
||||
{strings.contact.github[lang]}
|
||||
</div>
|
||||
<div className="contact-link-sub">
|
||||
@{profile.githubHandle}
|
||||
</div>
|
||||
</div>
|
||||
</motion.a>
|
||||
<motion.a
|
||||
href={profile.linkedinUrl}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="contact-link"
|
||||
initial={{ opacity: 0, y: 24 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, amount: 0.2 }}
|
||||
transition={{ duration: 0.45, ease: 'easeOut', delay: 0.16 }}
|
||||
whileHover={{ scale: 1.02, y: -4 }}
|
||||
whileTap={{ scale: 0.98 }}
|
||||
>
|
||||
<svg
|
||||
viewBox="0 0 24 24"
|
||||
fill="currentColor"
|
||||
width="24"
|
||||
height="24"
|
||||
>
|
||||
<path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" />
|
||||
</svg>
|
||||
<div>
|
||||
<div className="link-label">
|
||||
{strings.contact.linkedin[lang]}
|
||||
</div>
|
||||
<div className="contact-link-sub">
|
||||
@{profile.linkedinHandle}
|
||||
</div>
|
||||
</div>
|
||||
</motion.a>
|
||||
</div>
|
||||
</div>
|
||||
<ContactLinks />
|
||||
<DownloadResume />
|
||||
</motion.section>
|
||||
</InView>
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
import { motion } from "motion/react"
|
||||
import { profile } from "@/data/profile"
|
||||
import { useLanguage } from "@/hooks/useLanguage"
|
||||
import { strings } from "@/i18n/strings"
|
||||
import { GithubIcon, LinkedinIcon, MailIcon, TelegramIcon, ZaloIcon } from "@/components/ui/icons"
|
||||
import type { Language, SocialId } from "@/types"
|
||||
|
||||
type ContactEntry = {
|
||||
id: SocialId
|
||||
href: string
|
||||
external: boolean
|
||||
labelKey: 'email' | 'github' | 'linkedin' | 'telegram' | 'zalo'
|
||||
sub: Record<Language, string>
|
||||
icon: React.ReactNode
|
||||
}
|
||||
|
||||
const entries: ContactEntry[] = [
|
||||
{ id: 'email', href: `mailto:${profile.email}`, external: false, labelKey: 'email', sub: { en: profile.email, vi: profile.email }, icon: <MailIcon size={24} /> },
|
||||
{ id: 'github', href: profile.githubUrl, external: true, labelKey: 'github', sub: { en: `@${profile.githubHandle}`, vi: `@${profile.githubHandle}` }, icon: <GithubIcon size={24} /> },
|
||||
{ id: 'linkedin', href: profile.linkedinUrl, external: true, labelKey: 'linkedin', sub: { en: `@${profile.linkedinHandle}`, vi: `@${profile.linkedinHandle}` }, icon: <LinkedinIcon size={24} /> },
|
||||
{ id: 'telegram', href: profile.telegramUrl, external: true, labelKey: 'telegram', sub: { en: `@${profile.telegramHandle}`, vi: `@${profile.telegramHandle}` }, icon: <TelegramIcon size={24} /> },
|
||||
{ id: 'zalo', href: profile.zaloUrl, external: true, labelKey: 'zalo', sub: strings.contact.zaloSub, icon: <ZaloIcon size={24} /> },
|
||||
]
|
||||
|
||||
export function ContactLinks() {
|
||||
const { lang } = useLanguage()
|
||||
|
||||
return (
|
||||
<div className="contact-links">
|
||||
{entries.map((entry, i) => (
|
||||
<motion.a
|
||||
key={entry.id}
|
||||
href={entry.href}
|
||||
target={entry.external ? "_blank" : undefined}
|
||||
rel={entry.external ? "noopener noreferrer" : undefined}
|
||||
className="contact-link"
|
||||
initial={{ opacity: 0, y: 24 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, amount: 0.2 }}
|
||||
transition={{ duration: 0.45, ease: 'easeOut', delay: i * 0.08 }}
|
||||
whileHover={{ scale: 1.02, y: -4 }}
|
||||
whileTap={{ scale: 0.98 }}
|
||||
>
|
||||
{entry.icon}
|
||||
<div>
|
||||
<div className="link-label">{strings.contact[entry.labelKey][lang]}</div>
|
||||
<div className="contact-link-sub">{entry.sub[lang]}</div>
|
||||
</div>
|
||||
</motion.a>
|
||||
))}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
@@ -2,29 +2,15 @@ import { motion } from "motion/react"
|
||||
import { socialLinks } from "@/data/social"
|
||||
import { useLanguage } from "@/hooks/useLanguage"
|
||||
import { strings } from "@/i18n/strings"
|
||||
import { GithubIcon, LinkedinIcon, MailIcon, TelegramIcon, ZaloIcon } from "@/components/ui/icons"
|
||||
import type { SocialId } from "@/types"
|
||||
|
||||
const icons: Record<SocialId, React.ReactNode> = {
|
||||
github: (
|
||||
<svg viewBox="0 0 24 24" fill="currentColor" width="20" height="20">
|
||||
<path
|
||||
d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z"
|
||||
/>
|
||||
</svg>
|
||||
),
|
||||
linkedin: (
|
||||
<svg viewBox="0 0 24 24" fill="currentColor" width="20" height="20">
|
||||
<path
|
||||
d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"
|
||||
/>
|
||||
</svg>
|
||||
),
|
||||
email: (
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" width="20" height="20">
|
||||
<rect x="2" y="4" width="20" height="16" rx="2" />
|
||||
<path d="M22 4l-10 8L2 4" />
|
||||
</svg>
|
||||
),
|
||||
github: <GithubIcon size={20} />,
|
||||
linkedin: <LinkedinIcon size={20} />,
|
||||
email: <MailIcon size={20} />,
|
||||
telegram: <TelegramIcon size={20} />,
|
||||
zalo: <ZaloIcon size={20} />,
|
||||
}
|
||||
|
||||
export function SocialLinks() {
|
||||
|
||||
@@ -0,0 +1,53 @@
|
||||
type IconProps = { size?: number }
|
||||
|
||||
const strokeProps = {
|
||||
fill: "none",
|
||||
stroke: "currentColor",
|
||||
strokeWidth: 2,
|
||||
strokeLinecap: "round",
|
||||
strokeLinejoin: "round",
|
||||
} as const
|
||||
|
||||
export function MailIcon({ size = 20 }: IconProps) {
|
||||
return (
|
||||
<svg viewBox="0 0 24 24" width={size} height={size} aria-hidden="true" {...strokeProps}>
|
||||
<path d="m22 7l-8.991 5.727a2 2 0 0 1-2.009 0L2 7" />
|
||||
<rect width="20" height="16" x="2" y="4" rx="2" />
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
export function GithubIcon({ size = 20 }: IconProps) {
|
||||
return (
|
||||
<svg viewBox="0 0 24 24" width={size} height={size} aria-hidden="true" {...strokeProps}>
|
||||
<path d="M15 22v-4a4.8 4.8 0 0 0-1-3.5c3 0 6-2 6-5.5c.08-1.25-.27-2.48-1-3.5c.28-1.15.28-2.35 0-3.5c0 0-1 0-3 1.5c-2.64-.5-5.36-.5-8 0C6 2 5 2 5 2c-.3 1.15-.3 2.35 0 3.5A5.4 5.4 0 0 0 4 9c0 3.5 3 5.5 6 5.5c-.39.49-.68 1.05-.85 1.65S8.93 17.38 9 18v4" />
|
||||
<path d="M9 18c-4.51 2-5-2-7-2" />
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
export function LinkedinIcon({ size = 20 }: IconProps) {
|
||||
return (
|
||||
<svg viewBox="0 0 24 24" width={size} height={size} aria-hidden="true" {...strokeProps}>
|
||||
<path d="M16 8a6 6 0 0 1 6 6v7h-4v-7a2 2 0 0 0-2-2a2 2 0 0 0-2 2v7h-4v-7a6 6 0 0 1 6-6M2 9h4v12H2z" />
|
||||
<circle cx="4" cy="4" r="2" />
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
// Brand glyphs (simple-icons, monochrome currentColor) — lucide dropped brand icons
|
||||
export function TelegramIcon({ size = 20 }: IconProps) {
|
||||
return (
|
||||
<svg viewBox="0 0 24 24" width={size} height={size} aria-hidden="true" fill="currentColor">
|
||||
<path d="M11.944 0A12 12 0 0 0 0 12a12 12 0 0 0 12 12a12 12 0 0 0 12-12A12 12 0 0 0 12 0zm4.962 7.224c.1-.002.321.023.465.14a.5.5 0 0 1 .171.325c.016.093.036.306.02.472c-.18 1.898-.962 6.502-1.36 8.627c-.168.9-.499 1.201-.82 1.23c-.696.065-1.225-.46-1.9-.902c-1.056-.693-1.653-1.124-2.678-1.8c-1.185-.78-.417-1.21.258-1.91c.177-.184 3.247-2.977 3.307-3.23c.007-.032.014-.15-.056-.212s-.174-.041-.249-.024q-.159.037-5.061 3.345q-.72.495-1.302.48c-.428-.008-1.252-.241-1.865-.44c-.752-.245-1.349-.374-1.297-.789q.04-.324.893-.663q5.247-2.286 6.998-3.014c3.332-1.386 4.025-1.627 4.476-1.635" />
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
|
||||
export function ZaloIcon({ size = 20 }: IconProps) {
|
||||
return (
|
||||
<svg viewBox="0 0 24 24" width={size} height={size} aria-hidden="true" fill="currentColor">
|
||||
<path d="M12.49 10.272v-.45h1.347v6.322h-.77a.576.576 0 0 1-.577-.573v.001a3.27 3.27 0 0 1-1.938.632a3.284 3.284 0 0 1-3.284-3.282a3.284 3.284 0 0 1 3.284-3.282a3.27 3.27 0 0 1 1.937.632zM6.919 7.79v.205c0 .382-.051.694-.3 1.06l-.03.034a8 8 0 0 0-.242.285L2.024 14.8h4.895v.768a.576.576 0 0 1-.577.576H0v-.362c0-.443.11-.641.25-.847L4.858 9.23H.192V7.79zm8.551 8.354a.48.48 0 0 1-.48-.48V7.79h1.441v8.354zM20.693 9.6a3.306 3.306 0 1 1 .002 6.612a3.306 3.306 0 0 1-.002-6.612m-10.14 5.253a1.932 1.932 0 1 0 0-3.863a1.932 1.932 0 0 0 0 3.863m10.14-.003a1.945 1.945 0 1 0 0-3.89a1.945 1.945 0 0 0 0 3.89" fillRule="evenodd" />
|
||||
</svg>
|
||||
)
|
||||
}
|
||||
@@ -35,6 +35,7 @@ export const experiences: ExperienceEntry[] = [
|
||||
title: "Senior Software Engineer",
|
||||
titleEn: "Senior Software Engineer",
|
||||
company: "Lazada Tech Hub Vietnam",
|
||||
logo: "lazada",
|
||||
duration: "Jan 2020 – Aug 2026",
|
||||
location: "Ho Chi Minh City, Vietnam",
|
||||
responsibilities: [
|
||||
@@ -70,6 +71,7 @@ export const experiences: ExperienceEntry[] = [
|
||||
id: "sap-senior-swe",
|
||||
title: "Senior Software Engineer",
|
||||
titleEn: "Senior Software Engineer",
|
||||
logo: "sap",
|
||||
company: "SAP Lab Vietnam",
|
||||
duration: "2017 – 12/2019",
|
||||
location: "Ho Chi Minh City, Vietnam",
|
||||
|
||||
@@ -18,6 +18,9 @@ export const profile: Profile = {
|
||||
linkedinUrl: "https://www.linkedin.com/in/dong-nz",
|
||||
githubHandle: "dong-nz",
|
||||
linkedinHandle: "dong-nz",
|
||||
telegramUrl: "https://t.me/dongdn",
|
||||
telegramHandle: "dongdn",
|
||||
zaloUrl: "https://zaloapp.com/qr/p/14ic4cmkuegf",
|
||||
currentInterests: [
|
||||
"AI in logistics",
|
||||
"Digital twins",
|
||||
|
||||
@@ -8,5 +8,12 @@ export const resumeLanguageLabels: Record<Language, string> = {
|
||||
vi: 'Tiếng Việt',
|
||||
}
|
||||
|
||||
// QR codes embedded in the resume header — images exported from the
|
||||
// Telegram/Zalo apps, stored in public/resume-qr/ (owner-provided assets)
|
||||
export const resumeQr: { id: string; file: string; label: string }[] = [
|
||||
{ id: 'telegram', file: 'telegram.jpg', label: 'Telegram' },
|
||||
{ id: 'zalo', file: 'zalo.jpg', label: 'Zalo' },
|
||||
]
|
||||
|
||||
export const resumeUrlFor = (lang: Language): string =>
|
||||
lang === 'en' ? '/resume.pdf' : `/resume-${lang}.pdf`
|
||||
@@ -9,4 +9,6 @@ export const socialLinks: {
|
||||
{ id: 'github', href: profile.githubUrl, external: true },
|
||||
{ id: 'linkedin', href: profile.linkedinUrl, external: true },
|
||||
{ id: 'email', href: `mailto:${profile.email}`, external: false },
|
||||
{ id: 'telegram', href: profile.telegramUrl, external: true },
|
||||
{ id: 'zalo', href: profile.zaloUrl, external: true },
|
||||
]
|
||||
+7
-2
@@ -31,6 +31,8 @@ export const strings = {
|
||||
github: {en: 'View GitHub profile', vi: 'Xem hồ sơ GitHub'},
|
||||
linkedin: {en: 'View LinkedIn profile', vi: 'Xem hồ sơ LinkedIn'},
|
||||
email: {en: 'Send email', vi: 'Gửi email'},
|
||||
telegram: {en: 'Open Telegram chat', vi: 'Mở chat Telegram'},
|
||||
zalo: {en: 'Open Zalo profile', vi: 'Mở hồ sơ Zalo'},
|
||||
},
|
||||
},
|
||||
footer: {
|
||||
@@ -66,8 +68,8 @@ export const strings = {
|
||||
heading: {en: 'Experience', vi: 'Kinh nghiệm'},
|
||||
tldr: {en: 'TL;DR', vi: 'TL;DR'},
|
||||
tldrText: {
|
||||
en: '15 years of experience, more than 5 companies along the way. Too long to tell.',
|
||||
vi: '15 năm kinh nghiệm, hơn 5 công ty đã đi qua. Quá dài để kể hết.'
|
||||
en: '15 years of experience, more than 8 companies along the way. Too long to tell.',
|
||||
vi: '15 năm kinh nghiệm, hơn 8 công ty đã đi qua. Quá dài để kể hết.'
|
||||
},
|
||||
},
|
||||
projects: {
|
||||
@@ -89,6 +91,9 @@ export const strings = {
|
||||
email: {en: 'Email', vi: 'Email'},
|
||||
github: {en: 'GitHub', vi: 'GitHub'},
|
||||
linkedin: {en: 'LinkedIn', vi: 'LinkedIn'},
|
||||
telegram: {en: 'Telegram', vi: 'Telegram'},
|
||||
zalo: {en: 'Zalo', vi: 'Zalo'},
|
||||
zaloSub: {en: 'Chat on Zalo', vi: 'Chat qua Zalo'},
|
||||
},
|
||||
projectDetail: {
|
||||
notFound: {en: 'Project Not Found', vi: 'Không tìm thấy dự án'},
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
import { SectionHeading } from '@/components/ui/SectionHeading'
|
||||
import { DownloadResume } from '@/components/sections/DownloadResume'
|
||||
import { ContactLinks } from '@/components/ui/ContactLinks'
|
||||
import { motion } from 'motion/react'
|
||||
import { InView } from '@/components/ui/InView'
|
||||
import { profile } from '@/data/profile'
|
||||
import { useLanguage } from '@/hooks/useLanguage'
|
||||
import { strings } from '@/i18n/strings'
|
||||
export function ContactPage() {
|
||||
@@ -21,67 +21,7 @@ export function ContactPage() {
|
||||
}}
|
||||
>
|
||||
<SectionHeading title={strings.contact.heading[lang]} tag={strings.common.contactTag[lang]} />
|
||||
<div className="contact-links">
|
||||
<motion.a
|
||||
href={`mailto:${profile.email}`}
|
||||
className="contact-link"
|
||||
initial={{ opacity: 0, y: 24 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, amount: 0.2 }}
|
||||
transition={{ duration: 0.45, ease: 'easeOut', delay: 0 }}
|
||||
whileHover={{ scale: 1.02, y: -4 }}
|
||||
whileTap={{ scale: 0.98 }}
|
||||
>
|
||||
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" strokeWidth="2" width="24" height="24">
|
||||
<rect x="2" y="4" width="20" height="16" rx="2" />
|
||||
<path d="M22 4l-10 8L2 4" />
|
||||
</svg>
|
||||
<div>
|
||||
<div className="link-label">{strings.contact.email[lang]}</div>
|
||||
<div className="contact-link-sub">{profile.email}</div>
|
||||
</div>
|
||||
</motion.a>
|
||||
<motion.a
|
||||
href={profile.githubUrl}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="contact-link"
|
||||
initial={{ opacity: 0, y: 24 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, amount: 0.2 }}
|
||||
transition={{ duration: 0.45, ease: 'easeOut', delay: 0.08 }}
|
||||
whileHover={{ scale: 1.02, y: -4 }}
|
||||
whileTap={{ scale: 0.98 }}
|
||||
>
|
||||
<svg viewBox="0 0 24 24" fill="currentColor" width="24" height="24">
|
||||
<path d="M12 0C5.37 0 0 5.37 0 12c0 5.31 3.435 9.795 8.205 11.385.6.105.825-.255.825-.57 0-.285-.015-1.23-.015-2.235-3.015.555-3.795-.735-4.035-1.41-.135-.345-.72-1.41-1.23-1.695-.42-.225-1.02-.78-.015-.795.945-.015 1.62.87 1.845 1.23 1.08 1.815 2.805 1.305 3.495.99.105-.78.42-1.305.765-1.605-2.67-.3-5.46-1.335-5.46-5.925 0-1.305.465-2.385 1.23-3.225-.12-.3-.54-1.53.12-3.18 0 0 1.005-.315 3.3 1.23.96-.27 1.98-.405 3-.405s2.04.135 3 .405c2.295-1.56 3.3-1.23 3.3-1.23.66 1.65.24 2.88.12 3.18.765.84 1.23 1.905 1.23 3.225 0 4.605-2.805 5.625-5.475 5.925.435.375.81 1.095.81 2.22 0 1.605-.015 2.895-.015 3.3 0 .315.225.69.825.57A12.02 12.02 0 0 0 24 12c0-6.63-5.37-12-12-12z" />
|
||||
</svg>
|
||||
<div>
|
||||
<div className="link-label">{strings.contact.github[lang]}</div>
|
||||
<div className="contact-link-sub">@{profile.githubHandle}</div>
|
||||
</div>
|
||||
</motion.a>
|
||||
<motion.a
|
||||
href={profile.linkedinUrl}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
className="contact-link"
|
||||
initial={{ opacity: 0, y: 24 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, amount: 0.2 }}
|
||||
transition={{ duration: 0.45, ease: 'easeOut', delay: 0.16 }}
|
||||
whileHover={{ scale: 1.02, y: -4 }}
|
||||
whileTap={{ scale: 0.98 }}
|
||||
>
|
||||
<svg viewBox="0 0 24 24" fill="currentColor" width="24" height="24">
|
||||
<path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433a2.062 2.062 0 0 1-2.063-2.065 2.064 2.064 0 1 1 2.063 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" />
|
||||
</svg>
|
||||
<div>
|
||||
<div className="link-label">{strings.contact.linkedin[lang]}</div>
|
||||
<div className="contact-link-sub">@{profile.linkedinHandle}</div>
|
||||
</div>
|
||||
</motion.a>
|
||||
</div>
|
||||
<ContactLinks />
|
||||
<DownloadResume />
|
||||
</motion.section>
|
||||
</InView>
|
||||
|
||||
+5
-1
@@ -2,7 +2,7 @@ export type Language = 'en' | 'vi';
|
||||
|
||||
export type Palette = 'red' | 'blue';
|
||||
|
||||
export type SocialId = 'github' | 'linkedin' | 'email';
|
||||
export type SocialId = 'github' | 'linkedin' | 'email' | 'telegram' | 'zalo';
|
||||
|
||||
export type ProjectCategory =
|
||||
| "software-engineering"
|
||||
@@ -48,6 +48,7 @@ export interface ExperienceEntry {
|
||||
responsibilities: string[];
|
||||
responsibilitiesEn?: string[];
|
||||
variant?: 'current' | 'gap';
|
||||
logo?: string;
|
||||
}
|
||||
|
||||
export interface SkillGroup {
|
||||
@@ -80,6 +81,9 @@ export interface Profile {
|
||||
linkedinUrl: string;
|
||||
githubHandle: string;
|
||||
linkedinHandle: string;
|
||||
telegramUrl: string;
|
||||
telegramHandle: string;
|
||||
zaloUrl: string;
|
||||
currentInterests: string[];
|
||||
roles: string[];
|
||||
philosophy: PhilosophyPoint[];
|
||||
|
||||
Reference in new issue
Block a user