Skip to content

Commit c8389e6

Browse files
committed
building section and card components created init
1 parent c39725a commit c8389e6

10 files changed

+100
-2
lines changed

leasesoft-ui/src/app/app.module.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,12 @@ import { AboutPageComponent } from './pages/aboutpage/aboutpage.component';
1111
import { EmloyeesTabComponent } from './emloyees-tab/emloyees-tab.component';
1212
import { EmployeeCardComponent } from './employee-card/employee-card.component';
1313
import { FooterComponent } from './footer/footer.component';
14+
import { BuildingsSectionComponent } from './buildings-section/buildings-section.component';
15+
import { BuildingCardComponent } from './building-card/building-card.component';
1416

1517

1618
@NgModule({
17-
declarations: [
19+
declarations: [
1820
AppComponent,
1921
ClientCardComponent,
2022
HeaderComponent,
@@ -23,7 +25,9 @@ import { FooterComponent } from './footer/footer.component';
2325
AboutPageComponent,
2426
EmloyeesTabComponent,
2527
EmployeeCardComponent,
26-
FooterComponent
28+
FooterComponent,
29+
BuildingsSectionComponent,
30+
BuildingCardComponent
2731
],
2832
imports: [
2933
BrowserModule,
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
<p>
2+
building-card works!
3+
</p>

leasesoft-ui/src/app/building-card/building-card.component.scss

Whitespace-only changes.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/* tslint:disable:no-unused-variable */
2+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3+
import { By } from '@angular/platform-browser';
4+
import { DebugElement } from '@angular/core';
5+
6+
import { BuildingCardComponent } from './building-card.component';
7+
8+
describe('BuildingCardComponent', () => {
9+
let component: BuildingCardComponent;
10+
let fixture: ComponentFixture<BuildingCardComponent>;
11+
12+
beforeEach(async(() => {
13+
TestBed.configureTestingModule({
14+
declarations: [ BuildingCardComponent ]
15+
})
16+
.compileComponents();
17+
}));
18+
19+
beforeEach(() => {
20+
fixture = TestBed.createComponent(BuildingCardComponent);
21+
component = fixture.componentInstance;
22+
fixture.detectChanges();
23+
});
24+
25+
it('should create', () => {
26+
expect(component).toBeTruthy();
27+
});
28+
});
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { Component, OnInit } from '@angular/core';
2+
3+
@Component({
4+
selector: 'app-building-card',
5+
templateUrl: './building-card.component.html',
6+
styleUrls: ['./building-card.component.scss']
7+
})
8+
export class BuildingCardComponent implements OnInit {
9+
10+
constructor() { }
11+
12+
ngOnInit() {
13+
}
14+
15+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<p>
2+
buildings-section works!
3+
</p>
4+
<app-building-card></app-building-card>

leasesoft-ui/src/app/buildings-section/buildings-section.component.scss

Whitespace-only changes.
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
/* tslint:disable:no-unused-variable */
2+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
3+
import { By } from '@angular/platform-browser';
4+
import { DebugElement } from '@angular/core';
5+
6+
import { BuildingsSectionComponent } from './buildings-section.component';
7+
8+
describe('BuildingsSectionComponent', () => {
9+
let component: BuildingsSectionComponent;
10+
let fixture: ComponentFixture<BuildingsSectionComponent>;
11+
12+
beforeEach(async(() => {
13+
TestBed.configureTestingModule({
14+
declarations: [ BuildingsSectionComponent ]
15+
})
16+
.compileComponents();
17+
}));
18+
19+
beforeEach(() => {
20+
fixture = TestBed.createComponent(BuildingsSectionComponent);
21+
component = fixture.componentInstance;
22+
fixture.detectChanges();
23+
});
24+
25+
it('should create', () => {
26+
expect(component).toBeTruthy();
27+
});
28+
});
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
import { Component, OnInit } from '@angular/core';
2+
3+
@Component({
4+
selector: 'app-buildings-section',
5+
templateUrl: './buildings-section.component.html',
6+
styleUrls: ['./buildings-section.component.scss']
7+
})
8+
export class BuildingsSectionComponent implements OnInit {
9+
10+
constructor() { }
11+
12+
ngOnInit() {
13+
}
14+
15+
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<p>
22
homepage works!
33
</p>
4+
<app-buildings-section></app-buildings-section>

0 commit comments

Comments
 (0)