import type { Category } from '.' import { RiArrowRightUpLine } from '@remixicon/react' import Link from 'next/link' import * as React from 'react' import { useTranslation } from 'react-i18next' import { cn } from '@/utils/classnames' import { CategoryEnum } from '.' type FooterProps = { pricingPageURL: string currentCategory: Category } const Footer = ({ pricingPageURL, currentCategory, }: FooterProps) => { const { t } = useTranslation() return (
{currentCategory === CategoryEnum.CLOUD && (
{t('plansCommon.taxTip', { ns: 'billing' })} {t('plansCommon.taxTipSecond', { ns: 'billing' })}
)} {t('plansCommon.comparePlanAndFeatures', { ns: 'billing' })}
) } export default React.memo(Footer)