PrivateLegacyPagesLink.tsx 533 B

12345678910111213141516171819
  1. import React, { FC, memo } from 'react';
  2. import Link from 'next/link';
  3. import { useTranslation } from 'next-i18next';
  4. export const PrivateLegacyPagesLink: FC = memo(() => {
  5. const { t } = useTranslation();
  6. return (
  7. <Link href="/_private-legacy-pages" prefetch={false}>
  8. <a className="h5 grw-private-legacy-pages-anchor text-decoration-none">
  9. <i className="icon-drawer mr-2"></i> {t('private_legacy_pages.title')}
  10. </a>
  11. </Link>
  12. );
  13. });
  14. PrivateLegacyPagesLink.displayName = 'PrivateLegacyPagesLink';