import { Link } from '@tanstack/react-router' import { ArrowRight } from 'lucide-react' import { useTranslation } from 'react-i18next' import { useSystemConfig } from '@/hooks/use-system-config' import { Button } from '@/components/ui/button' import { HeroTerminalDemo } from '../hero-terminal-demo' interface HeroProps { className?: string isAuthenticated?: boolean } export function Hero(props: HeroProps) { const { t } = useTranslation() const { systemName } = useSystemConfig() return (
{/* Radial gradient background */}
{/* Grid pattern */}

{t('Unified API Gateway for')}
{t('All Your AI Models')}

{systemName}{' '} {t( 'is an open-source AI API gateway for self-hosted deployments. Connect multiple upstream services, manage models, keys, quotas, logs, and routing policies in one place.' )}

{props.isAuthenticated ? ( ) : ( <> )}
) }