--- import type { MarkdownLayoutProps } from 'astro'; import { type Lang, type FrontmatterProps } from '@/types'; import { defaultLang } from '@/i18n/ui'; import GlassHeader from '@/components/GlassHeader'; import Footer from '@/components/Footer'; import "../styles/global.css"; // Use Astro's MarkdownLayoutProps for proper type safety export type Props = MarkdownLayoutProps; // Access frontmatter data correctly for markdown layouts const { frontmatter } = Astro.props; const { title, description } = frontmatter; const lang = Astro.currentLocale as Lang || defaultLang; --- {title}

✨ {title}

{description && (

📝 {description}

)}