mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-25 15:03:46 +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>
33 lines
1.1 KiB
TypeScript
33 lines
1.1 KiB
TypeScript
import { SupportLink } from 'components/interfaces/Support/SupportLink'
|
|
import Link from 'next/link'
|
|
import { useEffect } from 'react'
|
|
import { Button } from 'ui'
|
|
|
|
export default function EmptyPageState({ error }: any) {
|
|
useEffect(() => {
|
|
console.error('Error', error)
|
|
}, [])
|
|
|
|
return (
|
|
<div className="mx-auto flex h-full w-full flex-col items-center justify-center space-y-6">
|
|
<div className="flex w-[320px] flex-col items-center justify-center space-y-3">
|
|
<h4 className="text-lg">Something went wrong 🤕</h4>
|
|
<p className="text-center text-sm text-foreground-light">
|
|
Sorry about that, please try again later or feel free to reach out to us if the problem
|
|
persists.
|
|
</p>
|
|
</div>
|
|
<div className="flex items-center space-x-4">
|
|
<Button asChild>
|
|
<Link href="/projects">Head back</Link>
|
|
</Button>
|
|
<Button asChild type="secondary">
|
|
<SupportLink>Submit a support request</SupportLink>
|
|
</Button>
|
|
</div>
|
|
<p className="text-sm text-foreground-light">
|
|
Error: [{error?.code}] {error?.message}
|
|
</p>
|
|
</div>
|
|
)
|
|
}
|