diff --git a/src/app/app.component.html b/src/app/app.component.html index 215f8a3..435cdfd 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,2 +1,2 @@ -

Hello!

+ diff --git a/src/app/app.module.ts b/src/app/app.module.ts index b1c6c96..72e8782 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -3,10 +3,12 @@ import { BrowserModule } from '@angular/platform-browser'; import { AppRoutingModule } from './app-routing.module'; import { AppComponent } from './app.component'; +import { NavBarComponent } from './components/nav-bar/nav-bar.component'; @NgModule({ declarations: [ - AppComponent + AppComponent, + NavBarComponent ], imports: [ BrowserModule, diff --git a/src/app/components/nav-bar/nav-bar.component.html b/src/app/components/nav-bar/nav-bar.component.html new file mode 100644 index 0000000..0eed8fc --- /dev/null +++ b/src/app/components/nav-bar/nav-bar.component.html @@ -0,0 +1,22 @@ + diff --git a/src/app/components/nav-bar/nav-bar.component.scss b/src/app/components/nav-bar/nav-bar.component.scss new file mode 100644 index 0000000..e69de29 diff --git a/src/app/components/nav-bar/nav-bar.component.spec.ts b/src/app/components/nav-bar/nav-bar.component.spec.ts new file mode 100644 index 0000000..94e5b30 --- /dev/null +++ b/src/app/components/nav-bar/nav-bar.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { NavBarComponent } from './nav-bar.component'; + +describe('NavBarComponent', () => { + let component: NavBarComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ NavBarComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(NavBarComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/components/nav-bar/nav-bar.component.ts b/src/app/components/nav-bar/nav-bar.component.ts new file mode 100644 index 0000000..6082d5b --- /dev/null +++ b/src/app/components/nav-bar/nav-bar.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-nav-bar', + templateUrl: './nav-bar.component.html', + styleUrls: ['./nav-bar.component.scss'] +}) +export class NavBarComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +}