Skip to content

Commit

Permalink
fix(artist): adds h1 and h2 tags
Browse files Browse the repository at this point in the history
  • Loading branch information
dzucconi committed Jan 28, 2025
1 parent 2bc5d5a commit b4f5951
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
12 changes: 8 additions & 4 deletions src/Apps/Artist/Routes/CV/ArtistCVRoute.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Join, Spacer } from "@artsy/palette"
import { Stack, Text } from "@artsy/palette"
import { MetaTags } from "Components/MetaTags"
import type { ArtistCVRoute_viewer$data } from "__generated__/ArtistCVRoute_viewer.graphql"
import type * as React from "react"
Expand All @@ -18,9 +18,13 @@ const ArtistCVRoute: React.FC<React.PropsWithChildren<ArtistCVRouteProps>> = ({

return (
<>
<MetaTags title={`${viewer?.soloShows?.name} - CV | Artsy`} />
<MetaTags title={`${viewer?.soloShows?.name} CV | Artsy`} />

<Stack gap={4}>
<Text as="h1" variant="xl">
{viewer.soloShows?.name} CV
</Text>

<Join separator={<Spacer y={4} />}>
<ArtistCVGroupRefetchContainer
artist={viewer.soloShows}
title="Solo shows"
Expand All @@ -35,7 +39,7 @@ const ArtistCVRoute: React.FC<React.PropsWithChildren<ArtistCVRouteProps>> = ({
artist={viewer.fairBooths}
title="Fair booths"
/>
</Join>
</Stack>
</>
)
}
Expand Down
4 changes: 3 additions & 1 deletion src/Apps/Artist/Routes/CV/Components/ArtistCVGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ const ArtistCVGroup: FC<React.PropsWithChildren<ArtistCVGroupProps>> = ({
return (
<GridColumns>
<Column span={12}>
<Text variant="lg-display">{title}</Text>
<Text as="h2" variant="lg-display">
{title}
</Text>
</Column>

<Column span={8} start={4}>
Expand Down

0 comments on commit b4f5951

Please sign in to comment.