mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-02-25 18:55:32 -06:00
Add banner on register page too
This commit is contained in:
@@ -107,7 +107,7 @@
|
||||
</div>
|
||||
|
||||
<div #instanceInformation class="instance-information">
|
||||
<my-instance-banner class="rounded"></my-instance-banner>
|
||||
<my-instance-banner rounded="true"></my-instance-banner>
|
||||
|
||||
<my-instance-about-accordion
|
||||
#instanceAboutAccordion
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
<my-instance-banner class="d-block mb-3" rounded="true"></my-instance-banner>
|
||||
|
||||
<div class="why">
|
||||
<h3 i18n>Why creating an account?</h3>
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user