Skip to content

Commit c08c4e1

Browse files
committed
first components structure: done
1 parent fe7b696 commit c08c4e1

14 files changed

+104
-28
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<p>bootstrap-navbar works!</p>
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2+
3+
import { BootstrapNavbarComponent } from './bootstrap-navbar.component';
4+
5+
describe('BootstrapNavbarComponent', () => {
6+
let component: BootstrapNavbarComponent;
7+
let fixture: ComponentFixture<BootstrapNavbarComponent>;
8+
9+
beforeEach(async(() => {
10+
TestBed.configureTestingModule({
11+
declarations: [ BootstrapNavbarComponent ]
12+
})
13+
.compileComponents();
14+
}));
15+
16+
beforeEach(() => {
17+
fixture = TestBed.createComponent(BootstrapNavbarComponent);
18+
component = fixture.componentInstance;
19+
fixture.detectChanges();
20+
});
21+
22+
it('should create', () => {
23+
expect(component).toBeTruthy();
24+
});
25+
});
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-bootstrap-navbar',
5+
templateUrl: './bootstrap-navbar.component.html',
6+
styleUrls: ['./bootstrap-navbar.component.scss']
7+
})
8+
export class BootstrapNavbarComponent implements OnInit {
9+
10+
constructor() { }
11+
12+
ngOnInit(): void {
13+
}
14+
15+
}

section_19-project/project/src/app/components/home/home.component.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

section_19-project/project/src/app/components/home/home.component.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<p>products-index works!</p>

section_19-project/project/src/app/components/products/products-index/products-index.component.scss

Whitespace-only changes.
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
2+
3+
import { ProductsIndexComponent } from './products-index.component';
4+
5+
describe('ProductsIndexComponent', () => {
6+
let component: ProductsIndexComponent;
7+
let fixture: ComponentFixture<ProductsIndexComponent>;
8+
9+
beforeEach(async(() => {
10+
TestBed.configureTestingModule({
11+
declarations: [ ProductsIndexComponent ]
12+
})
13+
.compileComponents();
14+
}));
15+
16+
beforeEach(() => {
17+
fixture = TestBed.createComponent(ProductsIndexComponent);
18+
component = fixture.componentInstance;
19+
fixture.detectChanges();
20+
});
21+
22+
it('should create', () => {
23+
expect(component).toBeTruthy();
24+
});
25+
});
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-products-index',
5+
templateUrl: './products-index.component.html',
6+
styleUrls: ['./products-index.component.scss']
7+
})
8+
export class ProductsIndexComponent implements OnInit {
9+
10+
constructor() { }
11+
12+
ngOnInit(): void {
13+
}
14+
15+
}

0 commit comments

Comments
 (0)