Skip to content

Commit

Permalink
sonar fix
Browse files Browse the repository at this point in the history
  • Loading branch information
furknyavuz committed Aug 29, 2021
1 parent aca5abb commit 4437bed
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[topLayerMarginTop]="marginTop" [topLayerMinHeight]="minHeight" [testimonialSizeActive]="true">
<div body class="content-wrapper">
<div class="icon-wrapper">
<i [style.color]="option.style.themeColor" area-hidden="true" class="fas fa-quote-left fa-lg fa-fw"></i>
<i aria-hidden="true"[style.color]="option.style.themeColor" area-hidden="true" class="fas fa-quote-left fa-lg fa-fw"></i>
</div>
<p class="review-area">{{ option.review }}</p>
<a class="profile-image">
Expand All @@ -15,11 +15,11 @@
</a>
<div class="footer-social">
<a [href]="environment.social.twitter.url + '/' + environment.oth.social.twitter" target="_blank">
<i [style.color]="option.style.themeColor" [class]="'fab fa-' + environment.social.twitter.cssClass + ' fa-2x fa-fw'"></i>
<i aria-hidden="true"[style.color]="option.style.themeColor" [class]="'fab fa-' + environment.social.twitter.cssClass + ' fa-2x fa-fw'"></i>
</a>
<a [href]="environment.social.linkedin.url + '/company/' + environment.oth.social.linkedin"
target="_blank">
<i [style.color]="option.style.themeColor" [class]="'fab fa-' + environment.social.linkedin.cssClass + ' fa-2x fa-fw'"></i>
<i aria-hidden="true"[style.color]="option.style.themeColor" [class]="'fab fa-' + environment.social.linkedin.cssClass + ' fa-2x fa-fw'"></i>
</a>
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Component, Input, OnInit } from '@angular/core';
import { Component, Input } from '@angular/core';
import { environment } from '../../../../../environments/environment';
import { ThemeService } from '../../../../service/theme/theme.service';
import { URLS } from '../../../../util/constant';
import { environment } from '../../../../../environments/environment';

export interface TestimonialOption {
review: string,
Expand All @@ -13,13 +13,13 @@ export interface TestimonialOption {
}
}

@Component({
@Component( {
selector: 'app-testimonial-card',
templateUrl: './testimonial-card.component.html',
styleUrls: ['./testimonial-card.component.scss']
})
export class TestimonialCardComponent implements OnInit {
URLS = URLS
styleUrls: [ './testimonial-card.component.scss' ]
} )
export class TestimonialCardComponent {
URLS = URLS;
environment = environment;
brand = {
brandLogo: '',
Expand All @@ -34,12 +34,10 @@ export class TestimonialCardComponent implements OnInit {
style: {
themeColor: 'var(--brand-color-lighter-2)'
}
}
constructor(
private themeService: ThemeService
) { }
};

ngOnInit(): void {
constructor(
private themeService: ThemeService
) {
}

}

0 comments on commit 4437bed

Please sign in to comment.