File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
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' ;
3
3
import Link from 'next/link' ;
4
4
import { useRouter } from 'next/router' ;
5
5
import { Platform } from '@/data/platforms' ;
@@ -40,9 +40,9 @@ export function Overview({ childPageNodes }: OverviewProps) {
40
40
>
41
41
< Card className = "overview__link__card" variation = "outlined" >
42
42
< Flex direction = "column" gap = "xs" >
43
- < Text className = "overview__link__card__title" >
43
+ < Heading level = { 2 } className = "overview__link__card__title" >
44
44
{ node . title }
45
- </ Text >
45
+ </ Heading >
46
46
< View className = "overview__link__card__description" >
47
47
{ node . description }
48
48
</ View >
You can’t perform that action at this time.
0 commit comments