Commit 0c435d546a01aef00844894914df03524805dc49

Authored by Marcelo Puebla
1 parent 0745876df8
Exists in master and in 1 other branch validar_pve

Creado componente header.

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