import { useAuth } from "@/_core/hooks/useAuth"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { getLoginUrl } from "@/const"; import { Link } from "wouter"; import { ArrowRight, Zap, Code2, Brain, Cpu, Shield, TrendingUp } from "lucide-react"; export default function Home() { const { user, isAuthenticated } = useAuth(); // Temporary bypass for login const isDirectAccess = true; if (isAuthenticated || isDirectAccess) { return (
{/* Navigation */} {/* Hero Section */}

AI-Powered Code Generation & Evaluation

Generate, evaluate, and optimize code with advanced AI models. Support for multiple modes and content types.

{/* Features Grid */}
{[ { icon: Code2, title: "Code Generation", description: "Generate production-ready code with Qwen AI", color: "from-green-400 to-emerald-500", }, { icon: Brain, title: "AI Evaluation", description: "Evaluate code quality with DeepSeek analysis", color: "from-cyan-400 to-blue-500", }, { icon: Cpu, title: "Iterative Loop", description: "Continuous improvement through AI feedback loops", color: "from-purple-400 to-pink-500", }, { icon: Shield, title: "Security Focus", description: "Analyze code for security vulnerabilities", color: "from-orange-400 to-red-500", }, { icon: TrendingUp, title: "Performance Metrics", description: "Track and optimize code performance", color: "from-yellow-400 to-orange-500", }, { icon: Zap, title: "Real-time Processing", description: "Instant code generation and evaluation", color: "from-pink-400 to-rose-500", }, ].map((feature, idx) => { const Icon = feature.icon; return (
{feature.title}

{feature.description}

); })}
{/* CTA Section */}

Ready to Transform Your Code?

Start generating and evaluating code with AI today. Create your first project and see the power of intelligent code generation.

); } return (

Hacking Factory

AI-Powered Code Generation & Evaluation Platform

); }