PrivateLegacyPagesLink.tsx 595 B

12345678910111213141516171819202122
  1. import type { FC } from 'react';
  2. import React, { memo } from 'react';
  3. import { useTranslation } from 'next-i18next';
  4. import Link from 'next/link';
  5. export const PrivateLegacyPagesLink: FC = memo(() => {
  6. const { t } = useTranslation();
  7. return (
  8. <Link
  9. href="/_private-legacy-pages"
  10. className="h5 grw-private-legacy-pages-anchor text-decoration-none"
  11. prefetch={false}
  12. >
  13. <span className="material-symbols-outlined me-2">bottom_drawer</span> {t('private_legacy_pages.title')}
  14. </Link>
  15. );
  16. });
  17. PrivateLegacyPagesLink.displayName = 'PrivateLegacyPagesLink';