import { Component, input } from '@angular/core'; /** * Consistent page title block used across playground catalog routes. */ @Component({ selector: 'app-page-header', standalone: true, template: `
@if (eyebrow()) {

{{ eyebrow() }}

}

{{ title() }}

@if (description()) {

{{ description() }}

}
`, }) export class PageHeaderComponent { /** Small uppercase label above the title (e.g. "Components"). */ readonly eyebrow = input(null); /** Page title. */ readonly title = input.required(); /** Supporting explanation of what this page is for. */ readonly description = input(null); }