import { motion, useScroll, useTransform } from "motion/react"
import { InView } from "@/components/ui/InView"
import { resumeAvailable } from "@/data/resume"
import { Button } from "@/components/ui/Button"
import { SocialLinks } from "@/components/ui/SocialLinks"
import { profile } from "@/data/profile"
const socialLinks = [
{
label: "GitHub",
href: profile.githubUrl,
"aria-label": "View GitHub profile",
icon: (
),
},
{
label: "LinkedIn",
href: profile.linkedinUrl,
"aria-label": "View LinkedIn profile",
icon: (
),
},
{
label: "Email",
href: `mailto:${profile.email}`,
"aria-label": "Send email",
icon: (
),
},
]
export function Hero() {
const { scrollY } = useScroll()
const y = useTransform(scrollY, [0, 300], [0, -80])
const opacity = useTransform(scrollY, [0, 200], [1, 0.3])
return (
{profile.name}
{profile.title}
{profile.tagline}
{resumeAvailable && (
)}
)
}