-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathdefault.component.ts
More file actions
79 lines (76 loc) · 2.07 KB
/
Copy pathdefault.component.ts
File metadata and controls
79 lines (76 loc) · 2.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
// Angular Import
import { Component } from '@angular/core';
// project import
import { SharedModule } from 'src/app/theme/shared/shared.module';
import { BajajChartComponent } from 'src/app/theme/shared/components/apexchart/bajaj-chart/bajaj-chart.component';
import { BarChartComponent } from 'src/app/theme/shared/components/apexchart/bar-chart/bar-chart.component';
import { ChartDataMonthComponent } from 'src/app/theme/shared/components/apexchart/chart-data-month/chart-data-month.component';
@Component({
selector: 'app-default',
imports: [BajajChartComponent, BarChartComponent, ChartDataMonthComponent, SharedModule],
templateUrl: './default.component.html',
styleUrls: ['./default.component.scss']
})
export class DefaultComponent {
// public method
ListGroup = [
{
name: 'Bajaj Finery',
profit: '10% Profit',
invest: '$1839.00',
bgColor: 'bg-light-success',
icon: 'ti ti-chevron-up',
color: 'text-success'
},
{
name: 'TTML',
profit: '10% Loss',
invest: '$100.00',
bgColor: 'bg-light-danger',
icon: 'ti ti-chevron-down',
color: 'text-danger'
},
{
name: 'Reliance',
profit: '10% Profit',
invest: '$200.00',
bgColor: 'bg-light-success',
icon: 'ti ti-chevron-up',
color: 'text-success'
},
{
name: 'ATGL',
profit: '10% Loss',
invest: '$189.00',
bgColor: 'bg-light-danger',
icon: 'ti ti-chevron-down',
color: 'text-danger'
},
{
name: 'Stolon',
profit: '10% Profit',
invest: '$210.00',
bgColor: 'bg-light-success',
icon: 'ti ti-chevron-up',
color: 'text-success',
space: 'pb-0'
}
];
profileCard = [
{
style: 'bg-primary-dark text-white',
background: 'bg-primary',
value: '$203k',
text: 'Net Profit',
color: 'text-white',
value_color: 'text-white'
},
{
background: 'bg-warning',
avatar_background: 'bg-light-warning',
value: '$550K',
text: 'Total Revenue',
color: 'text-warning'
}
];
}