- @if (type() === CardType.TEACHER) {
-
![]()
- }
- @if (type() === CardType.STUDENT) {
-
![]()
- }
-
+ [ngStyle]="customBgColor()"
+ [style.background-color]="">
+
- @for (item of list(); track item) {
-
+ @for (item of list(); track item.id) {
+
}
-
-
+
`,
- imports: [ListItemComponent, NgOptimizedImage],
+ imports: [NgTemplateOutlet, NgStyle],
})
export class CardComponent {
- private teacherStore = inject(TeacherStore);
- private studentStore = inject(StudentStore);
-
readonly list = input