import { Component, EventEmitter, Output, Input } from '@angular/core';

@Component({
  selector: 'app-cta-button',
  standalone: true,
  templateUrl: './cta-button.html',
  styleUrls: ['./cta-button.scss']
})
export class CtaButtonComponent {
  @Input() label: string = 'COMEÇAR AGORA';

  @Input() width: string = '250px';
  @Input() height: string = '55px';
  @Input() background: string = '#C91EB5';
  @Input() color: string = '#FFFFFF';
  @Input() fontSize: string = '16.5px';
  @Input() fontWeight: string = '700';

  @Output() clicked = new EventEmitter<void>();

  onClick() {
    this.clicked.emit();
  }
}
