2022-10-21 18:07:41 +00:00
|
|
|
import { NgDompurifySanitizer } from '@tinkoff/ng-dompurify';
|
|
|
|
import {
|
|
|
|
TuiRootModule,
|
|
|
|
TuiDialogModule,
|
|
|
|
TuiAlertModule,
|
|
|
|
TUI_SANITIZER,
|
|
|
|
} from '@taiga-ui/core';
|
|
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
|
|
import { TuiButtonModule } from '@taiga-ui/core';
|
2022-10-16 14:19:11 +00:00
|
|
|
import {
|
|
|
|
APP_BASE_HREF,
|
|
|
|
LocationStrategy,
|
|
|
|
HashLocationStrategy,
|
|
|
|
} from '@angular/common';
|
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
import { BrowserModule } from '@angular/platform-browser';
|
|
|
|
|
2022-10-17 18:48:28 +00:00
|
|
|
import { AppRoutingModule } from './modules/app-routing.module';
|
2022-10-16 14:19:11 +00:00
|
|
|
import { AppComponent } from './app.component';
|
2022-10-21 18:07:41 +00:00
|
|
|
import { TuiAvatarModule } from '@taiga-ui/kit';
|
|
|
|
import { GamesBarModule } from './components/games-bar/games-bar.module';
|
|
|
|
import { MainModule } from './components/main/main.module';
|
|
|
|
import { PlaygroundModule } from './components/playground/playground.module';
|
|
|
|
import { SandboxModule } from './components/sandbox/sandbox.module';
|
2022-10-21 19:30:40 +00:00
|
|
|
import { SignInModule } from './components/sign-in/sign-in.module';
|
2022-10-16 14:19:11 +00:00
|
|
|
|
|
|
|
@NgModule({
|
2022-10-17 18:48:28 +00:00
|
|
|
declarations: [AppComponent],
|
2022-10-21 18:07:41 +00:00
|
|
|
imports: [
|
|
|
|
BrowserModule,
|
|
|
|
AppRoutingModule,
|
|
|
|
BrowserAnimationsModule,
|
|
|
|
TuiRootModule,
|
|
|
|
TuiDialogModule,
|
|
|
|
TuiAlertModule,
|
|
|
|
TuiButtonModule,
|
|
|
|
TuiAvatarModule,
|
|
|
|
GamesBarModule,
|
|
|
|
MainModule,
|
|
|
|
PlaygroundModule,
|
|
|
|
SandboxModule,
|
2022-10-21 19:30:40 +00:00
|
|
|
SignInModule,
|
2022-10-21 18:07:41 +00:00
|
|
|
],
|
2022-10-16 14:19:11 +00:00
|
|
|
providers: [
|
|
|
|
{ provide: APP_BASE_HREF, useValue: '/' },
|
|
|
|
{ provide: LocationStrategy, useClass: HashLocationStrategy },
|
2022-10-21 18:07:41 +00:00
|
|
|
{ provide: TUI_SANITIZER, useClass: NgDompurifySanitizer },
|
|
|
|
],
|
2022-10-16 14:19:11 +00:00
|
|
|
bootstrap: [AppComponent],
|
2022-10-21 18:07:41 +00:00
|
|
|
exports: [],
|
2022-10-16 14:19:11 +00:00
|
|
|
})
|
|
|
|
export class AppModule {}
|