mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-25 06:36:37 +00:00
Major additions: - Complete Next.js studio application with 1600+ components - Docker support (Dockerfile.combined, docker-compose.yml) - GCP deployment documentation and benchmarks - SQL benchmark scripts for performance testing - Sentry integration for monitoring - Comprehensive test suite and mocks Studio features: - Dashboard and admin interfaces - Data visualization components - Authentication and user management - API integration with RuVector backend - Static data and public assets 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
36 lines
993 B
TypeScript
36 lines
993 B
TypeScript
import { PageLayout } from 'components/layouts/PageLayout/PageLayout'
|
|
import { ScaffoldContainer } from 'components/layouts/Scaffold'
|
|
import { PropsWithChildren } from 'react'
|
|
|
|
import { useParams } from 'common'
|
|
|
|
const ApiKeysLayout = ({ children }: PropsWithChildren) => {
|
|
const { ref: projectRef } = useParams()
|
|
|
|
const navigationItems = [
|
|
{
|
|
label: 'Publishable and secret API keys',
|
|
href: `/project/${projectRef}/settings/api-keys`,
|
|
id: 'new-keys',
|
|
},
|
|
{
|
|
label: 'Legacy anon, service_role API keys',
|
|
href: `/project/${projectRef}/settings/api-keys/legacy`,
|
|
id: 'legacy-keys',
|
|
},
|
|
]
|
|
|
|
return (
|
|
<PageLayout
|
|
title="API Keys"
|
|
subtitle="Configure API keys to securely control access to your project"
|
|
navigationItems={navigationItems}
|
|
>
|
|
<ScaffoldContainer className="flex flex-col py-8 gap-8" bottomPadding>
|
|
{children}
|
|
</ScaffoldContainer>
|
|
</PageLayout>
|
|
)
|
|
}
|
|
|
|
export default ApiKeysLayout
|