import { notFound } from 'next/navigation'; import { MDXRemote } from 'next-mdx-remote/rsc'; import { Section, Container, Heading, Badge } from '@/components/ui'; import { getTranslations } from 'next-intl/server'; interface PageProps { params: { locale: string; slug: string; }; } export default async function StandardPage({ params: { locale, slug } }: PageProps) { const { getPageBySlug } = await import('@/lib/pages'); const pageData = await getPageBySlug(slug, locale); const t = await getTranslations('StandardPage'); if (!pageData) { notFound(); } return (