From f8d479fae0b4b840ca666e14880451a28dfdee56 Mon Sep 17 00:00:00 2001 From: Alina Nazmeeva Date: Tue, 2 Feb 2021 16:55:24 +0200 Subject: [PATCH 1/3] footer created --- src/app/app.component.html | 3 ++- src/app/app.module.ts | 2 ++ src/app/footer/footer.component.html | 15 +++++++++++++++ src/app/footer/footer.component.scss | 0 src/app/footer/footer.component.spec.ts | 25 +++++++++++++++++++++++++ src/app/footer/footer.component.ts | 15 +++++++++++++++ 6 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 src/app/footer/footer.component.html create mode 100644 src/app/footer/footer.component.scss create mode 100644 src/app/footer/footer.component.spec.ts create mode 100644 src/app/footer/footer.component.ts diff --git a/src/app/app.component.html b/src/app/app.component.html index 6c2e8ee1e..7ad1a636d 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,2 +1,3 @@ - \ No newline at end of file + + \ No newline at end of file diff --git a/src/app/app.module.ts b/src/app/app.module.ts index 164bef6cb..c9f1c4198 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -16,12 +16,14 @@ import { environment } from 'src/environments/environment'; import { ShellComponent } from './shell/shell.component'; import { ReactiveFormsModule } from '@angular/forms'; import { MetaDataState } from './shared/store/meta-data.state'; +import { FooterComponent } from './footer/footer.component'; @NgModule({ declarations: [ HeaderComponent, AppComponent, ShellComponent, + FooterComponent, ], imports: [ BrowserModule, diff --git a/src/app/footer/footer.component.html b/src/app/footer/footer.component.html new file mode 100644 index 000000000..eab6ead2e --- /dev/null +++ b/src/app/footer/footer.component.html @@ -0,0 +1,15 @@ + diff --git a/src/app/footer/footer.component.scss b/src/app/footer/footer.component.scss new file mode 100644 index 000000000..e69de29bb diff --git a/src/app/footer/footer.component.spec.ts b/src/app/footer/footer.component.spec.ts new file mode 100644 index 000000000..a3c4af95b --- /dev/null +++ b/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/src/app/footer/footer.component.ts b/src/app/footer/footer.component.ts new file mode 100644 index 000000000..c7a7ec508 --- /dev/null +++ b/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 { + } + +} From 19cc6c279879024110a42782101ffbd1d6bec275 Mon Sep 17 00:00:00 2001 From: Alina Nazmeeva Date: Tue, 2 Feb 2021 17:29:18 +0200 Subject: [PATCH 2/3] spaces fixed --- src/app/footer/footer.component.html | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/app/footer/footer.component.html b/src/app/footer/footer.component.html index eab6ead2e..01701f764 100644 --- a/src/app/footer/footer.component.html +++ b/src/app/footer/footer.component.html @@ -1,15 +1,15 @@