import i18next from 'i18next';

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

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

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

export default SignInConfig;
