import React from "react"; import { Link } from "react-router-dom"; import Button from "../../components/ui/button/Button"; import Badge from "../../components/ui/badge/Badge"; 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 }, isPrimary: boolean) => { const isExternal = cta.href.startsWith("http"); const buttonClasses = isPrimary ? "shadow-lg shadow-[var(--color-primary)]/30" : "border-white/30 bg-white/5 backdrop-blur-sm text-white hover:bg-white/10 hover:border-white/50"; if (isExternal) { return ( ); } return ( ); }; return (
AI + SEO PLATFORM

{headline}

{subheadline}

{renderCta(primaryCta, true)} {secondaryCta && renderCta(secondaryCta, false)}
Igny8 dashboard preview
End-to-end automation Keywords ➝ Ideas ➝ Tasks ➝ Content ➝ Images
); }; export default HeroSection;