Boris Voropaev 2023-09-07 14:42:16 +03:00
commit 971995a6d4
4 changed files with 30 additions and 4 deletions

View File

@ -1 +1 @@
<a class="btn" [href]="url" [target]="targetBlank ? '_blank' : '_self'" [innerText]="title"></a>
<a class="btn" [href]="url" [target]="targetSelf ? '_self' : '_blank'" [innerText]="title"></a>

View File

@ -21,10 +21,11 @@ export class ButtonSectionComponent {
get title() {
return this.objectsService.getValue(this.section, 'button-title');
}
get targetBlank() {
return this.objectsService.getValue(this.section, 'target-blank');
get targetSelf() {
return this.objectsService.getValue(this.section, 'target-self');
}
ngOnInit() {
}
}

View File

@ -30,7 +30,7 @@
gap: 40px;
width: 100%;
flex-wrap: wrap;
.item {
object-fit: cover;
display: flex;
@ -44,6 +44,7 @@
}
.image {
background: url("/assets/images/view-man.svg") center no-repeat;
img {
width: 273px;
object-fit: cover;

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 10 KiB