import Link from 'next/link'; import { getTranslations, Locale, getNavigationPaths } from '@/lib/i18n'; import Layout from '@/components/Layout'; export default async function NewsNotFound() { // Since we can't access params in not-found.tsx, we'll use the default locale const locale: Locale = 'zh-CN'; const common = await getTranslations(locale, 'common'); const navigationPaths = getNavigationPaths(locale); const navigation = [ { name: common.navigation.home, href: navigationPaths.find((p) => p.key === 'home')?.path || '/', }, { name: common.navigation.products, href: navigationPaths.find((p) => p.key === 'products')?.path || '/products', }, { name: common.navigation.news, href: navigationPaths.find((p) => p.key === 'news')?.path || '/news', }, { name: common.navigation.support, href: navigationPaths.find((p) => p.key === 'support')?.path || '/support', }, { name: common.navigation.about, href: navigationPaths.find((p) => p.key === 'about')?.path || '/about', }, ]; return (

404

文章未找到

抱歉,您请求的新闻文章不存在,或者该文章的当前语言版本尚未提供。

可能的原因:

  • 文章链接已过期或不正确
  • 该文章尚未翻译成当前语言
  • 文章已被移除或归档
p.key === 'news')?.path || '/news' } className="bg-blue-600 text-white px-6 py-3 rounded-lg hover:bg-blue-700 transition-colors font-light" data-oid="c45-.pd" > 返回新闻列表 p.key === 'home')?.path || '/'} className="bg-gray-100 text-gray-700 px-6 py-3 rounded-lg hover:bg-gray-200 transition-colors font-light" data-oid="vzzstbf" > 返回首页

如果您认为这是一个错误,请联系我们的技术支持团队。

); }