Add banner on register page too
This commit is contained in:
parent
93f9677463
commit
4d63e6f577
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue