We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa5cdb0 commit 12e5adcCopy full SHA for 12e5adc
src/components/Hero/MdxHero/index.tsx
@@ -1,17 +1,14 @@
1
-import { Heading, Stack } from "@chakra-ui/react"
2
-
3
import type { CommonHeroProps } from "@/lib/types"
4
5
import Breadcrumbs from "@/components/Breadcrumbs"
+import { Stack } from "@/components/ui/flex"
6
7
export type MdxHeroProps = Pick<CommonHeroProps, "breadcrumbs" | "title">
8
9
const MdxHero = ({ breadcrumbs, title }: MdxHeroProps) => (
10
- <Stack py="8" px="6" spacing="6" w="full">
+ <Stack className="w-full gap-6 px-6 py-8">
11
<Breadcrumbs {...breadcrumbs} />
12
- <Heading as="h1" size="2xl">
13
- {title}
14
- </Heading>
+ <h1>{title}</h1>
15
</Stack>
16
)
17
0 commit comments