aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/header/suggestion.component.html
blob: 4ac9809e13fc17ca7e930ad1efdc6a9886209563 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<a tabindex="-1" class="d-flex flex-auto flex-items-center p-2" [class.focus-visible]="active">
  <div class="flex-shrink-0 mr-2 text-center">
    <my-global-icon iconName="search"></my-global-icon>
  </div>

  <img class="avatar mr-2 flex-shrink-0 d-none" alt="" aria-label="Team" src="" width="28" height="28">

  <div
    class="flex-auto overflow-hidden text-left no-wrap css-truncate css-truncate-target"
    [attr.aria-label]="result.text" [innerHTML]="result.text | highlight : highlight"
  ></div>

  <div class="border rounded flex-shrink-0 px-1 bg-gray text-gray-light ml-1 f6">
    <span *ngIf="result.type === 'search-instance'" i18n>In this instance's network</span>
    <span *ngIf="result.type === 'search-index'" i18n>In the vidiverse</span>
  </div>
</a>