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>
64 lines
1.8 KiB
TypeScript
64 lines
1.8 KiB
TypeScript
import { BookOpen, Github } from 'lucide-react'
|
|
|
|
import { BASE_PATH } from 'lib/constants'
|
|
import { Badge, Button } from 'ui'
|
|
|
|
interface ClientLibraryProps {
|
|
language: string
|
|
officialSupport?: boolean
|
|
docsUrl?: string
|
|
gitUrl?: string
|
|
altIconName?: string
|
|
}
|
|
|
|
export const ClientLibrary = ({
|
|
language,
|
|
officialSupport,
|
|
docsUrl,
|
|
gitUrl,
|
|
altIconName,
|
|
}: ClientLibraryProps) => {
|
|
return (
|
|
<div className="flex items-start md:space-x-6">
|
|
<img
|
|
src={`${BASE_PATH}/img/libraries/${
|
|
altIconName ? `${altIconName}-icon.svg` : `${language.toLowerCase()}-icon.svg`
|
|
}`}
|
|
alt={`${language} logo`}
|
|
width="21"
|
|
className="hidden md:block"
|
|
/>
|
|
<div className="space-y-4">
|
|
<div className="flex items-center gap-2">
|
|
<img
|
|
src={`${BASE_PATH}/img/libraries/${
|
|
altIconName ? `${altIconName}-icon.svg` : `${language.toLowerCase()}-icon.svg`
|
|
}`}
|
|
alt={`${language} logo`}
|
|
width="21"
|
|
className="block md:hidden"
|
|
/>
|
|
<h5 className="flex items-center gap-2 text-base text-foreground">
|
|
{language} {!officialSupport && <Badge variant="success">Community</Badge>}
|
|
</h5>
|
|
</div>
|
|
<div className="flex gap-2">
|
|
{docsUrl && (
|
|
<a href={docsUrl} target="_blank" rel="noreferrer">
|
|
<Button icon={<BookOpen />} type="default">
|
|
Docs
|
|
</Button>
|
|
</a>
|
|
)}
|
|
{gitUrl && (
|
|
<a href={gitUrl} target="_blank" rel="noreferrer">
|
|
<Button icon={<Github />} type="default">
|
|
<span className="hidden md:inline">See</span> GitHub
|
|
</Button>
|
|
</a>
|
|
)}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
)
|
|
}
|