CompleteUserRegistration.tsx 769 B

123456789101112131415161718192021222324
  1. import React, { FC } from 'react';
  2. import { useTranslation } from 'next-i18next';
  3. import Link from 'next/link';
  4. export const CompleteUserRegistration: FC = () => {
  5. const { t } = useTranslation();
  6. return (
  7. <div className="nologin-dialog mx-auto" id="nologin-dialog">
  8. <div className="row mx-0">
  9. <div className="col-12 mb-3 text-center">
  10. <p className="alert alert-success">
  11. <span>{t('login.registration_successful')}</span>
  12. </p>
  13. {/* If the transition source is "/login", use <a /> tag since the transition will not occur if next/link is used. */}
  14. <a href='/login'>
  15. <i className="icon-login mr-1" />{t('Sign in is here')}
  16. </a>
  17. </div>
  18. </div>
  19. </div>
  20. );
  21. };