import { Component} from '@angular/core';
import { NgOptimizedImage } from '@angular/common';
import { MatCardModule } from '@angular/material/card';
import { MatChipsModule } from '@angular/material/chips';
import { MatIconModule } from '@angular/material/icon';
import { MatButtonModule } from '@angular/material/button';
import { MatDividerModule } from '@angular/material/divider';
import { TranslateModule } from '@ngx-translate/core';
import {UrlConstants} from '../../constants/UrlConstants';
import {AssetsConstants} from '../../constants/AssetsConstants';
import {RouterLink} from '@angular/router';
import {SharedFunctions} from '../../shared/SharedFunctions';


@Component({
  selector: 'app-about',
  imports: [
    NgOptimizedImage,
    MatCardModule,
    MatChipsModule,
    MatIconModule,
    MatButtonModule,
    MatDividerModule,
    TranslateModule,
    RouterLink
  ],
  templateUrl: './about.component.html',
  styleUrl: './about.component.scss'
})
export class AboutComponent {

  xpKeys = [
    {
      key: 'ABOUT.XP.COMPANY9',
      logo: AssetsConstants.COLORDIGITAL_LOGO,
      no_highlights: false
    },
    {
      key: 'ABOUT.XP.COMPANY8',
      logo: AssetsConstants.TERAPORT_LOGO
    },
    {
      key: 'ABOUT.XP.COMPANY7',
      logo: AssetsConstants.COLORDIGITAL_LOGO
    },
    {
      key: 'ABOUT.XP.COMPANY6',
      logo: AssetsConstants.COLORDIGITAL_LOGO
    },
    {
      key: 'ABOUT.XP.COMPANY5',
      logo: AssetsConstants.ASSYST_LOGO
    },
    {
      key: 'ABOUT.XP.COMPANY4',
      logo: AssetsConstants.ASSYST_LOGO
    },
    {
      key: 'ABOUT.XP.COMPANY3',
      logo: AssetsConstants.ASSYST_LOGO
    },
    {
      key: 'ABOUT.XP.COMPANY2',
      logo: AssetsConstants.TH_BINGEN_LOGO
    },
    {
      key: 'ABOUT.XP.COMPANY1',
      logo: AssetsConstants.TH_BINGEN_LOGO
    },
    {
      key: 'ABOUT.XP.COMPANY0',
      logo: AssetsConstants.CHAMAELEON_LOGO
    }
  ];

  projectKeys = [
    {
      key: 'ABOUT.PROJECT.P2',
      externalLink: 'https://andreas-dahm.eu/',
      internalLink: 'projects',
      identifier: 'playground',
    },
    {
      key: 'ABOUT.PROJECT.P1',
      externalLink: 'https://store.steampowered.com/app/1532640/El_Mucho/',
      internalLink: 'projects',
      identifier: 'elmucho',
    },
    {
      key: 'ABOUT.PROJECT.P0',
      externalLink: 'https://itch.io/c/6628860/lobos-collection',
      internalLink: 'projects',
      identifier: 'gamejams',
    },
    {
      key: 'ABOUT.PROJECT.DIPLOMA',
      externalLink: '',
      internalLink: 'projects',
      identifier: 'diploma',
    },
    {
      key: 'ABOUT.PROJECT.TRIBBLE',
      externalLink: '',
      internalLink: 'projects',
      identifier: 'tribble-the-homeserver',
    }
  ];

  educationKeys = [
    {
      key: 'ABOUT.EDUCATION.E6'
    },
    {
      key: 'ABOUT.EDUCATION.E5'
    },
    {
      key: 'ABOUT.EDUCATION.E4'
    },
    {
      key: 'ABOUT.EDUCATION.E3'
    },
    {
      key: 'ABOUT.EDUCATION.E2'
    },
    {
      key: 'ABOUT.EDUCATION.E1'
    },
    {
      key: 'ABOUT.EDUCATION.E0'
    }
  ]

  skillsCore = [
    'ABOUT.SKILLS.JAVA',
    'ABOUT.SKILLS.SPRING',
    'ABOUT.SKILLS.ANGULAR',
    'ABOUT.SKILLS.VUE',
    'ABOUT.SKILLS.REACT',
    'ABOUT.SKILLS.TYPESCRIPT',
    'ABOUT.SKILLS.CSHARP',
    'ABOUT.SKILLS.PYTHON'
  ];

  skillsArchitecture = [
    'ABOUT.SKILLS.ARCH_MICROSERVICES',
    'ABOUT.SKILLS.ARCH_CLOUD',
    'ABOUT.TOOLS.DOCKER',
    'ABOUT.TOOLS.K8S',
    'ABOUT.TOOLS.JENKINS',
    'ABOUT.TOOLS.POSTGRES',
    'ABOUT.TOOLS.MONGO',
    'ABOUT.TOOLS.GITLAB'
  ];

  skillsEngineering = [
    'ABOUT.SKILLS.ENG_ALGO',
    'ABOUT.SKILLS.ENG_SIM',
    'ABOUT.SKILLS.ENG_GPU',
    'ABOUT.SKILLS.UNITY',
    'ABOUT.SKILLS.ENG_PERF'
  ];

  protected readonly UrlConstants = UrlConstants;
  protected readonly AssetsConstants = AssetsConstants;
  protected readonly SharedFunctions = SharedFunctions;
}
