import { useParams } from 'common' import Link from 'next/link' import { Button, Badge, Menu } from 'ui' import { ArrowUpRight } from 'lucide-react' import { ProductMenu } from 'components/ui/ProductMenu' import type { ProductMenuGroup } from 'components/ui/ProductMenu/ProductMenu.types' import { Sidebar } from 'components/interfaces/Sidebar' export const ApiKeysMoved = () => { const { ref: projectRef } = useParams() // Create menu structure matching the ProductMenu expected format const mockMenu: ProductMenuGroup[] = [ { title: 'Project Settings', items: [ { name: 'General', key: 'general', url: '#' }, { name: 'Compute and Disk', key: 'compute-and-disk', url: '#' }, { name: 'Infrastructure', key: 'infrastructure', url: '#' }, { name: 'Integrations', key: 'integrations', url: '#' }, { name: 'API Keys', key: 'api-keys', url: '#', label: 'NEW' }, { name: 'JWT Keys', key: 'jwt-keys', url: '#', label: 'NEW' }, { name: 'Add Ons', key: 'addons', url: '#' }, { name: 'Vault', key: 'vault', url: '#', label: 'Alpha', rightIcon: , }, ], }, { title: 'Configuration', items: [{ name: 'Database', key: 'database', url: '#' }], }, ] return (

API keys and JWT settings have moved

They can now be found in their own respective pages.

{/* Menu illustration using the actual ProductMenu component */}
) }