aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+video-channels/video-channels.component.html
blob: da0d76acfe2891462c4aad4a4255aaf760c86930 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
<div *ngIf="videoChannel" class="row">
  <div class="sub-menu">

    <div class="actor">
      <img [src]="videoChannel.avatarUrl" alt="Avatar" />

      <div class="actor-info">
        <div class="actor-names">
          <div class="actor-display-name">{{ videoChannel.displayName }}</div>
        </div>
        <div class="actor-followers">{{ videoChannel.followersCount }} subscribers</div>

        <a [routerLink]="[ '/accounts', videoChannel.ownerAccount.id ]" title="Go the owner account page" class="actor-owner">
          <span>Created by {{ videoChannel.ownerBy }}</span>
          <img [src]="videoChannel.ownerAvatarUrl" alt="Owner account avatar" />
        </a>
      </div>
    </div>

    <div class="links">
      <a routerLink="videos" routerLinkActive="active" class="title-page">Videos</a>

      <a routerLink="about" routerLinkActive="active" class="title-page">About</a>
    </div>
  </div>

  <div class="margin-content">
    <router-outlet></router-outlet>
  </div>
</div>