import type { Metadata } from "next" import { getTranslations, setRequestLocale } from "next-intl/server" import { DocPage } from "@/components/docs/DocBlocks" const NAMESPACE = "docs.ociManager.hardware" const URL = "https://proxmenux.com/docs/oci-manager/hardware" const LINKS = { nvidiaLink: "/docs/hardware/nvidia-host", auditLink: "/docs/monitor/audit-report/changes", toolkitLink: "https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/install-guide.html", } export async function generateMetadata({ params }: { params: Promise<{ locale: string }> }): Promise { const { locale } = await params const t = await getTranslations({ locale, namespace: `${NAMESPACE}.meta` }) return { title: t("title"), description: t("description"), alternates: { canonical: URL }, openGraph: { title: t("title"), description: t("description"), type: "article", url: URL }, } } export default async function Page({ params }: { params: Promise<{ locale: string }> }) { const { locale } = await params setRequestLocale(locale) return }