/* * Copyright (C) 2026 Fluxer Contributors * * This file is part of Fluxer. * * Fluxer is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Fluxer is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with Fluxer. If not, see . */ /** @jsxRuntime automatic */ /** @jsxImportSource hono/jsx */ import {ArrowRightIcon} from '@fluxer/marketing/src/components/icons/ArrowRightIcon'; import {Icon} from '@fluxer/marketing/src/components/icons/IconRegistry'; import {MarketingButton} from '@fluxer/marketing/src/components/MarketingButton'; import {MarketingCard} from '@fluxer/marketing/src/components/MarketingCard'; import type {MarketingContext} from '@fluxer/marketing/src/MarketingContext'; type FeatureIcon = | 'chats' | 'microphone' | 'palette' | 'magnifying_glass' | 'devices' | 'gear' | 'heart' | 'globe' | 'server' | 'newspaper'; interface FeatureCardProps { ctx: MarketingContext; icon: FeatureIcon; title: string; description: string; features: ReadonlyArray; learnMoreLink?: string; } export function FeatureCard(props: FeatureCardProps): JSX.Element { const textColor = 'text-gray-900'; const descriptionColor = 'text-gray-600'; return ( {props.learnMoreLink && ( {props.ctx.i18n.getMessage('misc_labels.learn_more', props.ctx.locale)} )}

{props.title}

{props.description}

    {props.features.map((feature, index) => (
  • {feature}
  • ))}
); }