From 5ce48998c8c06ee3bef7cee23e3244fa23ad85b4 Mon Sep 17 00:00:00 2001 From: Michael Mattig Date: Thu, 28 Nov 2024 18:11:24 +0100 Subject: [PATCH] remove unused component --- .../src/app/legend/legend.component.html | 17 ----------------- .../src/app/legend/legend.component.scss | 14 -------------- .../src/app/legend/legend.component.ts | 17 ----------------- 3 files changed, 48 deletions(-) delete mode 100644 projects/dashboards/esg-indicator-service/src/app/legend/legend.component.html delete mode 100644 projects/dashboards/esg-indicator-service/src/app/legend/legend.component.scss delete mode 100644 projects/dashboards/esg-indicator-service/src/app/legend/legend.component.ts diff --git a/projects/dashboards/esg-indicator-service/src/app/legend/legend.component.html b/projects/dashboards/esg-indicator-service/src/app/legend/legend.component.html deleted file mode 100644 index 49eed4655..000000000 --- a/projects/dashboards/esg-indicator-service/src/app/legend/legend.component.html +++ /dev/null @@ -1,17 +0,0 @@ -
- @if (visible()) { -
- -

Legend

-
- @if (layer(); as layer) { - - } - } @else { - - } -
diff --git a/projects/dashboards/esg-indicator-service/src/app/legend/legend.component.scss b/projects/dashboards/esg-indicator-service/src/app/legend/legend.component.scss deleted file mode 100644 index 586f8f091..000000000 --- a/projects/dashboards/esg-indicator-service/src/app/legend/legend.component.scss +++ /dev/null @@ -1,14 +0,0 @@ -.legend-container { - padding: 0.5rem; - - h4 { - margin: 0; - font-weight: normal; - font-size: 1rem; - } -} - -.legend-header { - display: flex; - align-items: center; /* Align items vertically centered */ -} diff --git a/projects/dashboards/esg-indicator-service/src/app/legend/legend.component.ts b/projects/dashboards/esg-indicator-service/src/app/legend/legend.component.ts deleted file mode 100644 index 4b82b2e50..000000000 --- a/projects/dashboards/esg-indicator-service/src/app/legend/legend.component.ts +++ /dev/null @@ -1,17 +0,0 @@ -import {Component, ChangeDetectionStrategy, input, signal} from '@angular/core'; -import {RasterLayer} from '@geoengine/common'; -import {CoreModule, RasterLegendComponent} from '@geoengine/core'; - -@Component({ - selector: 'geoengine-legend', // eslint-disable-line @angular-eslint/component-selector - templateUrl: './legend.component.html', - styleUrls: ['./legend.component.scss'], - standalone: true, - changeDetection: ChangeDetectionStrategy.OnPush, - imports: [CoreModule, RasterLegendComponent], -}) -export class LegendComponent { - layer = input(); - - visible = signal(true); -}