"use client" import Link from "next/link" import type { LucideIcon } from "lucide-react" import { Zap, Wifi, Database, MessageSquare, FileCode, Settings, BugPlay, ChevronDown, } from "lucide-react" import constants from "@/constants" interface Feature { icon: React.ReactElement title: string description: string link?: { text: string url: string } } export const featuresData: Feature[] = [ { icon: , title: "Zero-Config", description: "Sensible built-in default configs for common use cases", }, // { // icon: , // title: "Extensible", // description: // "Expose the full ability to customize the behavior of the platform", // }, { icon: , title: "SMTP Support", description: "Connect any SMTP server to send emails to your subscribers", }, { icon: , title: "Unlimited Lists", description: "Create and manage as many newsletter lists as you need", }, { icon: , title: "Campaign Management", description: "Built-in support for creating and scheduling email campaigns", }, // { // icon: , // title: "Auto-scaling", // description: "Automatically handle thousands of subscribers with ease", // }, { icon: , title: "REST API", description: "Comprehensive API for integrating with your applications", link: { text: "API Documentation", url: constants.env.DOCS_URL + "/api", }, }, { icon: , title: "Advanced Analytics", description: "Track opens, clicks, and engagement for all your campaigns", }, { icon: , title: "Built by Developers", description: "For developers, by developers. Everything you need to build and test with ease.", link: { text: "Development Guide", url: constants.env.DOCS_URL, }, }, ] export const Features = ({ features }: { features: Feature[] }) => (
{features.map((feature, index) => (
{feature.icon}

{feature.title}

{feature.description}

{feature.link && ( {feature.link.text}{" "} )}
))}
)