import { useNavigate } from "react-router-dom";
import { Button } from "./ui/button";
import { ShimmerButton } from "./ui/shimmer-button";
import { DashboardVector } from "./vectors/DashboardVector";
import { motion } from "framer-motion";
interface HireTalentHeroBannerProps {
category?: string;
title: string;
description: string;
primaryCTA: {
text: string;
href: string;
icon?: React.ComponentType<{ className?: string }>;
};
secondaryCTA?: {
text: string;
href: string;
icon?: React.ComponentType<{ className?: string }>;
};
useVectors?: boolean; // Keep for backward compatibility
vectorComponent?: React.ComponentType; // New prop for custom vectors
}
export function HireTalentHeroBanner({
category,
title,
description,
primaryCTA,
secondaryCTA,
useVectors = false,
vectorComponent: VectorComponent
}: HireTalentHeroBannerProps) {
const navigate = useNavigate();
return (
{description}
{title}