UX: add h1 tag to user page (#20378)

This commit is contained in:
chapoi 2023-02-20 23:26:14 +07:00 committed by GitHub
parent 7ed4eaabda
commit c8a4081a21
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -116,7 +116,7 @@
<UserProfileAvatar @user={{this.model}} @tagName="" /> <UserProfileAvatar @user={{this.model}} @tagName="" />
<div class="primary-textual"> <div class="primary-textual">
<div class="user-profile-names"> <div class="user-profile-names">
<div <h1
class="{{if this.nameFirst 'full-name' 'username'}} class="{{if this.nameFirst 'full-name' 'username'}}
user-profile-names__primary" user-profile-names__primary"
> >
@ -129,7 +129,7 @@
{{#if this.model.status}} {{#if this.model.status}}
<UserStatusMessage @status={{this.model.status}} /> <UserStatusMessage @status={{this.model.status}} />
{{/if}} {{/if}}
</div> </h1>
<div <div
class="{{if this.nameFirst 'username' 'full-name'}} class="{{if this.nameFirst 'username' 'full-name'}}
user-profile-names__secondary" user-profile-names__secondary"