import { notFound, redirect } from 'next/navigation'; import JsonLd from '@/components/JsonLd'; import { SITE_URL } from '@/lib/schema'; import { getPostBySlug, getAdjacentPosts, getReadingTime, getHeadings, } from '@/lib/blog'; import { Metadata } from 'next'; import Link from 'next/link'; import Image from 'next/image'; import PostNavigation from '@/components/blog/PostNavigation'; import PowerCTA from '@/components/blog/PowerCTA'; import TableOfContents from '@/components/blog/TableOfContents'; import { Heading } from '@/components/ui'; import { setRequestLocale } from 'next-intl/server'; import BlogEngagementTracker from '@/components/analytics/BlogEngagementTracker'; import { MDXRemote } from 'next-mdx-remote/rsc'; const mdxComponents = { Heading, h1: (props: any) => , // Hidden because Hero handles H1 h2: (props: any) => , h3: (props: any) => , h4: (props: any) => , p: (props: any) =>

, ul: (props: any) =>