Skip to content

Commit ce03fe3

Browse files
authored
Merge pull request #12256 from ethereum/fixBugBountyH1
Add H1 to bug bounty page
2 parents d9fb2bf + 5748953 commit ce03fe3

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

src/pages/bug-bounty.tsx

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import { serverSideTranslations } from "next-i18next/serverSideTranslations"
55
import {
66
Box,
77
Center,
8+
Heading,
89
ListItem,
910
UnorderedList,
1011
useColorModeValue,
@@ -103,18 +104,21 @@ const Subtitle = (props: ChildOnlyProp) => (
103104

104105
const SloganGradient = (props: ChildOnlyProp) => (
105106
<Box
106-
fontWeight="extrabold"
107-
fontSize={{ base: "2.5rem", lg: "5xl" }}
108-
lineHeight="xs"
109107
maxW="720px"
110108
mt="4"
111-
mb="0"
112109
bgClip="text"
113110
overflow="auto"
114111
sx={{ WebkitBackgroundClip: "text", WebkitTextFillColor: "transparent" }}
115112
bg="upgradesGradient"
116113
>
117-
<Text>{props.children}</Text>
114+
<Heading
115+
as="h1"
116+
fontSize={{ base: "2.5rem", lg: "5xl" }}
117+
fontWeight="800"
118+
mb="1.45rem"
119+
>
120+
{props.children}
121+
</Heading>
118122
</Box>
119123
)
120124

0 commit comments

Comments
 (0)