// index.ts
import { Component, Input } from '@angular/core';

@Component({
  selector: 'dashboard-header',
  template: `
  <div class="header-container">
    <div class="header-image-container">
      <img src="{{imageUrl}}" alt="Header Image" class="header-image"/>
      <div class="header-title">{{title}}</div>
    </div>
  </div>
  `,
  standalone: true,
  styleUrls: ['./index.less']
})
export class DashboardHeaderComponent {
  @Input() title: string = "";
  @Input() imageUrl: string = 'assets/dashboard/screen_header2.png';
}