import { Component, OnInit } from '@angular/core';
import { NavBarService } from '../admin.service';
import { environment } from '../../../environments/environment.dev';
@Component({
  selector: 'app-landing-page',
  templateUrl: './landing-page.component.html',
  styleUrls: ['./landing-page.component.css']
})
export class LandingPageComponent implements OnInit {
  img_path = environment.imageUrl+'/assets/img/admin/';
  tiles = [
    { src: this.img_path + 'mettl_icon.png', desc: 'Capability Assessment Configuration', link: 'mettl-conf' },
    { src: this.img_path + 'sandbox_icon.png', desc: 'Sandbox Configuration', link: 'aws-conf' },
    { src: this.img_path + 'usermgt_icon.png', desc: 'User Management', link: 'users' },
    { src: this.img_path + 'roles_icon.png', desc: 'Roles', link: 'role-type' },
    { src: this.img_path + 'candidatetransfer_icon.png', desc: 'Candidate Transfer', link: 'candidate-transfer' },
    { src: this.img_path + 'location_icon.png', desc: 'Location', link: 'locations' },
    { src: this.img_path + 'coachnom_icon.png', desc: 'Coach Nomination', link: 'coach-nomination' },
    { src: this.img_path + 'skillset_icon.png', desc: 'Skill Set', link: 'inner-page/skill' },
    { src: this.img_path + 'Usecase.png', desc: 'Usecase', link: 'inner-page/usecase' },
   // { src: this.img_path + 'cc_index.png', desc: 'CC Index', link: 'cc-index' }
  ];

  constructor(private navBarService: NavBarService) {}

  ngOnInit() {
    this.navBarService.setCurrentPage(0);
  }
}
