import {NgModule} from '@angular/core';
import {CommonModule} from '@angular/common';
import {TranslateModule} from '@ngx-translate/core';
import {MomentModule} from 'ngx-moment';
import {DataModule} from '../data/data.module';
import {UtilModule} from '../../util/util.module';
import {ThingTranslateModule} from '../../translation/thing-translate.module';
import {RouterModule, Routes} from '@angular/router';
import {JobsPageComponent} from './page/jobs-page.component';
import {IonIconDirective} from 'src/app/util/ion-icon/ion-icon.directive';

const jobsRoutes: Routes = [{path: 'jobs', component: JobsPageComponent}];

@NgModule({
  declarations: [JobsPageComponent],
  imports: [
    ThingTranslateModule.forChild(),
    TranslateModule.forChild(),
    RouterModule.forChild(jobsRoutes),
    IonIconDirective,
    CommonModule,
    MomentModule,
    DataModule,
    UtilModule,
  ],
})
export class JobModule {}
