"use client"; import { cn } from "@/shared/lib/utils"; import { motion } from "framer-motion"; import { ArrowRight, LucideIcon } from "lucide-react"; import Link from "next/link"; export interface FeatureCardProps { icon: LucideIcon; title: string; description: string; variant?: "default" | "bordered" | "filled"; link?: { href: string; label: string; }; className?: string; } const variantClasses = { default: "bg-card hover:bg-accent/50", bordered: "bg-transparent border-2 border-border hover:border-[var(--feature-accent)]", filled: "bg-gradient-primary border border-border/50", }; /** * Карточка фичи/преимущества * Используется в Features Section */ export function FeatureCard({ icon: Icon, title, description, variant = "default", link, className, }: FeatureCardProps) { const content = ( <>
{description}
{link && (