import type { I18nKeysWithPrefix } from '@/types/i18n' import { RiLock2Fill } from '@remixicon/react' import Link from 'next/link' import { useTranslation } from 'react-i18next' import { cn } from '@/utils/classnames' type EncryptedKey = I18nKeysWithPrefix<'common', 'provider.encrypted.'> type Props = { className?: string frontTextKey?: EncryptedKey backTextKey?: EncryptedKey } const DEFAULT_FRONT_KEY: EncryptedKey = 'provider.encrypted.front' const DEFAULT_BACK_KEY: EncryptedKey = 'provider.encrypted.back' export const EncryptedBottom = (props: Props) => { const { t } = useTranslation() const { frontTextKey = DEFAULT_FRONT_KEY, backTextKey = DEFAULT_BACK_KEY, className } = props return (