Skip to content

Commit

Permalink
Moved SignUp pages to Basic Page folder
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderSychev2005 committed Aug 31, 2024
1 parent 91556b7 commit a1fa37a
Show file tree
Hide file tree
Showing 19 changed files with 13 additions and 13 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styles from './ResendActivationForm.module.css';
import { ResendActivationFormContentComponent } from './signup-form/ResendActivationFormContent';
import { ResendActivationFormContentComponent } from './SignupForm/ResendActivationFormContent';
import { useState } from 'react';
import { Link } from 'react-router-dom';

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import styles from './SignUpForm.module.css';
import { SignUpFormContentComponent } from './signup-form/SignUpFormContent';
import { SignUpFormContentComponent } from './SignupForm/SignUpFormContent';
import { useState } from 'react';
import { Link } from 'react-router-dom';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { toast } from 'react-toastify';
import 'react-toastify/dist/ReactToastify.css';
import axios from 'axios';
import styles from './ResendActivationFormContent.module.css';
import { EMAIL_PATTERN } from '../../../../../constants/constants';
import { EMAIL_PATTERN } from '../../../constants/constants';

export function ResendActivationFormContentComponent({ setIsValid }) {
const navigate = useNavigate();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,16 @@ import { useNavigate } from 'react-router-dom';
import { toast } from 'react-toastify';
import axios from 'axios';
import { Tooltip } from 'antd';
import EyeInvisible from '../../../../Authorization/EyeInvisible';
import EyeVisible from '../../../../Authorization/EyeVisible';
import EyeInvisible from '../../Authorization/EyeInvisible';
import EyeVisible from '../../Authorization/EyeVisible';
import styles from './SignUpFormContent.module.css';
import PropTypes from 'prop-types';
import {
EMAIL_PATTERN,
PASSWORD_PATTERN,
NAME_SURNAME_PATTERN,
COMPANY_NAME_PATTERN,
} from '../../../../../constants/constants';
} from '../../../constants/constants';

const RulesModal = React.lazy(() => import('./RulesModal'));

Expand Down
8 changes: 4 additions & 4 deletions FrontEnd/src/pages/BasicPage/BasicPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ import PrivacyPolicy from '../../components/PrivacyPolicyPage/PrivacyPolicyPage'
import ProfileDetailPage from '../../components/ProfileDetail/ProfileDetailPage';
import ProfileListPage from '../../components/ProfileList/ProfileListPage';
import ProfilePage from '../../components/ProfilePage/ProfilePage';
import { SignUpPage } from '../../components/SignUp/pages/SignUpPage';
import { SignUpModalPage } from '../../components/SignUp/pages/SignUpModalPage';
import { ResendActivationPage } from '../../components/SignUp/pages/ResendActivationPage';
import { ActivationProfilePage } from '../../components/SignUp/pages/ActivateProfilePage';
import { SignUpPage } from './SignUp/SignUpPage';
import { SignUpModalPage } from './SignUp/SignUpModalPage';
import { ResendActivationPage } from './SignUp/ResendActivationPage';
import { ActivationProfilePage } from './SignUp/ActivateProfilePage';
import { SendEmailRestorePasswordPage } from '../../components/RestorePassword/Pages/SendEmailRestorePasswordPage';
import { RestorePasswordPage } from '../../components/RestorePassword/Pages/RestorePasswordPage';
import { RestorePasswordModalPage } from '../../components/RestorePassword/Pages/RestorePasswordModalPage';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState, useEffect } from 'react';
import axios from 'axios';
import { useParams } from 'react-router-dom';
import AuthorizationPage from '../../Authorization/AuthorizationPage';
import AuthorizationPage from '../../../components/Authorization/AuthorizationPage';
import styles from './ActivateProfileModal.module.css';

export function ActivationProfilePage() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Link } from 'react-router-dom';
import styles from './SignUpPage.module.css';
import { ResendActivationFormComponent } from '../components/signup/ResendActivationForm';
import { ResendActivationFormComponent } from '../../../components/SignUp/ResendActivationForm';

export function ResendActivationPage() {
return (
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Link } from 'react-router-dom';
import styles from './SignUpPage.module.css';
import { SignUpFormComponent } from '../components/signup/SignUpForm';
import { SignUpFormComponent } from '../../../components/SignUp/SignUpForm';

export function SignUpPage() {
return (
Expand Down

0 comments on commit a1fa37a

Please sign in to comment.