import { Button } from "@/components/ui/button"; import { Avatar, AvatarFallback } from "@/components/ui/avatar"; import { Github, Linkedin, Mail, MapPin, Phone } from "lucide-react"; interface HeroSectionProps { profile: { name: string; title: string; bio: string; email: string; phone?: string; location: string; githubUrl?: string; linkedinUrl?: string; }; } export function HeroSection({ profile }: HeroSectionProps) { const scrollToSection = (sectionId: string) => { const element = document.getElementById(sectionId); if (element) { element.scrollIntoView({ behavior: "smooth" }); } }; return (
{profile.name .split(" ") .map((n) => n[0]) .join("")}

{profile.name}

{profile.title}

{profile.bio}

{profile.githubUrl && ( )} {profile.linkedinUrl && ( )}
{profile.location}
{profile.email}
{profile.phone && (
{profile.phone}
)}
); }