"use client";
import type { HomeFeature } from "../../node/types";
import { cn } from "../../node/utils";
import { renderLucideIcon } from "../Lucide";
interface FeaturesProps {
features: HomeFeature[];
className?: string;
}
interface FeatureCardProps {
feature: HomeFeature;
index: number;
}
function FeatureCard({ feature, index }: FeatureCardProps) {
const Wrapper = feature.link ? "a" : "div";
const wrapperProps = feature.link ? { href: feature.link } : {};
// Use index-based patternId to avoid collisions
const patternId = `grid-${index}`;
return (
{feature.description}{feature.title}