Yrkki/cv-generator-fe

View on GitHub
src/app/components/geolocation/geolocation.component.html

Summary

Maintainability
Test Coverage
<span>
  <span *ngIf="ShowDivider">
    {{ divider }}
  </span>
  <a class="d-inline-block" href="{{ GeolocationUrl }}" title="{{ GeolocationCountry }}" target="_blank"
    rel="noopener noreferrer" [attr.aria-label]="uiService.linkLabel(uiService.ui['Served from']?.text)">
    {{ uiService.ui['Served from']?.text }}
    {{ Location }}
    <span>
      <img class="mr-1" [src]="GeolocationFlag" alt="{{ GeolocationFlagEmoji }}" loading="lazy" />
    </span>
    <span *ngIf="GeolocationIsEu">
      <img class="mr-1" [src]="GeolocationFlagEu" alt="{{ GeolocationFlagEuEmoji }}" loading="lazy" />
    </span>
  </a>
</span>