Commit 0745876df884d9973b80ec0be8f3b5c1a0911589

Authored by Marcelo Puebla
1 parent d8253ac84c
Exists in master

Creado componente footer

src/app/footer/footer.component.html
... ... @@ -0,0 +1,7 @@
  1 +<div class="row footer">
  2 + <div class="col p-0">
  3 + <div class="bg-dark py-1 py-sm-2 py-lg-5">
  4 + <p class="text-center text-white-50">Soy el footer</p>
  5 + </div>
  6 + </div>
  7 +</div>
0 8 \ No newline at end of file
src/app/footer/footer.component.scss
src/app/footer/footer.component.spec.ts
... ... @@ -0,0 +1,25 @@
  1 +import { async, ComponentFixture, TestBed } from '@angular/core/testing';
  2 +
  3 +import { FooterComponent } from './footer.component';
  4 +
  5 +describe('FooterComponent', () => {
  6 + let component: FooterComponent;
  7 + let fixture: ComponentFixture<FooterComponent>;
  8 +
  9 + beforeEach(async(() => {
  10 + TestBed.configureTestingModule({
  11 + declarations: [FooterComponent]
  12 + })
  13 + .compileComponents();
  14 + }));
  15 +
  16 + beforeEach(() => {
  17 + fixture = TestBed.createComponent(FooterComponent);
  18 + component = fixture.componentInstance;
  19 + fixture.detectChanges();
  20 + });
  21 +
  22 + it('should create', () => {
  23 + expect(component).toBeTruthy();
  24 + });
  25 +});
src/app/footer/footer.component.ts
... ... @@ -0,0 +1,15 @@
  1 +import { Component, OnInit } from '@angular/core';
  2 +
  3 +@Component({
  4 + selector: 'app-footer',
  5 + templateUrl: './footer.component.html',
  6 + styleUrls: ['./footer.component.scss']
  7 +})
  8 +export class FooterComponent implements OnInit {
  9 +
  10 + constructor() { }
  11 +
  12 + ngOnInit() {
  13 + }
  14 +
  15 +}