From b4f5951fd1612c1ffc039acdef11056215d24559 Mon Sep 17 00:00:00 2001 From: dzucconi <mail@damonzucconi.com> Date: Tue, 28 Jan 2025 08:02:50 -0500 Subject: [PATCH] fix(artist): adds h1 and h2 tags --- src/Apps/Artist/Routes/CV/ArtistCVRoute.tsx | 12 ++++++++---- .../Artist/Routes/CV/Components/ArtistCVGroup.tsx | 4 +++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/Apps/Artist/Routes/CV/ArtistCVRoute.tsx b/src/Apps/Artist/Routes/CV/ArtistCVRoute.tsx index 809a6901daf..314d7e1939b 100644 --- a/src/Apps/Artist/Routes/CV/ArtistCVRoute.tsx +++ b/src/Apps/Artist/Routes/CV/ArtistCVRoute.tsx @@ -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" @@ -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" @@ -35,7 +39,7 @@ const ArtistCVRoute: React.FC<React.PropsWithChildren<ArtistCVRouteProps>> = ({ artist={viewer.fairBooths} title="Fair booths" /> - </Join> + </Stack> </> ) } diff --git a/src/Apps/Artist/Routes/CV/Components/ArtistCVGroup.tsx b/src/Apps/Artist/Routes/CV/Components/ArtistCVGroup.tsx index 0bbf3b4c9ac..8414243cc6e 100644 --- a/src/Apps/Artist/Routes/CV/Components/ArtistCVGroup.tsx +++ b/src/Apps/Artist/Routes/CV/Components/ArtistCVGroup.tsx @@ -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}>