import type { ReactNode } from 'react' import { Badge } from '@/components/ui/badge' import { HardDriveUploadIcon, ImageIcon, RefreshCwIcon } from 'lucide-react' import { useTranslation } from 'react-i18next' import { Separator } from '@/components/ui/separator' import { CloudCardShell } from './cloud-card-shell' function LoginFeatureItem ({ icon, title, description, badge }: { icon: ReactNode title: string description: string badge?: string }) { return (
{icon}

{title}

{badge ? ( {badge} ) : null}

{description}

) } export function CloudLoginFeaturesCard () { const { t } = useTranslation() return (

{t('PICGO_CLOUD_LOGIN_FEATURES_TITLE')}

} title={t('PICGO_CLOUD_OFFICIAL_IMAGE_HOST_TITLE')} description={t('PICGO_CLOUD_OFFICIAL_IMAGE_HOST_DESC')} /> } title={t('PICGO_CLOUD_CONFIG_SYNC_TITLE')} description={t('PICGO_CLOUD_CONFIG_SYNC_CARD_DESC')} /> } title={t('PICGO_CLOUD_AUTO_IMPORT_LABEL')} description={t('PICGO_CLOUD_AUTO_IMPORT_DESC')} badge={t('PICGO_CLOUD_PAID_PLAN_BADGE')} />
) }