import React from "react"; import { Link } from "react-router-dom"; interface HeroSectionProps { image: string; headline: string; subheadline: string; primaryCta: { label: string; href: string }; secondaryCta?: { label: string; href: string }; } const HeroSection: React.FC = ({ image, headline, subheadline, primaryCta, secondaryCta, }) => { const renderCta = (cta: { label: string; href: string }, className: string) => { const isExternal = cta.href.startsWith("http"); if (isExternal) { return ( {cta.label} ); } return ( {cta.label} ); }; return (
AI + SEO PLATFORM

{headline}

{subheadline}

{renderCta( primaryCta, "inline-flex items-center justify-center rounded-full bg-brand-500 hover:bg-brand-400 px-6 py-3 text-sm md:text-base font-semibold transition" )} {secondaryCta && renderCta( secondaryCta, "inline-flex items-center justify-center rounded-full border border-white/20 px-6 py-3 text-sm md:text-base font-semibold text-white/80 hover:text-white hover:border-white/40 transition" )}
Igny8 dashboard preview
End-to-end automation Keywords ➝ Ideas ➝ Tasks ➝ Content ➝ Images
); }; export default HeroSection;