Commit 9aaa91ba49c1d6f3819c10847417ed3335aaa365
1 parent
fa6e2c0215
Exists in
develop
Cambio nombre de modulo
Showing
8 changed files
with
3 additions
and
98 deletions
 
Show diff stats
src/app/app-routing.module.ts
| ... | ... | @@ -10,8 +10,8 @@ const routes: Routes = [ | 
| 10 | 10 | component: AdminComponent, | 
| 11 | 11 | children: [ | 
| 12 | 12 | { | 
| 13 | - path: 'formas-pago', | |
| 14 | - loadChildren: () => import('./modules/formas-pago/formas-pago.module').then(m => m.FormasPagoModule) | |
| 13 | + path: 'info-formas-pago', | |
| 14 | + loadChildren: () => import('./modules/info-formas-pago/info-formas-pago.module').then(m => m.InfoFormasPagoModule) | |
| 15 | 15 | }, | 
| 16 | 16 | { | 
| 17 | 17 | path: 'opcion-pedido', | 
src/app/modules/formas-pago/formas-pago-routing.module.ts
| ... | ... | @@ -1,11 +0,0 @@ | 
| 1 | -import { NgModule } from "@angular/core"; | |
| 2 | -import { Routes, RouterModule } from "@angular/router"; | |
| 3 | -import { FormasPagoComponent } from "./formas-pago.component"; | |
| 4 | - | |
| 5 | -const routes: Routes = [{ path: "", component: FormasPagoComponent }]; | |
| 6 | - | |
| 7 | -@NgModule({ | |
| 8 | - imports: [RouterModule.forChild(routes)], | |
| 9 | - exports: [RouterModule] | |
| 10 | -}) | |
| 11 | -export class FormasPagoRoutingModule {} | 
src/app/modules/formas-pago/formas-pago.component.html
| ... | ... | @@ -1,32 +0,0 @@ | 
| 1 | -<div class="h-92 bg-white fade-in-left"> | |
| 2 | - <div class="row mx-0 h-15"> | |
| 3 | - <div class="col-12 px-0 h-80 my-auto"> | |
| 4 | - <img class="d-block mx-auto h-100" src="assets/img/logo-spot.svg"> | |
| 5 | - </div> | |
| 6 | - </div> | |
| 7 | - <div class="h-85"> | |
| 8 | - <div class="row h-50 mx-0 justify-content-center text-center"> | |
| 9 | - <div class="col-7 pt-5 pb-3 h-auto align-self-end border border-secondary rounded"> | |
| 10 | - <img class="img-in-top px-4 bg-white" src="assets/img/icono-tarjetas.svg"> | |
| 11 | - <p class="h6 m-0">ESTA TERMINAL OPERA CON</p> | |
| 12 | - <p class="h2 mb-3 text-secondary"> | |
| 13 | - tarjetas y | |
| 14 | - <img class="w-15" src="assets/img/icono-mercado-pago.svg"> | |
| 15 | - </p> | |
| 16 | - <div | |
| 17 | - class="d-inline-block py-1 btn-effect bg-secondary badge-pill text-white" | |
| 18 | - [routerLink]="['/opcion-pedido']"> | |
| 19 | - CONTINUAR | |
| 20 | - <img class="icon-30" src="assets/img/ir.svg"> | |
| 21 | - </div> | |
| 22 | - </div> | |
| 23 | - </div> | |
| 24 | - <div class="row h-50 mx-0 justify-content-center text-center"> | |
| 25 | - <div class="col-7 p-5 h-auto align-self-center border border-primary rounded"> | |
| 26 | - <img class="img-in-top px-4 bg-white" src="assets/img/icono-efectivo.svg"> | |
| 27 | - <p class="h6 m-0">SI PREFERIS PAGAR EN EFECTIVO</p> | |
| 28 | - <p class="h2 m-0 text-primary">te esperamos en la caja</p> | |
| 29 | - </div> | |
| 30 | - </div> | |
| 31 | - </div> | |
| 32 | -</div> | 
src/app/modules/formas-pago/formas-pago.component.scss
src/app/modules/formas-pago/formas-pago.component.spec.ts
| ... | ... | @@ -1,25 +0,0 @@ | 
| 1 | -import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | |
| 2 | - | |
| 3 | -import { FormasPagoComponent } from './formas-pago.component'; | |
| 4 | - | |
| 5 | -describe('FormasPagoComponent', () => { | |
| 6 | - let component: FormasPagoComponent; | |
| 7 | - let fixture: ComponentFixture<FormasPagoComponent>; | |
| 8 | - | |
| 9 | - beforeEach(async(() => { | |
| 10 | - TestBed.configureTestingModule({ | |
| 11 | - declarations: [ FormasPagoComponent ] | |
| 12 | - }) | |
| 13 | - .compileComponents(); | |
| 14 | - })); | |
| 15 | - | |
| 16 | - beforeEach(() => { | |
| 17 | - fixture = TestBed.createComponent(FormasPagoComponent); | |
| 18 | - component = fixture.componentInstance; | |
| 19 | - fixture.detectChanges(); | |
| 20 | - }); | |
| 21 | - | |
| 22 | - it('should create', () => { | |
| 23 | - expect(component).toBeTruthy(); | |
| 24 | - }); | |
| 25 | -}); | 
src/app/modules/formas-pago/formas-pago.component.ts
| ... | ... | @@ -1,12 +0,0 @@ | 
| 1 | -import { Component, OnInit } from "@angular/core"; | |
| 2 | - | |
| 3 | -@Component({ | |
| 4 | - selector: "app-formas-pago", | |
| 5 | - templateUrl: "./formas-pago.component.html", | |
| 6 | - styleUrls: ["./formas-pago.component.scss"] | |
| 7 | -}) | |
| 8 | -export class FormasPagoComponent implements OnInit { | |
| 9 | - constructor() {} | |
| 10 | - | |
| 11 | - ngOnInit() {} | |
| 12 | -} | 
src/app/modules/formas-pago/formas-pago.module.ts
| ... | ... | @@ -1,15 +0,0 @@ | 
| 1 | -import { NgModule } from '@angular/core'; | |
| 2 | -import { CommonModule } from '@angular/common'; | |
| 3 | - | |
| 4 | -import { FormasPagoRoutingModule } from './formas-pago-routing.module'; | |
| 5 | -import { FormasPagoComponent } from './formas-pago.component'; | |
| 6 | - | |
| 7 | - | |
| 8 | -@NgModule({ | |
| 9 | - declarations: [FormasPagoComponent], | |
| 10 | - imports: [ | |
| 11 | - CommonModule, | |
| 12 | - FormasPagoRoutingModule | |
| 13 | - ] | |
| 14 | -}) | |
| 15 | -export class FormasPagoModule { } | 
src/app/modules/splash-screen/splash-screen.component.html
| ... | ... | @@ -34,7 +34,7 @@ | 
| 34 | 34 | </div> | 
| 35 | 35 | <div | 
| 36 | 36 | class="row mx-0 h-10 loop-color cursor-pointer" | 
| 37 | - [routerLink]="['/formas-pago']"> | |
| 37 | + [routerLink]="['/info-formas-pago']"> | |
| 38 | 38 | <div class="col-12 text-center align-self-center px-0"> | 
| 39 | 39 | <p class="h6 text-white">TOCA PARA COMENZAR</p> | 
| 40 | 40 | </div> |