Files
cv/src/components/sections/Contact.tsx
T

28 lines
907 B
TypeScript
Raw Normal View History

2026-10-06 19:29:13 +07:00
import { motion } from "motion/react"
import { SectionHeading } from "@/components/ui/SectionHeading"
2026-10-19 18:51:27 +07:00
import { ContactLinks } from "@/components/ui/ContactLinks"
2026-10-06 19:29:13 +07:00
import { InView } from "@/components/ui/InView"
2026-10-14 11:15:48 +07:00
import { useLanguage } from '@/hooks/useLanguage'
import { strings } from '@/i18n/strings'
export function Contact() {
2026-10-14 11:15:48 +07:00
const { lang } = useLanguage()
return (
2026-10-06 19:29:13 +07:00
<InView>
<motion.section
className="section container-wide"
2026-10-06 19:29:13 +07:00
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]} />
2026-10-19 18:51:27 +07:00
<ContactLinks />
2026-10-06 19:29:13 +07:00
</motion.section>
</InView>
)
}