import { cn } from '@/lib/utils'; import { ChevronRightIcon } from 'lucide-react'; import Link from 'next/link'; export function Feature({ children, media, reverse = false, className, }: { children: React.ReactNode; media?: React.ReactNode; reverse?: boolean; className?: string; }) { return (
{children}
{media && (
{media}
)}
); } export function FeatureContent({ icon, title, content, className, }: { icon?: React.ReactNode; title: string; content: string[]; className?: string; }) { return (
{icon && (
{icon}
)}

{title}

{content.map((c, i) => (

{c}

))}
); } export function FeatureList({ title, items, className, cols = 2, }: { title: string; items: React.ReactNode[]; className?: string; cols?: number; }) { return (

{title}

div]:p-2 [&>div]:row [&>div]:items-center [&>div]:gap-2 grid', cols === 1 && 'grid-cols-1', cols === 2 && 'grid-cols-2', cols === 3 && 'grid-cols-3', )} > {items.map((i, j) => (
{i}
))}
); } export function FeatureMore({ children, href, className, }: { children: React.ReactNode; href: string; className?: string; }) { return ( {children} ); }