import { Component, Input } from '@angular/core';
import { environment } from '@env/environment';
import { ProjectViewModel } from '@app/adapters/projects/project.presenter.model';
import { NgOptimizedImage } from '@angular/common';

@Component({
  selector: 'app-project-item',
  standalone: true,
  imports: [NgOptimizedImage],
  templateUrl: './project-item.component.html',
  styleUrl: './project-item.component.scss',
})
export class ProjectItemComponent {
  protected readonly environment = environment;

  @Input({ required: true }) project: ProjectViewModel | undefined = undefined;
}
