Files
cv/src/pages/ContactPage.tsx
T
dong.nguyen 25b0ead76a feat: drop site Zalo, widen resume header, remove contact download button
- site: Zalo removed from SocialId, Profile, social.ts, ContactLinks, strings and
  icons.tsx; the resume QR block keeps Zalo by owner decision
- resume: .header-photo 72 -> 96px, .header-info margin-left 12 -> 24px,
  .header-qr gap 18 -> 50px so the Telegram code sits clear of Zalo
- contact: <DownloadResume /> removed from the Contact section and ContactPage;
  DownloadResume() + DownloadButton() and the dead .download-resume-button rule
  deleted, Hero CTA untouched
2026-10-19 22:15:10 +07:00

28 lines
909 B
TypeScript

import { SectionHeading } from '@/components/ui/SectionHeading'
import { ContactLinks } from '@/components/ui/ContactLinks'
import { motion } from 'motion/react'
import { InView } from '@/components/ui/InView'
import { useLanguage } from '@/hooks/useLanguage'
import { strings } from '@/i18n/strings'
export function ContactPage() {
const { lang } = useLanguage()
return (
<InView>
<motion.section
className="section container-content"
aria-labelledby="contact-heading"
initial="hidden"
whileInView="visible"
viewport={{ once: true, amount: 0.1 }}
variants={{
hidden: { opacity: 0 },
visible: { opacity: 1, transition: { duration: 0.5 } },
}}
>
<SectionHeading title={strings.contact.heading[lang]} tag={strings.common.contactTag[lang]} />
<ContactLinks />
</motion.section>
</InView>
)
}