Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

422 B
Raw Blame
"use client";

import React from "react";

interface AdminOnlyNoticeProps {
  pageTitle: string;
}

export const AdminOnlyNotice: React.FC<AdminOnlyNoticeProps> = ({ pageTitle }) => (
  <div className="p-6 w-full min-w-0 flex-1">
    <h1 className="text-2xl font-semibold text-foreground mb-2">{pageTitle}</h1>
    <p className="text-sm text-muted-foreground">{pageTitle} is only available to admin users.</p>
  </div>
);