skillbox/client/src/router/auth.routes.js

64 lines
1.5 KiB
JavaScript

import {LICENSE_ACTIVATION} from '@/router/auth.names';
const hello = () => import('@/pages/hello');
const betaLogin = () => import('@/pages/beta-login');
const loginError = () => import('@/pages/login-error');
const licenseActivation = () => import('@/pages/license-activation');
export default [
{
path: '/hello',
name: 'hello',
component: hello,
meta: {
layout: 'split',
public: true,
illustration: 'hello',
illustrationAlign: 'top',
},
},
{
path: '/beta-login',
name: 'betaLogin',
component: betaLogin,
meta: {
layout: 'public',
public: true,
},
},
{
path: '/verify-email',
component: loginError,
name: 'verifyEmail',
props: {
title: 'Bitte schauen Sie in Ihr Postfach',
errorMessage: 'Ihre E-Mail-Adresse ist noch nicht verifiziert. Wir haben eine E-Mail mit einem Aktivierungslink an Sie verschickt.',
},
meta: {
public: true,
layout: 'public',
},
},
{
path: '/unknown-auth-error',
component: loginError,
name: 'unknownAuthError',
props: {
title: 'Es ist ein Fehler aufgetreten',
errorMessage: 'Es tut uns leid, dass mySkillbox im Moment nicht wie erwartet funktioniert. Bitte versuchen Sie es später nochmals.',
},
meta: {
public: true,
layout: 'public',
},
},
{
path: '/license-activation',
component: licenseActivation,
name: LICENSE_ACTIVATION,
meta: {
layout: 'public',
},
},
];