Skip to content

Commit

Permalink
Merge pull request #1423 from uswitch/h1-author-name
Browse files Browse the repository at this point in the history
fix: update author name to use h1 instead of h2
  • Loading branch information
rajeevRVU authored Feb 16, 2022
2 parents 1ffb052 + 4913526 commit 384e209
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
11 changes: 11 additions & 0 deletions src/elements/author-profile/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

## [1.3.16](https://github.com/uswitch/trustyle/compare/@uswitch/[email protected]...@uswitch/[email protected]) (2022-02-16)


### Bug Fixes

* update author name to use h1 instead of h2 ([47ecbaf](https://github.com/uswitch/trustyle/commit/47ecbaf4dc17bd264f6fc100bc01a7fea3b43804))





## [1.3.15](https://github.com/uswitch/trustyle/compare/@uswitch/[email protected]...@uswitch/[email protected]) (2021-12-17)

**Note:** Version bump only for package @uswitch/trustyle.author-profile
Expand Down
2 changes: 1 addition & 1 deletion src/elements/author-profile/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@uswitch/trustyle.author-profile",
"version": "1.3.15",
"version": "1.3.16",
"license": "MIT",
"main": "lib/index.js",
"ts:main": "src/index.tsx",
Expand Down
6 changes: 3 additions & 3 deletions src/elements/author-profile/src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,15 @@ const AuthorProfile: React.FC<Props> = ({
variant: styles('content')
}}
>
<Themed.h2
<Themed.h1
sx={{
marginTop: 0,
marginBottom: 'xxs',
fontWeight: 'bold',
paddingBottom: 0,
variant: styles('name')
}}
as="h2"
as="h1"
>
<a
href={authorUrl}
Expand All @@ -180,7 +180,7 @@ const AuthorProfile: React.FC<Props> = ({
<span>{name}</span>
<span sx={{ variant: styles('role') }}>{role}</span>
</a>
</Themed.h2>
</Themed.h1>
<BioElement
sx={{
fontSize: 'sm',
Expand Down

0 comments on commit 384e209

Please sign in to comment.