Move link to external instance onto @username

This commit is contained in:
Nick Colley 2023-02-01 11:33:41 +00:00
parent 55b9795b12
commit 75245719cc
1 changed files with 4 additions and 9 deletions

View File

@ -7,20 +7,15 @@
</button>
</div>
<div class="account-profile-name">
<ExternalLink
className="account-profile-name-link focus-fix"
href={account.url}
showIcon="true"
normalIconColor="true"
ariaLabel={externalLinkLabel}>
<AccountDisplayName {account} />
</ExternalLink>
<AccountDisplayName {account} />
</div>
{#if label}
<Label {label} className="account-profile-label" />
{/if}
<div class="account-profile-username">
{'@' + account.acct}
<ExternalLink className="focus-fix" href={account.url}>
{'@' + account.acct}
</ExternalLink>
</div>
<div class="account-profile-followed-by">
{#if relationship && relationship.blocking}