From 75797f36a6684e5e08d25250c80c0f5cf3dbc32a Mon Sep 17 00:00:00 2001 From: mpuebla Date: Mon, 5 Aug 2019 15:17:35 -0300 Subject: [PATCH] Creado page home. --- src/app/home/home.component.html | 38 +++++++++++++++++++++++++++++++++++++ src/app/home/home.component.scss | 6 ++++++ src/app/home/home.component.spec.ts | 25 ++++++++++++++++++++++++ src/app/home/home.component.ts | 15 +++++++++++++++ 4 files changed, 84 insertions(+) create mode 100644 src/app/home/home.component.html create mode 100644 src/app/home/home.component.scss create mode 100644 src/app/home/home.component.spec.ts create mode 100644 src/app/home/home.component.ts diff --git a/src/app/home/home.component.html b/src/app/home/home.component.html new file mode 100644 index 0000000..2e92326 --- /dev/null +++ b/src/app/home/home.component.html @@ -0,0 +1,38 @@ + +
+

HEADER

+
+ +
+
+
+
+ + +
+
+
+

¡BIENVENIDO!

+

Toque la pantalla
para comenzar.

+
+
+
+
+ + +
+

FOOTER

+
\ No newline at end of file diff --git a/src/app/home/home.component.scss b/src/app/home/home.component.scss new file mode 100644 index 0000000..b37b077 --- /dev/null +++ b/src/app/home/home.component.scss @@ -0,0 +1,6 @@ +.background-image { + background-image: url(http://www.nortecorrientes.com/content/bucket/7/304027w980.jpg); + position: absolute; + width: 100%; + height: 100%; +} diff --git a/src/app/home/home.component.spec.ts b/src/app/home/home.component.spec.ts new file mode 100644 index 0000000..bdc59df --- /dev/null +++ b/src/app/home/home.component.spec.ts @@ -0,0 +1,25 @@ +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; + +import { HomeComponent } from './home.component'; + +describe('HomeComponent', () => { + let component: HomeComponent; + let fixture: ComponentFixture; + + beforeEach(async(() => { + TestBed.configureTestingModule({ + declarations: [HomeComponent] + }) + .compileComponents(); + })); + + beforeEach(() => { + fixture = TestBed.createComponent(HomeComponent); + component = fixture.componentInstance; + fixture.detectChanges(); + }); + + it('should create', () => { + expect(component).toBeTruthy(); + }); +}); diff --git a/src/app/home/home.component.ts b/src/app/home/home.component.ts new file mode 100644 index 0000000..f56c8c1 --- /dev/null +++ b/src/app/home/home.component.ts @@ -0,0 +1,15 @@ +import { Component, OnInit } from '@angular/core'; + +@Component({ + selector: 'app-home', + templateUrl: './home.component.html', + styleUrls: ['./home.component.scss'] +}) +export class HomeComponent implements OnInit { + + constructor() { } + + ngOnInit() { + } + +} -- 1.9.1