- <a [href]="comment.account.url" target="_blank" rel="noopener noreferrer" class="comment-account">
- <span class="comment-account-name" [ngClass]="{ 'video-author': video.account.id === comment.account.id }">{{ comment.account.displayName }}</span>
- <span class="comment-account-fid ml-1">{{ comment.by }}</span>
- </a>
+ <div class="comment-account">
+ <a
+ [routerLink]="[ '/accounts', comment.by ]"
+ class="comment-account-name" [ngClass]="{ 'video-author': video.account.id === comment.account.id }"
+ >
+ {{ comment.account.displayName }}
+ </a>
+
+ <a [href]="comment.account.url" target="_blank" rel="noopener noreferrer" class="comment-account-fid ml-1">{{ comment.by }}</a>
+ </div>