import { Component } from '@angular/core';
import { Router } from '@angular/router';

@Component({
  selector: 'app-home-page',
  templateUrl: './home-page.component.html',
  styleUrl: './home-page.component.css'
})
export class HomePageComponent {

  constructor(
    private _router: Router
  ) {

  }

  public options = [
    {img: 'assets/img/img-card.jpg', title: 'Title 1', description: 'Industria agropecuaria'},
    {img: 'assets/img/base-5.jpg', title: 'Title 1', description: 'Cabinas de pintura'},
    {img: 'assets/img/base-6.jpg', title: 'Title 1', description: 'Campanas de cocina'},
    {img: 'assets/img/base-7.jpg', title: 'Title 1', description: 'Cuartos de máquinas'},
    {img: 'assets/img/base-8.jpg', title: 'Title 1', description: 'Estacionamientos'},
  ]


  redirectPage(){
    this._router.navigate(['/404']);
  }

}
