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

@Component({
  selector: 'app-navbar',
  templateUrl: './navbar.component.html',
  styleUrl: './navbar.component.css'
})
export class NavbarComponent {
  public showDropdown = false;
  menu1Opciones: any[] = [
    { name: 'PF', link: '/home' },
    { name: 'AB', link: '/about' },
    { name: 'OV', link: '/contact' },

  ];
  menu2Opciones: any[] = [
    { name: 'AGF', link: '/home' },
    { name: 'AGH', link: '/about' },
    { name: 'AT', link: '/contact' },
    { name: 'BK', link: '/contact' },
    { name: 'CFD', link: '/contact' },
    { name: 'PB', link: '/contact' },
    { name: 'REF', link: '/contact' },
    { name: 'SW-XP', link: '/contact' },
    { name: 'TAB', link: '/contact' },
    { name: 'TAD', link: '/contact' },
    { name: 'TAP', link: '/contact' },
    { name: 'WAB', link: '/contact' },
    { name: 'WAD', link: '/contact' },

  ];
  menu3Opciones: any[] = [
    { name: 'CAB-DI', link: '/home' },
    { name: 'CBI', link: '/about' },
    { name: 'CORIN', link: '/contact' },
    { name: 'GDB-GDD-GUB-GUD-GWB-GWD', link: '/contact' },
    { name: 'JF', link: '/contact' },
    { name: 'DQ', link: '/contact' },
    { name: 'RHB', link: '/contact' },
    { name: 'RHD', link: '/contact' },
    { name: 'RUB-RUD-TUB', link: '/contact' },
    { name: 'TC', link: '/contact' },
    { name: 'TWP-A', link: '/contact' },
    { name: 'UFD', link: '/contact' },
    { name: 'UFDW', link: '/contact' },
    { name: 'UFP', link: '/contact' },
    { name: 'XDP-A', link: '/contact' },
    { name: 'XTP-A', link: '/contact' },
    { name: 'XWP-A', link: '/contact' },
    { name: 'SI-DI-DIT', link: '/contact' },
    { name: 'KCB-KCD-KCDBR', link: '/contact' },
    { name: 'UF', link: '/contact' },
    { name: 'PX', link: '/contact' },
    { name: 'ZHP', link: '/contact' },
  ];
  menu4Opciones: any[] = [
    { name: 'Plantas industriales, almacenes y bodegas', link: '/home' },
    { name: 'Campanas de extracción de cocinas', link: '/about' },
    { name: 'Granjas de pollo', link: '/contact' },
    { name: 'Ganaderías', link: '/contact' },
    { name: 'Invernaderos', link: '/contact' },
    { name: 'Cuartos de máquinas', link: '/contact' },
    { name: 'Torres de enfriamiento', link: '/contact' },
    { name: 'Enfriamiento de transformadores de potencia', link: '/contact' },
    { name: 'Estacionamientos', link: '/contact' },
    { name: 'Ventilación en túneles y minas', link: '/contact' },
    { name: 'Atmósferas corrosivas/explosivas', link: '/contact' },
    { name: 'Cortinas de aire', link: '/contact' },
    { name: 'Cuartos de pre-enfriado', link: '/contact' },
    { name: 'Cuartos de baterías con extractores a prueba de explosión', link: '/contact' },
    { name: 'Recirculadores portátiles', link: '/contact' },
    { name: 'Extractores para colección de polvo', link: '/contact' },
  ];
  menu5Opciones: any[] = [
    { name: 'Cliente', link: '/home' },
    { name: 'Proveedor', link: '/about' },

  ];
  constructor(
    private _router: Router
  ) {

  }

  redirectHome() {
    this._router.navigate(['']);
  }

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