'use client'; import { ScrollReveal } from '@/components/ui/scroll-reveal'; import { Badge } from '@/components/ui/badge'; import { Calendar, ArrowLeft, Newspaper, ArrowRight } from 'lucide-react'; import { SectionLabel, EASE_OUT } from '@/components/ui/page-decoration'; import { motion } from 'framer-motion'; import type { NewsItem } from '@/lib/constants/news'; function RelatedNewsCard({ news, index }: { news: NewsItem; index: number }) { return (
{news.image ? ( {news.title} ) : (
)}
{news.category}

{news.title}

{news.excerpt}

); } interface NewsDetailContentV3Props { news: NewsItem; relatedNews?: NewsItem[]; } export default function NewsDetailContentV3({ news, relatedNews = [] }: NewsDetailContentV3Props) { return (
{/* Hero Section */}
{news.category}

{news.title}

{news.date}
{/* Article Body Section */}
{/* Featured Image */} {news.image ? (
{news.title}
) : (
)} {/* Excerpt */}

{news.excerpt}

{/* Article Content */}
{news.content}
{/* Related News */} {relatedNews.length > 0 && (
Related News

相关新闻

{relatedNews.map((related, idx) => ( ))}
)} {/* Navigation */}
); }