Commit 4d78c3d7a34c769eb8f8a82127a454c433eb5e59
1 parent
47796b0f8c
Exists in
develop
pantalla pedidos salientes
Showing
7 changed files
with
101 additions
and
0 deletions
Show diff stats
src/app/app-routing.module.ts
... | ... | @@ -43,6 +43,10 @@ const routes: Routes = [ |
43 | 43 | path: 'mensaje-final', |
44 | 44 | loadChildren: () => import('./modules/mensaje-final/mensaje-final.module').then(m => m.MensajeFinalModule) |
45 | 45 | }, |
46 | + { | |
47 | + path: 'pedidos-salientes', | |
48 | + loadChildren: () => import('./modules/pedidos-salientes/pedidos-salientes.module').then(m => m.PedidosSalientesModule) | |
49 | + }, | |
46 | 50 | { path: '**', redirectTo: '', pathMatch: 'full' }, |
47 | 51 | ]; |
48 | 52 |
src/app/modules/pedidos-salientes/pedidos-salientes-routing.module.ts
... | ... | @@ -0,0 +1,14 @@ |
1 | +import { NgModule } from '@angular/core'; | |
2 | +import { Routes, RouterModule } from '@angular/router'; | |
3 | +import { PedidosSalientesComponent } from './pedidos-salientes.component'; | |
4 | + | |
5 | + | |
6 | +const routes: Routes = [ | |
7 | + { path: '', component: PedidosSalientesComponent } | |
8 | +]; | |
9 | + | |
10 | +@NgModule({ | |
11 | + imports: [RouterModule.forChild(routes)], | |
12 | + exports: [RouterModule] | |
13 | +}) | |
14 | +export class PedidosSalientesRoutingModule { } |
src/app/modules/pedidos-salientes/pedidos-salientes.component.html
... | ... | @@ -0,0 +1,28 @@ |
1 | +<div class="row justify-content-center h-15"> | |
2 | + <div class="col-3 col-lg-2 mt-1"> | |
3 | + <img src="../../../assets/img/logo-spot.svg" class="w-60 h-auto d-block mx-auto" alt=""> | |
4 | + </div> | |
5 | +</div> | |
6 | +<div class="row mt-n5 justify-content-around h-75"> | |
7 | + <div class="col-5 col-md-3 h-100"> | |
8 | + <div class="p-3 bg-white text-center shadow-lg rounded h-100"> | |
9 | + <h5 class="pt-3">ESTAMOS</h5> | |
10 | + <h3 class="font-weight-bold text-secondary">preparando</h3> | |
11 | + <h5>TU PEDIDO</h5> | |
12 | + <div class="font-weight-bold mb-2 text-muted"> | |
13 | + <h1 class="display-4">47</h1> | |
14 | + <h1 class="display-4">48</h1> | |
15 | + <h1 class="display-4">49</h1> | |
16 | + <h1 class="display-4">50</h1> | |
17 | + </div> | |
18 | + </div> | |
19 | + </div> | |
20 | + <div class="col-5 col-md-3 h-100"> | |
21 | + <div class="p-3 bg-white shadow-lg rounded text-center h-100"> | |
22 | + <h5 class="pt-3">LISTO PARA</h5> | |
23 | + <h3 class="font-weight-bold text-primary">retirar</h3> | |
24 | + <h1 class="display-1 mt-4 text-primary">46</h1> | |
25 | + <h3 class="font-weight-bold text-info" style="color: yellowgreen;">¡Que lo disfrutes!</h3> | |
26 | + </div> | |
27 | + </div> | |
28 | +</div> |
src/app/modules/pedidos-salientes/pedidos-salientes.component.scss
src/app/modules/pedidos-salientes/pedidos-salientes.component.spec.ts
... | ... | @@ -0,0 +1,25 @@ |
1 | +import { async, ComponentFixture, TestBed } from '@angular/core/testing'; | |
2 | + | |
3 | +import { PedidosSalientesComponent } from './pedidos-salientes.component'; | |
4 | + | |
5 | +describe('PedidosSalientesComponent', () => { | |
6 | + let component: PedidosSalientesComponent; | |
7 | + let fixture: ComponentFixture<PedidosSalientesComponent>; | |
8 | + | |
9 | + beforeEach(async(() => { | |
10 | + TestBed.configureTestingModule({ | |
11 | + declarations: [ PedidosSalientesComponent ] | |
12 | + }) | |
13 | + .compileComponents(); | |
14 | + })); | |
15 | + | |
16 | + beforeEach(() => { | |
17 | + fixture = TestBed.createComponent(PedidosSalientesComponent); | |
18 | + component = fixture.componentInstance; | |
19 | + fixture.detectChanges(); | |
20 | + }); | |
21 | + | |
22 | + it('should create', () => { | |
23 | + expect(component).toBeTruthy(); | |
24 | + }); | |
25 | +}); |
src/app/modules/pedidos-salientes/pedidos-salientes.component.ts
... | ... | @@ -0,0 +1,15 @@ |
1 | +import { Component, OnInit } from '@angular/core'; | |
2 | + | |
3 | +@Component({ | |
4 | + selector: 'app-pedidos-salientes', | |
5 | + templateUrl: './pedidos-salientes.component.html', | |
6 | + styleUrls: ['./pedidos-salientes.component.scss'] | |
7 | +}) | |
8 | +export class PedidosSalientesComponent implements OnInit { | |
9 | + | |
10 | + constructor() { } | |
11 | + | |
12 | + ngOnInit() { | |
13 | + } | |
14 | + | |
15 | +} |
src/app/modules/pedidos-salientes/pedidos-salientes.module.ts
... | ... | @@ -0,0 +1,15 @@ |
1 | +import { NgModule } from '@angular/core'; | |
2 | +import { CommonModule } from '@angular/common'; | |
3 | + | |
4 | +import { PedidosSalientesRoutingModule } from './pedidos-salientes-routing.module'; | |
5 | +import { PedidosSalientesComponent } from './pedidos-salientes.component'; | |
6 | + | |
7 | + | |
8 | +@NgModule({ | |
9 | + declarations: [PedidosSalientesComponent], | |
10 | + imports: [ | |
11 | + CommonModule, | |
12 | + PedidosSalientesRoutingModule | |
13 | + ] | |
14 | +}) | |
15 | +export class PedidosSalientesModule { } |