Commit b92ec64d6ca9a2314c265b94075be8694240c510
1 parent
eaa6200612
Exists in
master
Cambio de evento al hacer click en la pantalla home.
Showing
2 changed files
with
6 additions
and
9 deletions
Show diff stats
src/app/components/home/home.component.html
1 | -<div class="container-fluid background-image"> | |
2 | - <div class="row"> | |
1 | +<div class="container-fluid p-0 background-image"> | |
2 | + <div class="row m-0"> | |
3 | 3 | <div class="col p-0"> |
4 | - <div class="vh-100 d-flex align-content-between flex-wrap disable-user-select"> | |
4 | + <div | |
5 | + class="vh-100 fade-in d-flex align-content-between flex-wrap disable-user-select" | |
6 | + [routerLink]="['/inicio']"> | |
5 | 7 | |
6 | 8 | <!-- HEADER --> |
7 | 9 | <div class="row m-0 w-100 bg-primary-gradient-horizontal"> |
src/app/components/home/home.component.ts
... | ... | @@ -11,14 +11,9 @@ export class HomeComponent implements OnInit { |
11 | 11 | |
12 | 12 | private apiUrl: string = appSettings.apiUrl; |
13 | 13 | |
14 | - constructor(private router: Router) { } | |
14 | + constructor() { } | |
15 | 15 | |
16 | 16 | ngOnInit() { |
17 | 17 | } |
18 | 18 | |
19 | - @HostListener('document:click', ['$event']) | |
20 | - documentClick(event: MouseEvent) { | |
21 | - this.router.navigate(['/inicio']); | |
22 | - } | |
23 | - | |
24 | 19 | } |