Add developer API, Prometheus metrics, and community links

This commit is contained in:
2026-10-12 19:59:37 +05:00
parent 3cc3136762
commit 018be5049e
50 changed files with 4087 additions and 31 deletions

View File

@@ -12,7 +12,7 @@ const links = [
["/docs", "Docs"],
] as const;
export function SiteNav() {
export function SiteNav({ forumUrl }: { forumUrl?: string | null }) {
const { t } = useI18n();
const pathname = usePathname();
return (
@@ -30,6 +30,11 @@ export function SiteNav() {
{t(label)}
</Link>
))}
{forumUrl && (
<a href={forumUrl} target="_blank" rel="noopener noreferrer">
{t("Forum")}
</a>
)}
</nav>
);
}