import type { Metadata } from 'next';
import AboutUsComponent from "@/components/page/AboutUs";

type Props = {
  params: { lang: string }
}

export async function generateMetadata({ params }: Props): Promise<Metadata> {
  return {
    title: params.lang === 'id' ? 'Lingkaran Dua | Tentang Kami' : '双环 | 关于我们',
    description: params.lang === 'id' ? 'Lingkaran Dua adalah produsen peralatan dapur profesional di Indonesia, menghadirkan panci presto, aluminium & stainless berkualitas tinggi untuk dapur sehat.' : '双环，提供高品质厨房炊具，专为印尼家庭设计——耐用、安全、高效的锅具、压力锅与蒸锅。',
    keywords: params.lang === 'id' ? 'Lingkaran Dua, Tentang Kami' : '双环, 关于我们',
    robots: {
      index: true,
      follow: true,
      nocache: true,
      googleBot: {
        index: true,
        follow: false
      },
    },
  }
}

export default async function AboutUs() {
  return (
    <AboutUsComponent />
  );
}
