moved inside the new skill card component

pull/9/head
Chris Veilleux 2018-10-22 21:51:17 -05:00
parent 6e05ecaa3b
commit b5955e2c99
3 changed files with 0 additions and 58 deletions

View File

@ -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>

View File

@ -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;
}
}

View File

@ -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();
});
});