feat: add site header
This commit is contained in:
12
src/app/components/main-header/main-header.ts
Normal file
12
src/app/components/main-header/main-header.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
import { Component, input } from '@angular/core';
|
||||
import { TitleCasePipe } from '@angular/common';
|
||||
|
||||
@Component({
|
||||
selector: 'app-main-header',
|
||||
imports: [TitleCasePipe],
|
||||
templateUrl: './main-header.html',
|
||||
styleUrl: './main-header.scss',
|
||||
})
|
||||
export class MainHeader {
|
||||
title = input('');
|
||||
}
|
||||
Reference in New Issue
Block a user