LP1994711 Semantic H1 headings for page titles
[evergreen-equinox.git] / Open-ILS / src / eg2 / src / app / staff / share / staff-banner.component.ts
1 import {Component, OnInit, Input} from '@angular/core';
2
3 @Component({
4   selector: 'eg-staff-banner',
5   template: `
6     <div class="lead alert alert-primary text-center pt-1 pb-1"
7       [ngClass]="bannerStyle ? bannerStyle : 'alert-primary'">
8       <h1>
9         <i class="material-icons align-middle text-left" *ngIf="bannerIcon">{{bannerIcon}}</i>
10         <span i18n>{{bannerText}}</span>
11       </h1>
12     </div>
13     `
14 })
15
16 export class StaffBannerComponent {
17     @Input() public bannerText: string;
18     @Input() public bannerIcon: string;
19     @Input() public bannerStyle: string;
20 }
21
22