import { Routes } from '@angular/router';
import { AboutComponent } from './pages/legal/about/about.component';
import { HomeComponent } from './pages/main/home/home.component';
import { ContactComponent } from './pages/legal/contact/contact.component';
import { PrivacyComponent } from './pages/legal/privacy/privacy.component';
import { JobsComponent } from './pages/main/jobs/jobs.component';
import { ResumesComponent } from './pages/main/resumes/resumes.component';
import { JobEditorComponent } from './pages/main/jobs/editor/jobeditor.component';
import { CompanyConnectComponent } from './pages/main/company/connect/companyconnect.component';
import { JobViewerComponent } from './pages/main/jobs/viewer/jobviewer.component';
import { CompanyJobsComponent } from './pages/main/company/jobs/jobs.component';
import { CompanyComponent } from './pages/main/company/company.component';

export const routes: Routes = [

    // Home
    { path: "", component: HomeComponent },
    
    // Resumes
    { path: "resumes", component: ResumesComponent },

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

    // Company
    { path: "company", component: CompanyComponent },
    { path: "company/connect", component: CompanyConnectComponent },
    { path: "company/jobs", component: CompanyJobsComponent },

    // Legal
    { path: "about", component: AboutComponent },
    { path: "contact", component: ContactComponent },
    { path: "privacy", component: PrivacyComponent }
]