import { useRef, useEffect } from 'react'; import { Canvas, useFrame } from '@react-three/fiber'; import { Sphere, MeshDistortMaterial, Float, Stars } from '@react-three/drei'; import { motion } from 'framer-motion'; import { Button } from '@/components/ui/button'; import { ArrowDown, Github, Zap } from 'lucide-react'; import * as THREE from 'three'; // 3D Animated Sphere Component function AnimatedSphere() { const meshRef = useRef(null); useFrame((state) => { if (meshRef.current) { meshRef.current.rotation.x = Math.sin(state.clock.elapsedTime) * 0.2; meshRef.current.rotation.y += 0.01; meshRef.current.position.y = Math.sin(state.clock.elapsedTime * 0.5) * 0.2; } }); return ( ); } // Floating Particles function FloatingNodes() { const groupRef = useRef(null); useFrame((state) => { if (groupRef.current) { groupRef.current.rotation.y += 0.002; } }); const nodes = Array.from({ length: 8 }, (_, i) => { const angle = (i / 8) * Math.PI * 2; const radius = 4; return { position: [ Math.cos(angle) * radius, Math.sin(angle * 0.5) * 2, Math.sin(angle) * radius, ] as [number, number, number], color: i % 2 === 0 ? "#7C4DFF" : "#00BCD4", }; }); return ( {nodes.map((node, i) => ( ))} ); } const HeroSection = () => { const scrollToDashboard = () => { const dashboardSection = document.getElementById('dashboard'); dashboardSection?.scrollIntoView({ behavior: 'smooth' }); }; return (
{/* 3D Canvas Background */}
{/* Gradient Overlay */}
{/* Hero Content */}
Powered by RAG + LLM Architecture

Smarter Resume
Analysis

Advanced AI-powered resume matching with RAG architecture. Analyze, compare, and find the perfect candidates with intelligent vector search.

{[ { title: "RAG Architecture", desc: "Vector search with ChromaDB" }, { title: "LLM Integration", desc: "Powered by Ollama/Mistral" }, { title: "Smart Matching", desc: "AI-driven resume analysis" } ].map((feature, i) => (

{feature.title}

{feature.desc}

))}
{/* Scroll Indicator */}
); }; export default HeroSection;