import { DigiNgCardModule } from '@af/digi-ng/_card/card';
import { CommonModule } from '@angular/common';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
import { LayoutModule } from '@msfa-shared/components/layout/layout.module';
import { UiLoaderModule } from '@ui/loader/loader.module';
import { NewsModule } from './components/news/news.module';
import { StartComponent } from './start.component';
import { StartService } from './start.service';

@NgModule({
  schemas: [CUSTOM_ELEMENTS_SCHEMA],
  declarations: [StartComponent],
  imports: [
    CommonModule,
    RouterModule.forChild([{ path: '', component: StartComponent }]),
    LayoutModule,
    DigiNgCardModule,
    UiLoaderModule,
    NewsModule,
  ],
  providers: [StartService],
})
export class StartModule {}
