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',
    standalone: false
})
export class HomePageComponent {

  constructor(
    private _router: Router
  ) {

  }

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


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

}
