diff --git a/projects/project-3/frontend/src/app/app.component.html b/projects/project-3/frontend/src/app/app.component.html index 21f8668..0e0f37f 100644 --- a/projects/project-3/frontend/src/app/app.component.html +++ b/projects/project-3/frontend/src/app/app.component.html @@ -1,2 +1,3 @@ + diff --git a/projects/project-3/frontend/src/app/app.module.ts b/projects/project-3/frontend/src/app/app.module.ts index ea21c0c..399c889 100644 --- a/projects/project-3/frontend/src/app/app.module.ts +++ b/projects/project-3/frontend/src/app/app.module.ts @@ -37,6 +37,7 @@ import { MiniMapComponent } from './dashboard/mini-map/mini-map.component'; import { ToolbarComponent } from './toolbar/toolbar.component'; import { MapInteractionComponent } from './toolbar/map-interaction/map-interaction.component'; import { DashboardInteractionComponent } from './toolbar/dashboard-interaction/dashboard-interaction.component'; +import { FooterComponent } from './footer/footer.component'; @NgModule({ declarations: [ @@ -52,7 +53,8 @@ import { DashboardInteractionComponent } from './toolbar/dashboard-interaction/d MiniMapComponent, ToolbarComponent, MapInteractionComponent, - DashboardInteractionComponent + DashboardInteractionComponent, + FooterComponent ], imports: [ BrowserModule, diff --git a/projects/project-3/frontend/src/app/footer/footer.component.html b/projects/project-3/frontend/src/app/footer/footer.component.html new file mode 100644 index 0000000..6f2fd34 --- /dev/null +++ b/projects/project-3/frontend/src/app/footer/footer.component.html @@ -0,0 +1,5 @@ + diff --git a/projects/project-3/frontend/src/app/footer/footer.component.scss b/projects/project-3/frontend/src/app/footer/footer.component.scss new file mode 100644 index 0000000..daf39fc --- /dev/null +++ b/projects/project-3/frontend/src/app/footer/footer.component.scss @@ -0,0 +1,8 @@ +.footer { + height: 2vh; + background: #2f2f2f; + + .copyright { + color: white; + } +} diff --git a/projects/project-3/frontend/src/app/footer/footer.component.spec.ts b/projects/project-3/frontend/src/app/footer/footer.component.spec.ts new file mode 100644 index 0000000..a3c4af9 --- /dev/null +++ b/projects/project-3/frontend/src/app/footer/footer.component.spec.ts @@ -0,0 +1,25 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { FooterComponent } from './footer.component'; + +describe('FooterComponent', () => { + let component: FooterComponent; + let fixture: ComponentFixture; + + beforeEach(async () => { + await TestBed.configureTestingModule({ + declarations: [ FooterComponent ] + }) + .compileComponents(); + }); + + beforeEach(() => { + fixture = TestBed.createComponent(FooterComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/projects/project-3/frontend/src/app/footer/footer.component.ts b/projects/project-3/frontend/src/app/footer/footer.component.ts new file mode 100644 index 0000000..c7a7ec5 --- /dev/null +++ b/projects/project-3/frontend/src/app/footer/footer.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-footer', + templateUrl: './footer.component.html', + styleUrls: ['./footer.component.scss'] +}) +export class FooterComponent implements OnInit { + + constructor() { } + + ngOnInit(): void { + } + +} diff --git a/projects/project-3/frontend/src/app/map/map.component.scss b/projects/project-3/frontend/src/app/map/map.component.scss index 7d7830e..26d8497 100644 --- a/projects/project-3/frontend/src/app/map/map.component.scss +++ b/projects/project-3/frontend/src/app/map/map.component.scss @@ -1,3 +1,3 @@ #map { - height: 95vh; + height: 93vh; }