import { setRequestLocale } from 'next-intl/server' import { MOCK_TOURS } from '@/lib/mock' import { notFound } from 'next/navigation' import Image from 'next/image' import { Clock, Star } from 'lucide-react' export default async function TourDetailPage({ params }: { params: Promise<{ locale: string, slug: string }> }) { const { locale, slug } = await params setRequestLocale(locale) const tour = MOCK_TOURS.find(t => t.slug === slug) if (!tour) notFound() return (
{tour.title}

{tour.title}

{tour.duration} 5.0 (Review)

{tour.description}

Price per person ${tour.price}
) }