Skip to content

Commit 9cda698

Browse files
committed
convert h3 to Heading
1 parent 9c94602 commit 9cda698

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/components/Callout.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import Translation from "./Translation"
55
import { TranslationKey } from "../utils/translations"
66
// Components
77
import Emoji from "./Emoji"
8-
import { Flex, Image, Text } from "@chakra-ui/react"
8+
import { Flex, Heading, Image, Text } from "@chakra-ui/react"
99

1010
export interface IProps {
1111
children?: React.ReactNode
@@ -55,9 +55,9 @@ const Callout: React.FC<IProps> = ({
5555
<Flex direction="column" justify="space-between" mt={10} h="full">
5656
<div>
5757
{emoji && <Emoji text={emoji} fontSize="5xl" />}
58-
<h3>
58+
<Heading as="h3" fontSize="2xl" lineHeight={1.4}>
5959
<Translation id={titleKey} />
60-
</h3>
60+
</Heading>
6161
<Text color="text200" fontSize="xl" lineHeight="140%">
6262
<Translation id={descriptionKey} />
6363
</Text>

0 commit comments

Comments
 (0)