Add developer API, Prometheus metrics, and community links
This commit is contained in:
23
app/dev/api/page.tsx
Normal file
23
app/dev/api/page.tsx
Normal file
@@ -0,0 +1,23 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Header, Footer } from "@/components/Shell";
|
||||
import { DeveloperPanel } from "@/components/DeveloperPanel";
|
||||
import { user } from "@/lib/supabase";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Developer API",
|
||||
description: "Create and manage scoped MineGeo API keys.",
|
||||
};
|
||||
export const dynamic = "force-dynamic";
|
||||
|
||||
export default async function DeveloperApiPage() {
|
||||
const account = await user();
|
||||
return (
|
||||
<>
|
||||
<Header />
|
||||
<main className="section page-content">
|
||||
<DeveloperPanel signedIn={Boolean(account)} />
|
||||
</main>
|
||||
<Footer />
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user