// components/FeaturedProductSection.tsx import React from "react"; import Image from "next/image"; import Button from "@/components/ui/Button"; import { FiCheckCircle, FiArrowRight } from "react-icons/fi"; // Example icons type FeaturePoint = { text: string; }; type FeaturedProductProps = { eyebrow?: string; title: string; productName: string; // e.g., "OBSE" description: string; features: FeaturePoint[]; buttonText: string; buttonHref: string; imageUrl: string; // Path to product graphic/mockup imageAlt: string; }; const FeaturedProductSection: React.FC = ({ eyebrow, title, productName, description, features, buttonText, buttonHref, imageUrl, imageAlt, }) => { return ( // Use secondary background for visual separation
{/* Text Content Area (Takes up half on desktop) */}
{eyebrow && (

{eyebrow}

)} {/* Main title uses foreground color */}

{title} {productName}

{/* Description uses muted foreground */}

{description}

{/* Feature List */}
    {" "} {/* Ensure list is left-aligned */} {features.map((feature, index) => (
  • {/* Feature text uses muted foreground */} {feature.text}
  • ))}
{/* Call to Action Button */}
{/* Image Area (Takes up half on desktop) */}
{/* Add perspective/shadow for visual lift */}
{/* Apply subtle dark overlay on image if needed for contrast */} {/*
*/} {imageAlt}
); }; // Example default data for OBSE export const defaultObseFeatures: FeaturePoint[] = [ { text: "Automate data extraction & analysis from bank statements." }, { text: "Reduce manual errors and increase processing speed." }, { text: "Gain deep insights into financial health and trends." }, { text: "Enhance fraud detection capabilities." }, { text: "Seamless integration with existing financial systems." }, ]; export default FeaturedProductSection;