Ship the final German and English copy, compose every route from shared page primitives, and cover claims, parity and contact briefing in tests. Co-authored-by: Cursor <cursoragent@cursor.com>
16 lines
512 B
TypeScript
16 lines
512 B
TypeScript
import { ChangeDetectionStrategy, Component, input } from '@angular/core';
|
|
import { type CopyBlock, type CtaCopy } from '../../core/content/content.contracts';
|
|
import { CtaRow } from '../cta-row/cta-row';
|
|
|
|
@Component({
|
|
selector: 'app-page-hero',
|
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
imports: [CtaRow],
|
|
templateUrl: './page-hero.html',
|
|
styleUrl: './page-hero.scss',
|
|
})
|
|
export class PageHero {
|
|
readonly hero = input.required<CopyBlock>();
|
|
readonly ctas = input<readonly CtaCopy[]>([]);
|
|
}
|