import React from 'react'; import { Head, Link, usePage } from '@inertiajs/react'; import { useTranslation } from 'react-i18next'; import MarketingLayout from '@/layouts/marketing/MarketingLayout'; interface Props { post: { id: number; title: string; excerpt?: string; content: string; featured_image?: string; published_at: string; author?: { name: string }; slug: string; }; } const BlogShow: React.FC = ({ post }) => { const { t } = useTranslation('blog_show'); return ( {/* Hero Section */}

{post.title}

{t('by_author')} {post.author?.name || t('team')} | {t('published_on')} {new Date(post.published_at).toLocaleDateString('de-DE')}

{post.featured_image && ( {post.title} )}
{/* Post Content */}
{/* Back to Blog */}
{t('back_to_blog')}
); }; export default BlogShow;