docs(oci): add reusable app catalog guide

This commit is contained in:
Jonatan
2026-10-30 10:43:32 +01:00
parent 5db3ae9c92
commit d3752f0417
12 changed files with 543 additions and 0 deletions
@@ -0,0 +1,29 @@
import type { Metadata } from "next"
import { getTranslations, setRequestLocale } from "next-intl/server"
import { DocPage } from "@/components/docs/DocBlocks"
const NAMESPACE = "docs.ociManager.contributeApp"
const URL = "https://proxmenux.com/docs/oci-manager/contribute-app"
const LINKS = {
roadmap: "https://github.com/users/MacRimi/projects/1",
catalog: "https://github.com/MacRimi/ProxMenux/tree/develop/oci/catalog",
validation: "https://github.com/MacRimi/ProxMenux/blob/develop/oci/VALIDATION.md",
}
export async function generateMetadata({ params }: { params: Promise<{ locale: string }> }): Promise<Metadata> {
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 <DocPage locale={locale} namespace={NAMESPACE} minutes={12} links={LINKS} />
}