mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-24 22:15:18 +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>
67 lines
2.1 KiB
TypeScript
67 lines
2.1 KiB
TypeScript
import { Book } from 'lucide-react'
|
|
import Link from 'next/link'
|
|
import { ComponentPropsWithoutRef, ElementRef, forwardRef } from 'react'
|
|
|
|
import { cn } from 'ui'
|
|
import { IntegrationDefinition } from '../Landing/Integrations.constants'
|
|
|
|
interface BuiltBySectionProps extends ComponentPropsWithoutRef<'div'> {
|
|
integration: IntegrationDefinition
|
|
}
|
|
|
|
export const BuiltBySection = forwardRef<ElementRef<'div'>, BuiltBySectionProps>(
|
|
({ integration, className, ...props }, ref) => {
|
|
const { docsUrl } = integration
|
|
const { name, websiteUrl } = integration?.author ?? {}
|
|
|
|
if (!name && !docsUrl && !websiteUrl) return null
|
|
|
|
return (
|
|
<div
|
|
ref={ref}
|
|
className={cn('flex flex-wrap items-center gap-8 md:gap-10 px-4 md:px-10', className)}
|
|
{...props}
|
|
>
|
|
{name && (
|
|
<div>
|
|
<div className="text-foreground-lighter font-mono text-xs mb-1">BUILT BY</div>
|
|
<div className="text-foreground-light text-sm">{name}</div>
|
|
</div>
|
|
)}
|
|
{docsUrl && (
|
|
<div>
|
|
<div className="text-foreground-lighter font-mono text-xs mb-1">DOCS</div>
|
|
<Link
|
|
href={docsUrl}
|
|
target="_blank"
|
|
rel="noreferrer"
|
|
className="text-foreground-light hover:text-foreground text-sm flex items-center gap-2"
|
|
>
|
|
<Book size={16} />
|
|
{docsUrl.includes('supabase.com/docs')
|
|
? 'Supabase Docs'
|
|
: docsUrl.includes('github.com')
|
|
? 'GitHub Docs'
|
|
: 'Documentation'}
|
|
</Link>
|
|
</div>
|
|
)}
|
|
{websiteUrl && (
|
|
<div>
|
|
<div className="text-foreground-lighter font-mono text-xs mb-1">WEBSITE</div>
|
|
<Link
|
|
href={websiteUrl}
|
|
target="_blank"
|
|
rel="noreferrer"
|
|
className="text-foreground-light hover:text-foreground text-sm"
|
|
>
|
|
{websiteUrl.replace('https://', '')}
|
|
</Link>
|
|
</div>
|
|
)}
|
|
</div>
|
|
)
|
|
}
|
|
)
|
|
|
|
BuiltBySection.displayName = 'BuiltBySection'
|