[frontend] Include public platform components
This commit is contained in:
parent
e65dadf4dd
commit
380ed56795
|
@ -25,6 +25,7 @@ import { ConfirmComponent } from './auth/confirm/confirm.component';
|
||||||
import { ErrorInterceptor } from './core/auth/error.interceptor';
|
import { ErrorInterceptor } from './core/auth/error.interceptor';
|
||||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||||
import { MarkdownModule } from 'ngx-markdown';
|
import { MarkdownModule } from 'ngx-markdown';
|
||||||
|
import { PlatformsModule } from './platforms/platforms.module';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
|
@ -46,6 +47,7 @@ import { MarkdownModule } from 'ngx-markdown';
|
||||||
HttpClientModule,
|
HttpClientModule,
|
||||||
ReactiveFormsModule,
|
ReactiveFormsModule,
|
||||||
BrowserAnimationsModule,
|
BrowserAnimationsModule,
|
||||||
|
PlatformsModule,
|
||||||
MarkdownModule.forRoot({ loader: HttpClient }),
|
MarkdownModule.forRoot({ loader: HttpClient }),
|
||||||
],
|
],
|
||||||
providers: [
|
providers: [
|
||||||
|
|
|
@ -11,6 +11,14 @@ import { TelegramDialogComponent } from './telegram/telegram-dialog/telegram-dia
|
||||||
import { TwitterInfoDialogComponent } from './twitter/twitter-info-dialog/twitter-info-dialog.component';
|
import { TwitterInfoDialogComponent } from './twitter/twitter-info-dialog/twitter-info-dialog.component';
|
||||||
import { TwitterCallbackComponent } from './twitter/twitter-callback/twitter-callback.component';
|
import { TwitterCallbackComponent } from './twitter/twitter-callback/twitter-callback.component';
|
||||||
import { TwitterCorpsesPipe } from './twitter/twitter-corpses-pipe/twitter-corpses.pipe';
|
import { TwitterCorpsesPipe } from './twitter/twitter-corpses-pipe/twitter-corpses.pipe';
|
||||||
|
import { PlatformsInfoPageComponent } from './platforms-info-page/platforms-info-page.component';
|
||||||
|
import { EmailBotCardComponent } from './email/email-bot-card/email-bot-card.component';
|
||||||
|
import { TelegramBotCardComponent } from './telegram/telegram-bot-card/telegram-bot-card.component';
|
||||||
|
import { TwitterBotCardComponent } from './twitter/twitter-bot-card/twitter-bot-card.component';
|
||||||
|
import { PlatformsInfoDialogComponent } from './platforms-info-page/platforms-info-dialog/platforms-info-dialog.component';
|
||||||
|
import { EmailBotInfoDialogComponent } from './email/email-bot-card/email-bot-info-dialog/email-bot-info-dialog.component';
|
||||||
|
import { TelegramBotInfoDialogComponent } from './telegram/telegram-bot-card/telegram-bot-info-dialog/telegram-bot-info-dialog.component';
|
||||||
|
import { TwitterBotInfoDialogComponent } from './twitter/twitter-bot-card/twitter-bot-info-dialog/twitter-bot-info-dialog.component';
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
declarations: [
|
declarations: [
|
||||||
|
@ -24,12 +32,21 @@ import { TwitterCorpsesPipe } from './twitter/twitter-corpses-pipe/twitter-corps
|
||||||
TwitterInfoDialogComponent,
|
TwitterInfoDialogComponent,
|
||||||
TwitterCallbackComponent,
|
TwitterCallbackComponent,
|
||||||
TwitterCorpsesPipe,
|
TwitterCorpsesPipe,
|
||||||
|
PlatformsInfoPageComponent,
|
||||||
|
EmailBotCardComponent,
|
||||||
|
TelegramBotCardComponent,
|
||||||
|
TwitterBotCardComponent,
|
||||||
|
PlatformsInfoDialogComponent,
|
||||||
|
EmailBotInfoDialogComponent,
|
||||||
|
TelegramBotInfoDialogComponent,
|
||||||
|
TwitterBotInfoDialogComponent,
|
||||||
],
|
],
|
||||||
imports: [CommonModule, SharedModule],
|
imports: [CommonModule, SharedModule],
|
||||||
exports: [
|
exports: [
|
||||||
TelegramSettingsComponent,
|
TelegramSettingsComponent,
|
||||||
TwitterSettingsComponent,
|
TwitterSettingsComponent,
|
||||||
EmailSettingsComponent,
|
EmailSettingsComponent,
|
||||||
|
PlatformsInfoPageComponent,
|
||||||
],
|
],
|
||||||
})
|
})
|
||||||
export class PlatformsModule {}
|
export class PlatformsModule {}
|
||||||
|
|
|
@ -16,3 +16,7 @@ body {
|
||||||
.info-button {
|
.info-button {
|
||||||
color: #9e9e9e;
|
color: #9e9e9e;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
a {
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue