mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Add banner on register page too
This commit is contained in:
parent
93f9677463
commit
4d63e6f577
4 changed files with 5 additions and 3 deletions
|
@ -1,3 +1,3 @@
|
|||
<div class="banner" [ngClass]="{ rounded }">
|
||||
<div *ngIf="instanceBannerUrl" class="banner" [ngClass]="{ rounded }">
|
||||
<img class="rounded" [src]="instanceBannerUrl" alt="Instance banner">
|
||||
</div>
|
||||
|
|
|
@ -6,7 +6,7 @@ import { InstanceService } from './instance.service'
|
|||
templateUrl: './instance-banner.component.html'
|
||||
})
|
||||
export class InstanceBannerComponent implements OnInit {
|
||||
@Input({ transform: booleanAttribute }) rounded: boolean
|
||||
@Input({ transform: booleanAttribute }) rounded = false
|
||||
|
||||
instanceBannerUrl: string
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue