import React, { useState, useEffect } from 'react'; import { Moon, Sun, Github, Mail, Linkedin, ExternalLink, Menu, X, Code, Sparkles, Rocket, Award, Send } from 'lucide-react'; export default function Portfolio() { const [darkMode, setDarkMode] = useState(true); const [activeSection, setActiveSection] = useState('home'); const [menuOpen, setMenuOpen] = useState(false); const [formData, setFormData] = useState({ name: '', email: '', message: '' }); const [formSubmitted, setFormSubmitted] = useState(false); useEffect(() => { const handleScroll = () => { const sections = ['home', 'about', 'projects', 'achievements', 'contact']; const scrollPosition = window.scrollY + 100; for (const section of sections) { const element = document.getElementById(section); if (element) { const { offsetTop, offsetHeight } = element; if (scrollPosition >= offsetTop && scrollPosition < offsetTop + offsetHeight) { setActiveSection(section); break; } } } }; window.addEventListener('scroll', handleScroll); return () => window.removeEventListener('scroll', handleScroll); }, []); const scrollToSection = (sectionId) => { const element = document.getElementById(sectionId); if (element) { element.scrollIntoView({ behavior: 'smooth' }); setMenuOpen(false); } }; const handleSubmit = (e) => { e.preventDefault(); setFormSubmitted(true); setTimeout(() => setFormSubmitted(false), 3000); setFormData({ name: '', email: '', message: '' }); }; const projects = [ { title: 'Task Manager', description: 'Full-featured task management system with admin controls and user task completion tracking.', tech: ['React', 'Node.js', 'MongoDB'], github: 'https://github.com/developeranveshraman', color: 'from-blue-500 to-cyan-500' }, { title: 'YouTube Analytics Dashboard', description: 'Comprehensive analytics tool designed for content creators to track performance metrics.', tech: ['React', 'YouTube API', 'Chart.js'], github: 'https://github.com/developeranveshraman', color: 'from-red-500 to-pink-500' }, { title: 'Air Mouse Controller', description: 'Innovative webcam-based hand-tracking system for touchless computer control.', tech: ['Python', 'OpenCV', 'MediaPipe'], github: 'https://github.com/developeranveshraman', color: 'from-purple-500 to-indigo-500' }, { title: 'NameForge', description: 'GitHub-powered subdomain registry system for seamless project hosting and management.', tech: ['Node.js', 'GitHub API', 'DNS'], github: 'https://github.com/developeranveshraman', color: 'from-green-500 to-emerald-500' }, { title: 'AnveshAI', description: 'Advanced AI platform featuring chat capabilities and intelligent image generation.', tech: ['React', 'OpenAI API', 'Python'], github: 'https://github.com/developeranveshraman', color: 'from-orange-500 to-yellow-500' }, { title: 'Adult Content Detector', description: 'Ethical NSFW detection system using machine learning for content moderation.', tech: ['Python', 'TensorFlow', 'Flask'], github: 'https://github.com/developeranveshraman', color: 'from-pink-500 to-rose-500' } ]; const achievements = [ { icon: , title: '15+ Projects', desc: 'Completed across various domains' }, { icon: , title: 'AI Enthusiast', desc: 'Building intelligent solutions' }, { icon: , title: 'Web3 Explorer', desc: 'Blockchain experiments' }, { icon: , title: 'Open Source', desc: 'Active GitHub contributor' } ]; return (
{/* Animated Background */}
{/* Navigation */} {/* Hero Section */}
Anvesh Raman Logo

Anvesh Raman

Game Developer • Full-Stack Developer • AI Enthusiast

Crafting immersive games and innovative web solutions with a passion for AI and blockchain technology

{/* About Section */}

About Me

Hey there! I'm Anvesh Raman, a passionate developer from India with a deep love for creating interactive experiences and innovative solutions. My journey in tech spans across game development, full-stack web development, and cutting-edge AI projects.

I thrive on building projects that push boundaries—whether it's developing immersive games, crafting intuitive web applications, or experimenting with blockchain technology. Each project is an opportunity to learn, grow, and create something meaningful.

When I'm not coding, you'll find me exploring new AI models, contributing to open-source projects, or brainstorming the next big idea. My goal is to leverage technology to solve real-world problems and create experiences that truly matter.

{/* Projects Section */}

Featured Projects

{projects.map((project, index) => (

{project.title}

{project.description}

{project.tech.map((tech, i) => ( {tech} ))}
View on GitHub
))}
{/* Achievements Section */}

Achievements & Skills

{achievements.map((achievement, index) => (
{achievement.icon}

{achievement.title}

{achievement.desc}

))}
{/* Contact Section */}

Get In Touch

setFormData({ ...formData, name: e.target.value })} className={`w-full px-4 py-3 rounded-lg ${darkMode ? 'bg-gray-700 border-gray-600' : 'bg-gray-100 border-gray-300'} border focus:outline-none focus:ring-2 focus:ring-purple-500`} placeholder="Your name" />
setFormData({ ...formData, email: e.target.value })} className={`w-full px-4 py-3 rounded-lg ${darkMode ? 'bg-gray-700 border-gray-600' : 'bg-gray-100 border-gray-300'} border focus:outline-none focus:ring-2 focus:ring-purple-500`} placeholder="your.email@example.com" />
{formSubmitted && (

Message sent successfully! ✓

)}
{/* Footer */}

© 2025 Anvesh Raman. Built with passion using React & Tailwind CSS

); }