import { getTranslations, Locale, getNavigationPaths } from '@/lib/i18n'; import { generateMetadata as generateSEOMetadata } from '@/lib/seo'; import Layout from '@/components/Layout'; import CompanyOverview from '@/components/about/CompanyOverview'; import CompanyMilestones from '@/components/about/CompanyMilestones'; import TeamSection from '@/components/about/TeamSection'; import CertificationsSection from '@/components/about/CertificationsSection'; interface AboutPageProps { params: { locale: Locale; }; } export async function generateStaticParams() { const locales = ['zh-CN', 'zh-TW', 'en']; return locales.map((locale) => ({ locale, })); } export async function generateMetadata({ params }: AboutPageProps) { return generateSEOMetadata(params.locale, 'about'); } export default async function AboutPage({ params }: AboutPageProps) { const { locale } = params; const [common, about] = await Promise.all([ getTranslations(locale, 'common'), getTranslations(locale, 'about'), ]); 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 ( {/* Hero Section */}

{about.title}

{about.subtitle}

{/* Company Overview */} {/* Company Milestones */} {/* Team Section */} {/* Certifications */}
); }