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