libs/design/hero/examples/src/compact-hero/compact-hero.component.ts
import {
ChangeDetectionStrategy,
Component,
} from '@angular/core';
import { FaIconComponent } from '@fortawesome/angular-fontawesome';
import { faMobile } from '@fortawesome/free-solid-svg-icons';
import { DAFF_BUTTON_COMPONENTS } from '@daffodil/design/button';
import { DAFF_HERO_COMPONENTS } from '@daffodil/design/hero';
@Component({
// eslint-disable-next-line @angular-eslint/component-selector
selector: 'compact-hero',
templateUrl: './compact-hero.component.html',
styleUrls: ['./compact-hero.component.scss'],
changeDetection: ChangeDetectionStrategy.OnPush,
standalone: true,
imports: [
FaIconComponent,
DAFF_HERO_COMPONENTS,
DAFF_BUTTON_COMPONENTS,
],
})
export class CompactHeroComponent {
faMobile = faMobile;
}