diff --git a/src/app/app.component.html b/src/app/app.component.html index 98a8886..dadcd78 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,4 +1,5 @@
+ diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 369ad8f..b47c76b 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -1,4 +1,4 @@ -import { MatIconModule, MatToolbarModule } from '@angular/material'; +import { MatIconModule, MatMenuModule, MatToolbarModule } from '@angular/material'; import { BrowserModule } from '@angular/platform-browser'; import { BrowserAnimationsModule } from '@angular/platform-browser/animations'; import { NgModule } from '@angular/core'; @@ -10,6 +10,7 @@ import { CaseStudiesComponent } from './case-studies/case-studies.component'; import { ContactUsComponent } from './contact-us/contact-us.component'; import { FooterComponent } from './footer/footer.component'; import { HeaderComponent } from './header/header.component'; +import { MenuComponent } from './menu/menu.component'; import { ReviewsComponent } from './reviews/reviews.component'; @NgModule({ @@ -20,6 +21,7 @@ import { ReviewsComponent } from './reviews/reviews.component'; ContactUsComponent, FooterComponent, HeaderComponent, + MenuComponent, ReviewsComponent ], imports: [ @@ -27,6 +29,7 @@ import { ReviewsComponent } from './reviews/reviews.component'; BrowserAnimationsModule, FlexLayoutModule, MatIconModule, + MatMenuModule, MatToolbarModule ], providers: [], diff --git a/src/app/menu/menu.component.html b/src/app/menu/menu.component.html new file mode 100644 index 0000000..9b58a95 --- /dev/null +++ b/src/app/menu/menu.component.html @@ -0,0 +1,22 @@ + diff --git a/src/app/menu/menu.component.scss b/src/app/menu/menu.component.scss new file mode 100644 index 0000000..7866f0c --- /dev/null +++ b/src/app/menu/menu.component.scss @@ -0,0 +1,7 @@ + +.menu { + position: fixed; + top: 2%; + left: 2%; + z-index: 1; +} diff --git a/src/app/menu/menu.component.spec.ts b/src/app/menu/menu.component.spec.ts new file mode 100644 index 0000000..beb2d9b --- /dev/null +++ b/src/app/menu/menu.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { MenuComponent } from './menu.component'; + +describe('MenuComponent', () => { + let component: MenuComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [ MenuComponent ] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(MenuComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/menu/menu.component.ts b/src/app/menu/menu.component.ts new file mode 100644 index 0000000..325b554 --- /dev/null +++ b/src/app/menu/menu.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-menu', + templateUrl: './menu.component.html', + styleUrls: ['./menu.component.scss'] +}) +export class MenuComponent implements OnInit { + + constructor() {} + + ngOnInit() { + } + +}