CompleteUserRegistration.tsx 787 B

123456789101112131415161718192021222324
  1. import type { FC } from 'react';
  2. import React from 'react';
  3. import { useTranslation } from 'next-i18next';
  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. <span className="material-symbols-outlined">login</span>{t('Sign in is here')}
  16. </a>
  17. </div>
  18. </div>
  19. </div>
  20. );
  21. };