Skip to content

Commit

Permalink
change overview card titles from p to h2 (#7780)
Browse files Browse the repository at this point in the history
Co-authored-by: katiegoines <katiegoines@gmail.com>
  • Loading branch information
katiegoines and katiegoines authored Jul 2, 2024
1 parent 03372e2 commit 3298bba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Overview/Overview.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { PageNode } from '@/directory/directory';
import { Card, Flex, View, Text } from '@aws-amplify/ui-react';
import { Card, Flex, View, Heading } from '@aws-amplify/ui-react';
import Link from 'next/link';
import { useRouter } from 'next/router';
import { Platform } from '@/data/platforms';
Expand Down Expand Up @@ -40,9 +40,9 @@ export function Overview({ childPageNodes }: OverviewProps) {
>
<Card className="overview__link__card" variation="outlined">
<Flex direction="column" gap="xs">
<Text className="overview__link__card__title">
<Heading level={2} className="overview__link__card__title">
{node.title}
</Text>
</Heading>
<View className="overview__link__card__description">
{node.description}
</View>
Expand Down

0 comments on commit 3298bba

Please sign in to comment.