-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
About Page Title customization support (#3356)
* Add optional title text to title component * Support custom about page info component * Undo typo
- Loading branch information
1 parent
ef10985
commit 5b3883f
Showing
6 changed files
with
29 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
src/frontend/app/shared/components/stratos-title/stratos-title.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<div class="stratos-title"> | ||
<img class="stratos-title__logo" src="/assets/logo.png" /> | ||
<h1 class="mat-h1 stratos-title__header">Stratos</h1> | ||
<h1 class="mat-h1 stratos-title__header">{{ title || 'Stratos' }}</h1> | ||
</div> |
8 changes: 6 additions & 2 deletions
8
src/frontend/app/shared/components/stratos-title/stratos-title.component.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
import { Component } from '@angular/core'; | ||
import { Component, Input } from '@angular/core'; | ||
|
||
@Component({ | ||
selector: 'app-stratos-title', | ||
templateUrl: './stratos-title.component.html', | ||
styleUrls: ['./stratos-title.component.scss'] | ||
}) | ||
export class StratosTitleComponent { } | ||
export class StratosTitleComponent { | ||
|
||
// Optional title | ||
@Input() title: string; | ||
} |