diff --git a/authority-portal-frontend/src/app/app-routing.module.ts b/authority-portal-frontend/src/app/app-routing.module.ts index e7933afc..8047ed63 100644 --- a/authority-portal-frontend/src/app/app-routing.module.ts +++ b/authority-portal-frontend/src/app/app-routing.module.ts @@ -31,7 +31,6 @@ import {DashboardPageComponent} from './pages/dashboard-page/dashboard-page/dash import {LoadingPageComponent} from './pages/empty-pages/loading-page/loading-page/loading-page.component'; import {PageNotFoundPageComponent} from './pages/empty-pages/page-not-found-page/page-not-found-page/page-not-found-page.component'; import {UnauthenticatedPageComponent} from './pages/empty-pages/unauthenticated-page/unauthenticated-page/unauthenticated-page.component'; -import {HomePageComponent} from './pages/home/home/home.component'; import {ParticipantOwnConnectorDetailPageComponent} from './pages/participant-own-connector-detail-page/participant-own-connector-detail-page/participant-own-connector-detail-page.component'; import {ParticipantOwnConnectorListPageComponent} from './pages/participant-own-connector-list-page/participant-own-connector-list-page/participant-own-connector-list-page.component'; import {OrganizationCreatePageComponent} from './pages/registration-pages/organization-create-page/organization-create-page/organization-create-page.component'; diff --git a/authority-portal-frontend/src/app/app.module.ts b/authority-portal-frontend/src/app/app.module.ts index 68591f74..5c055dd7 100644 --- a/authority-portal-frontend/src/app/app.module.ts +++ b/authority-portal-frontend/src/app/app.module.ts @@ -50,7 +50,6 @@ import {DashboardPageModule} from './pages/dashboard-page/dashboard.module'; import {LoadingPageModule} from './pages/empty-pages/loading-page/loading-page.module'; import {PageNotFoundPageModule} from './pages/empty-pages/page-not-found-page/page-not-found-page.module'; import {UnauthenticatedPageModule} from './pages/empty-pages/unauthenticated-page/unauthenticated-page.module'; -import {MdsHomePageModule} from './pages/home/home.module'; import {ParticipantOwnConnectorDetailPageModule} from './pages/participant-own-connector-detail-page/participant-own-connector-detail-page.module'; import {ParticipantOwnConnectorListPageModule} from './pages/participant-own-connector-list-page/participant-own-connector-list-page.module'; import {OrganizationCreatePageModule} from './pages/registration-pages/organization-create-page/organization-create-page.module'; @@ -107,7 +106,6 @@ import {SharedModule} from './shared/shared.module'; ControlCenterUserProfilePageModule, DashboardPageModule, LoadingPageModule, - MdsHomePageModule, OrganizationCreatePageModule, OrganizationOnboardPageModule, OrganizationPendingPageModule, diff --git a/authority-portal-frontend/src/app/pages/home/home.module.ts b/authority-portal-frontend/src/app/pages/home/home.module.ts deleted file mode 100644 index 98573ad2..00000000 --- a/authority-portal-frontend/src/app/pages/home/home.module.ts +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (c) 2024 sovity GmbH - * - * This program and the accompanying materials are made available under the - * terms of the Apache License, Version 2.0 which is available at - * https://www.apache.org/licenses/LICENSE-2.0 - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * sovity GmbH - initial implementation - */ -import {CommonModule} from '@angular/common'; -import {NgModule} from '@angular/core'; -import {SharedModule} from 'src/app/shared/shared.module'; -import {HomePageComponent} from './home/home.component'; - -@NgModule({ - imports: [ - // Angular - CommonModule, - - // Authority Portal - SharedModule, - ], - declarations: [HomePageComponent], - exports: [HomePageComponent], -}) -export class MdsHomePageModule {} diff --git a/authority-portal-frontend/src/app/pages/home/home/home.component.html b/authority-portal-frontend/src/app/pages/home/home/home.component.html deleted file mode 100644 index e0bb0074..00000000 --- a/authority-portal-frontend/src/app/pages/home/home/home.component.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - -
-

Placeholder

-
diff --git a/authority-portal-frontend/src/app/pages/home/home/home.component.ts b/authority-portal-frontend/src/app/pages/home/home/home.component.ts deleted file mode 100644 index 83fc254d..00000000 --- a/authority-portal-frontend/src/app/pages/home/home/home.component.ts +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright (c) 2024 sovity GmbH - * - * This program and the accompanying materials are made available under the - * terms of the Apache License, Version 2.0 which is available at - * https://www.apache.org/licenses/LICENSE-2.0 - * - * SPDX-License-Identifier: Apache-2.0 - * - * Contributors: - * sovity GmbH - initial implementation - */ -import {Component, HostBinding, Inject} from '@angular/core'; -import {DomSanitizer, SafeResourceUrl, Title} from '@angular/platform-browser'; -import {APP_CONFIG, AppConfig} from 'src/app/core/services/config/app-config'; - -@Component({ - selector: 'app-mds-home', - templateUrl: './home.component.html', -}) -export class HomePageComponent { - @HostBinding('class.flex-1') - @HostBinding('class.flex') - @HostBinding('class.items-stretch') - cls = true; - - loaded = false; - - iframeUrl: SafeResourceUrl | null = null; - - constructor( - @Inject(APP_CONFIG) public appConfig: AppConfig, - private sanitizer: DomSanitizer, - private titleService: Title, - ) { - this.titleService.setTitle('Home'); - if (this.appConfig.iframeUrl) { - this.iframeUrl = this.sanitizer.bypassSecurityTrustResourceUrl( - this.appConfig.iframeUrl, - ); - } - } -}