diff --git a/web-ui/src/app/app.component.html b/web-ui/src/app/app.component.html index 730dd40..8cfce7e 100644 --- a/web-ui/src/app/app.component.html +++ b/web-ui/src/app/app.component.html @@ -1,3 +1,4 @@ + diff --git a/web-ui/src/app/app.module.ts b/web-ui/src/app/app.module.ts index 6b9c7ac..d9d86ca 100644 --- a/web-ui/src/app/app.module.ts +++ b/web-ui/src/app/app.module.ts @@ -17,12 +17,14 @@ import { LanguageService } from './services/language.service'; import { AppComponent } from './app.component'; import { HomeComponent } from './components/home/home.component'; import { FooterComponent } from './components/footer/footer.component'; +import { NavbarComponent } from './components/navbar/navbar.component'; @NgModule({ declarations: [ AppComponent, HomeComponent, - FooterComponent + FooterComponent, + NavbarComponent ], imports: [ AppRoutingModule, diff --git a/web-ui/src/app/components/navbar/navbar.component.css b/web-ui/src/app/components/navbar/navbar.component.css new file mode 100644 index 0000000..e69de29 diff --git a/web-ui/src/app/components/navbar/navbar.component.html b/web-ui/src/app/components/navbar/navbar.component.html new file mode 100644 index 0000000..387751c --- /dev/null +++ b/web-ui/src/app/components/navbar/navbar.component.html @@ -0,0 +1,3 @@ +

+ navbar works! +

diff --git a/web-ui/src/app/components/navbar/navbar.component.spec.ts b/web-ui/src/app/components/navbar/navbar.component.spec.ts new file mode 100644 index 0000000..9032ad2 --- /dev/null +++ b/web-ui/src/app/components/navbar/navbar.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { NavbarComponent } from './navbar.component'; + +describe('NavbarComponent', () => { + let component: NavbarComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ NavbarComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(NavbarComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/web-ui/src/app/components/navbar/navbar.component.ts b/web-ui/src/app/components/navbar/navbar.component.ts new file mode 100644 index 0000000..8e29f4e --- /dev/null +++ b/web-ui/src/app/components/navbar/navbar.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-navbar', + templateUrl: './navbar.component.html', + styleUrls: ['./navbar.component.css'] +}) +export class NavbarComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +}