Skip to content

Commit 3298bba

Browse files
katiekleinkatiegoines
andauthored
change overview card titles from p to h2 (#7780)
Co-authored-by: katiegoines <katiegoines@gmail.com>
1 parent 03372e2 commit 3298bba

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Overview/Overview.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { PageNode } from '@/directory/directory';
2-
import { Card, Flex, View, Text } from '@aws-amplify/ui-react';
2+
import { Card, Flex, View, Heading } from '@aws-amplify/ui-react';
33
import Link from 'next/link';
44
import { useRouter } from 'next/router';
55
import { Platform } from '@/data/platforms';
@@ -40,9 +40,9 @@ export function Overview({ childPageNodes }: OverviewProps) {
4040
>
4141
<Card className="overview__link__card" variation="outlined">
4242
<Flex direction="column" gap="xs">
43-
<Text className="overview__link__card__title">
43+
<Heading level={2} className="overview__link__card__title">
4444
{node.title}
45-
</Text>
45+
</Heading>
4646
<View className="overview__link__card__description">
4747
{node.description}
4848
</View>

0 commit comments

Comments
 (0)