Progmasoft Git

progmaweb

The site and account service of Progmasoft: a Next.js frontend and an ASP.NET Core API.

Clonegit clone https://git.progmasoft.com/progmaweb

mainroot / apps / web / app / console / credentials / page.tsx

942 B · Raw · Log

// SPDX-FileCopyrightText: 2026 Progmasoft <support@progmasoft.com>
// SPDX-License-Identifier: AGPL-3.0-or-later

import type { Metadata } from "next";
import { CredentialsShell } from "@/components/credentials/CredentialsShell";
import { TokenList } from "@/components/credentials/TokenList";
import { getCredentialsMessages } from "@/lib/credentials-messages";
import { getLocale } from "@/lib/locale.server";

export async function generateMetadata(): Promise<Metadata> {
  return { title: getCredentialsMessages(await getLocale()).metadata.portal };
}

export default async function DevelopersPage() {
  const locale = await getLocale();
  const { portal } = getCredentialsMessages(locale);
  return (
    <CredentialsShell
      eyebrow={portal.eyebrow}
      title={portal.title}
      description={portal.description}
      locale={locale}
      site="console"
    >
      <TokenList locale={locale} />
    </CredentialsShell>
  );
}