diff --git a/src/app/app.component.html b/src/app/app.component.html index 09a2e25..20c39af 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,3 +1,5 @@ - \ No newline at end of file + + + diff --git a/src/app/app.module.ts b/src/app/app.module.ts index f10a9ee..d64a7fc 100644 --- a/src/app/app.module.ts +++ b/src/app/app.module.ts @@ -10,11 +10,13 @@ import { FontAwesomeModule } from '@fortawesome/angular-fontawesome'; import { AppServiceWorkerModule } from './app-service-worker.module'; import { ServiceWorkerModule } from '@angular/service-worker'; import { environment } from '../environments/environment'; +import {FooterComponent} from "./footer/footer.component"; @NgModule({ declarations: [ AppComponent, - HomeComponent + HomeComponent, + FooterComponent ], imports: [ BrowserModule, diff --git a/src/app/footer/footer.component.css b/src/app/footer/footer.component.css new file mode 100644 index 0000000..37e3577 --- /dev/null +++ b/src/app/footer/footer.component.css @@ -0,0 +1,18 @@ +.page-footer { + position: absolute; + bottom: 0; + width: 100%; +} + +.footer-btn { + color: #ffffff; + font-size: 18px; + border: 1px solid #ffffff; + border-radius: 50%; + margin: 0 5px; +} + +.footer-btn:hover { + color: #525252; + background-color: #ffffff; +} diff --git a/src/app/footer/footer.component.html b/src/app/footer/footer.component.html new file mode 100644 index 0000000..a1cb848 --- /dev/null +++ b/src/app/footer/footer.component.html @@ -0,0 +1,37 @@ + diff --git a/src/app/footer/footer.component.spec.ts b/src/app/footer/footer.component.spec.ts new file mode 100644 index 0000000..832b03a --- /dev/null +++ b/src/app/footer/footer.component.spec.ts @@ -0,0 +1,21 @@ +import { ComponentFixture, TestBed } from '@angular/core/testing'; + +import { FooterComponent } from './footer.component'; + +describe('FooterComponent', () => { + let component: FooterComponent; + let fixture: ComponentFixture; + + beforeEach(() => { + TestBed.configureTestingModule({ + declarations: [FooterComponent] + }); + 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 0000000..299f209 --- /dev/null +++ b/src/app/footer/footer.component.ts @@ -0,0 +1,16 @@ +import {Component} from '@angular/core'; +import {faGithub, faLinkedinIn, faTwitter} from "@fortawesome/free-brands-svg-icons"; + + +@Component({ + selector: 'app-footer', + templateUrl: './footer.component.html', + styleUrls: ['./footer.component.css'] +}) +export class FooterComponent { + _githubIcon = faGithub; + + _twitterIcon = faTwitter; + + _linkedinIcon = faLinkedinIn; +}