diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 98d7ad446..1137548d3 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -84,6 +84,7 @@ import localePl from '@angular/common/locales/pl'; import localeFi from '@angular/common/locales/fi'; import localeDa from '@angular/common/locales/da'; import localeSv from '@angular/common/locales/sv'; +import { BlankPageComponent } from './components/blank-page/blank-page.component'; registerLocaleData(localeFr); registerLocaleData(localeDe); @@ -147,7 +148,8 @@ registerLocaleData(localeSv); FavoritesComponent, RecentFilesComponent, SharedFilesComponent, - CreateFromTemplateDialogComponent + CreateFromTemplateDialogComponent, + BlankPageComponent ], providers: [ { provide: RouteReuseStrategy, useClass: AppRouteReuseStrategy }, diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index bce2102ee..9e1080264 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -36,8 +36,13 @@ import { AuthGuardEcm } from '@alfresco/adf-core'; import { FavoritesComponent } from './components/favorites/favorites.component'; import { RecentFilesComponent } from './components/recent-files/recent-files.component'; import { SharedFilesComponent } from './components/shared-files/shared-files.component'; +import { BlankPageComponent } from './components/blank-page/blank-page.component'; export const APP_ROUTES: Routes = [ + { + path: 'blank', + component: BlankPageComponent + }, { path: 'login', component: LoginComponent, diff --git a/src/app/components/blank-page/blank-page.component.ts b/src/app/components/blank-page/blank-page.component.ts new file mode 100644 index 000000000..de3159911 --- /dev/null +++ b/src/app/components/blank-page/blank-page.component.ts @@ -0,0 +1,32 @@ +/*! + * @license + * Alfresco Example Content Application + * + * Copyright (C) 2005 - 2020 Alfresco Software Limited + * + * This file is part of the Alfresco Example Content Application. + * If the software was purchased under a paid Alfresco license, the terms of + * the paid license agreement will prevail. Otherwise, the software is + * provided under the following open source license terms: + * + * The Alfresco Example Content Application is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * The Alfresco Example Content Application is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with Alfresco. If not, see . + */ + +import { Component } from '@angular/core'; + +@Component({ + selector: 'aca-blank-page', + template: `` +}) +export class BlankPageComponent {}