import i18next from 'i18next';

import SignUpPage from './SignUpPage';
import authRoles from '../../../auth/authRoles';
import en from './i18n/en';

i18next.addResourceBundle('en', 'signUpPage', en);

const SignUpConfig = {
  settings: {
    layout: {
      config: {
        navbar: {
          display: false,
        },
      },
    },
  },
  auth: authRoles.onlyGuest,
  routes: [
    {
      path: 'sign-up',
      element: <SignUpPage />,
    },
  ],
};

export default SignUpConfig;
