moved inside the new skill card component
parent
6e05ecaa3b
commit
b5955e2c99
|
@ -1,15 +0,0 @@
|
|||
<div fxLayout="row" fxLayoutAlign="space-between center">
|
||||
<div class="mycroft-icon">
|
||||
<img src="../../../../assets/mycroft-logo.svg" *ngIf="isMycroftMade" matTooltip="Mycroft Made">
|
||||
</div>
|
||||
<div class="skill-icon">
|
||||
<fa
|
||||
*ngIf="!skill.iconImage"
|
||||
[ngStyle]="{'color': skill.icon.color}"
|
||||
name={{skill.icon.icon}} size="2x"
|
||||
>
|
||||
</fa>
|
||||
<img *ngIf="skill.iconImage" src={{skill.iconImage}} height="30" width="30">
|
||||
</div>
|
||||
<fa-icon *ngIf="isInstalled" class="installed-icon" [icon]="installedIcon"></fa-icon>
|
||||
</div>
|
|
@ -1,18 +0,0 @@
|
|||
@import '../../../../stylesheets/global.scss';
|
||||
|
||||
mat-card-header {
|
||||
justify-content: center;
|
||||
margin-bottom: 15px;
|
||||
.mycroft-icon {
|
||||
left: 18px;
|
||||
top: 18px;
|
||||
img {
|
||||
height: 20px;
|
||||
width: 20px;
|
||||
}
|
||||
}
|
||||
fa-icon {
|
||||
color: $mycroft-tertiary-green;
|
||||
font-size: 20px;
|
||||
}
|
||||
}
|
|
@ -1,25 +0,0 @@
|
|||
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
|
||||
|
||||
import { SkillCardHeaderComponent } from './skill-card-header.component';
|
||||
|
||||
describe('SkillCardHeaderComponent', () => {
|
||||
let component: SkillCardHeaderComponent;
|
||||
let fixture: ComponentFixture<SkillCardHeaderComponent>;
|
||||
|
||||
beforeEach(async(() => {
|
||||
TestBed.configureTestingModule({
|
||||
declarations: [ SkillCardHeaderComponent ]
|
||||
})
|
||||
.compileComponents();
|
||||
}));
|
||||
|
||||
beforeEach(() => {
|
||||
fixture = TestBed.createComponent(SkillCardHeaderComponent);
|
||||
component = fixture.componentInstance;
|
||||
fixture.detectChanges();
|
||||
});
|
||||
|
||||
it('should create', () => {
|
||||
expect(component).toBeTruthy();
|
||||
});
|
||||
});
|
Loading…
Reference in New Issue