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

import { HomeComponent } from './pages/home/home.component';
import { JobsComponent } from './pages/jobs/jobs.component';
import { ResumesComponent } from './pages/resumes/resumes.component';
import { JobEditorComponent } from './pages/jobs/editor/jobeditor.component';
import { CompanyEditorComponent } from './pages/company/editor/editor.component';
import { JobViewerComponent } from './pages/jobs/viewer/jobviewer.component';
import { CompanyComponent } from './pages/company/company.component';
import { ResumesEditorComponent } from './pages/resumes/editor/editor.component';
import { AppViewerComponent } from './pages/applicationviewer/appviewer.component';
import { ResumesViewerComponent } from './pages/resumes/viewer/viewer.component';

export const routes: Routes = [

    // Home
    { path: "", component: HomeComponent },
    
    // Application
    { path: "application/viewer", component: AppViewerComponent },

    // Resumes
    { path: "resumes", component: ResumesComponent },
    { path: "resumes/editor", component: ResumesEditorComponent },
    { path: "resumes/viewer", component: ResumesViewerComponent },

    // Jobs
    { path: "jobs", component: JobsComponent },
    { path: "jobs/editor", component: JobEditorComponent },
    { path: "jobs/viewer", component: JobViewerComponent },

    // Company
    { path: "company", component: CompanyComponent },
    { path: "company/editor", component: CompanyEditorComponent },
    
]