'use client'; type Feature = { title: string; description: string; icon: JSX.Element; color: string; isSpecial?: boolean; specialIcon?: JSX.Element; }; const features: Feature[] = [ { title: "Real-time Sync", description: "Changes appear instantly across all connected devices", color: "primary", icon: ( ) }, { title: "File Sharing", description: "Upload and share files seamlessly across all connected devices", color: "blue-500", icon: ( ) }, { title: "Password Protection", description: "Add an extra layer of security with password-protected clipboards", color: "purple-500", icon: ( ) }, { title: "No Login Required", description: "Just create or join a clipboard with a 4-digit code", color: "secondary", icon: ( ) }, { title: "Persistent Storage", description: "Clipboards stay available indefinitely without automatic expiration", color: "accent", icon: ( ) }, { title: "End-to-End Encrypted", description: "Your clipboard data is fully encrypted and secure", color: "emerald-500", isSpecial: true, icon: ( ), specialIcon: ( ) } ]; export default function FeaturesSection() { return (
{/* Section Title */}

Powerful Features

Everything you need for seamless clipboard sharing

{/* First four features in a 4-column grid */}
{features.slice(0, 4).map((feature, index) => (
{feature.isSpecial && (
)}
{feature.icon}

{feature.title}

{feature.description}

{feature.isSpecial && feature.specialIcon && (
{feature.specialIcon}
)}
))}
{/* Last two features centered in the middle */}
{features.slice(4).map((feature, index) => (
{feature.icon}

{feature.title}

{feature.description}

))}
); }