import { Component, Input } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';

@Component({
  selector: 'app-designer-nav',
  standalone: true,
  imports: [CommonModule, FormsModule],
  templateUrl: './designer-nav.html',
  styleUrl: './designer-nav.scss'
})
export class DesignerNavComponent {
  @Input() userName: string = '设计师用户';
  @Input() onlineHours: number = 4.8;
  
  searchTerm = '';
  currentDate = new Date();
}