import {NgModule} from '@angular/core';
import {BrowserModule} from '@angular/platform-browser';

import {AppRoutingModule} from './app-routing.module';
import {AppComponent} from './app.component';
import {HomeModule} from './pages/home/home.module';
import {RuleModule} from './pages/rule/rule.module';
import {LoginModule} from './pages/login/login.module';
import {ShareModule} from './pages/share/share.module';
import {ShareApplicationModule} from './pages/share-application/share-application.module';
import {ShareInviteModule} from './pages/share-invite/share-invite.module';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { FormsModule } from '@angular/forms';
import { HttpClientModule } from '@angular/common/http';
import { NgZorroAntdMobileModule } from 'ng-zorro-antd-mobile';
import {HashLocationStrategy, LocationStrategy} from '@angular/common';
import { NoticeComponent } from './pages/notice/notice.component';

// @ts-ignore
@NgModule({
  declarations: [
    AppComponent,
    NoticeComponent,
  ],
  imports: [
    BrowserModule,
    AppRoutingModule,
    HomeModule,
    RuleModule,
    LoginModule,
    ShareModule,
    ShareApplicationModule,
    ShareInviteModule,
    BrowserAnimationsModule,
    FormsModule,
    HttpClientModule,
    NgZorroAntdMobileModule,
  ],
  providers: [{ provide: LocationStrategy, useClass: HashLocationStrategy },],
  bootstrap: [AppComponent]
})
export class AppModule {
}
