import React from 'react'; import { Icon } from '@/components/icon/Icon'; import { SettingsSection } from '@/components/sections/shared/SettingsSection'; import type { IconName } from '@/components/icon/icons'; import { useI18n, type I18nKey } from '@/lib/i18n'; import { cn } from '@/lib/utils'; type ComingSoonMessenger = { id: 'discord' | 'telegram'; icon: IconName; brandClassName: string; nameKey: I18nKey; descriptionKey: I18nKey; }; const COMING_SOON_MESSENGERS: readonly ComingSoonMessenger[] = [ { id: 'discord', icon: 'discord-fill', brandClassName: 'text-[#5865F2]', nameKey: 'settings.integrations.messengers.discord.name', descriptionKey: 'settings.integrations.messengers.discord.description', }, { id: 'telegram', icon: 'telegram-fill', brandClassName: 'text-[#2AABEE]', nameKey: 'settings.integrations.messengers.telegram.name', descriptionKey: 'settings.integrations.messengers.telegram.description', }, ] as const; /** * Non-interactive Discord/Telegram placeholders — same card chrome as live * integrations, greyed out, with a Coming soon badge and no expandable body. */ export const ComingSoonMessengersSection: React.FC = () => { const { t } = useI18n(); return ( {COMING_SOON_MESSENGERS.map((messenger) => (
{t(messenger.nameKey)}

{t(messenger.descriptionKey)}

{t('settings.common.state.comingSoon')}
))}
); };