diff --git a/src/app/core/data-services/environment.service.ts b/src/app/core/data-services/environment.service.ts index 161066caa..36ab5da02 100644 --- a/src/app/core/data-services/environment.service.ts +++ b/src/app/core/data-services/environment.service.ts @@ -44,6 +44,10 @@ export interface IConfiguration { image: { validator: string; assets: string; + banner: { + src: string; + url: string; + }[]; }; api: { backend: string; @@ -117,6 +121,10 @@ export class EnvironmentService { return _.get(this.configValue, 'image.assets'); } + get banner() { + return _.get(this.configValue, 'image.banner'); + } + get ipfsDomain() { return _.get(this.configValue, 'api.ipfsDomain'); } diff --git a/src/app/pages/dashboard/dashboard-chart-options.ts b/src/app/pages/dashboard/dashboard-chart-options.ts index 646f81cd0..501e34aaa 100644 --- a/src/app/pages/dashboard/dashboard-chart-options.ts +++ b/src/app/pages/dashboard/dashboard-chart-options.ts @@ -46,48 +46,6 @@ export const DASHBOARD_AREA_SERIES_CHART_OPTIONS: SeriesPartialOptionsMap['Area' }, }; -export const STATISTIC_CHART_DETAIL_OPTIONS: DeepPartial = { - height: 300, - crosshair: { - horzLine: { - visible: false, - }, - }, - layout: { - backgroundColor: '#24262e', - textColor: '#868a97', - }, - grid: { - vertLines: { - color: '#363843', - }, - horzLines: { - color: '#363843', - }, - }, - leftPriceScale: { - visible: true, - }, - rightPriceScale: { - visible: false, - }, - timeScale: { - timeVisible: true, - secondsVisible: true, - minBarSpacing: 0, - }, -}; - -export const STATISTIC_AREA_SERIES_CHART_OPTIONS: SeriesPartialOptionsMap['Area'] = { - lineColor: '#2CB1F5', - topColor: 'rgba(44, 177, 245, 0.2)', - bottomColor: 'rgba(44, 177, 245, 0.08)', - priceFormat: { - precision: 0, - minMove: 1, - }, -}; - export const CHART_CONFIG: { [key: string]: { initRange: number; diff --git a/src/app/pages/dashboard/dashboard.component.html b/src/app/pages/dashboard/dashboard.component.html index f44bad702..20026f0c0 100644 --- a/src/app/pages/dashboard/dashboard.component.html +++ b/src/app/pages/dashboard/dashboard.component.html @@ -2,13 +2,10 @@