import { Routes } from '@angular/router';

import { AnalyticsComponent } from './analytics/analytics.component';
import { CryptocurrencyComponent } from './cryptocurrency/cryptocurrency.component';
import { LearningManagementComponent } from './learning-management/learning-management.component';
import { AnalyticsAltComponent } from './analytics-alt/analytics-alt.component';

export const DashboardRoutes: Routes = [
  {
    path: 'learning-management',
    component: LearningManagementComponent,
    data: { title: 'Learning management', breadcrumb: 'Learning management' }
  },
  {
    path: 'analytics',
    component: AnalyticsComponent,
    data: { title: 'Analytics', breadcrumb: 'Analytics' }
  },
  {
    path: 'analytics-alt',
    component: AnalyticsAltComponent,
    data: { title: 'Analytics Alternative', breadcrumb: 'Analytics Alternative' }
  },
  {
    path: 'crypto',
    component: CryptocurrencyComponent,
    data: { title: 'Cryptocurrency', breadcrumb: 'Cryptocurrency' }
  }
];
