import { Routes } from '@angular/router'
import { Error404 } from './error-404'
import { Unauthorized } from '../unauthorized'

export const ERROR_PAGES_ROUTES: Routes = [
  {
    path: 'error/404',
    component: Error404,
    data: { title: 'Page Non Trouvée' },
  },
  {
    path: 'error/403',
    component: Unauthorized,
    data: { title: 'Accès Refusé' },
  },
  {
    path: 'unauthorized',
    component: Unauthorized,
    data: { title: 'Accès Refusé' },
  }
]