We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f4439a6 commit a5e4ca2Copy full SHA for a5e4ca2
1 file changed
next/components/dynamic-zone/hero.tsx
@@ -36,8 +36,7 @@ export const Hero = ({
36
as="h1"
37
className="text-4xl md:text-4xl lg:text-8xl font-semibold max-w-7xl mx-auto text-center mt-6 relative z-10 py-6"
38
>
39
- {heading.substring(0, heading.lastIndexOf(' '))}{' '}
40
- <Cover>{heading.split(' ').pop()}</Cover>
+ {heading}
41
</Heading>
42
<Subheading className="text-center mt-2 md:mt-6 text-base md:text-xl text-muted max-w-3xl mx-auto relative z-10">
43
{sub_heading}
0 commit comments