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

import { LoginComponent } from './login/login.component';
import { DisconnectionComponent } from './disconnection/disconnection.component';
import { ServerComponent } from './server/server.component';

// import { AuthGuard } from './core/guards/auth.guard';

export const appRoutes: Routes = [
  { path: 'login', component: LoginComponent },
  { path: 'disconnection', component: DisconnectionComponent },
  { path: 'server', component: ServerComponent },
  { path: '', redirectTo: '/server', pathMatch: 'full' },
  { path: '**', redirectTo: '/server', pathMatch: 'full' }
];
