import React, { useState } from 'react'; import { Language } from './types'; import { RESUME_DATA } from './constants'; import LanguageToggle from './components/LanguageToggle'; import Section from './components/Section'; import ExperienceList from './components/ExperienceList'; import ProjectCard from './components/ProjectCard'; import { Mail, Phone, MessageSquare, Download, Linkedin, GraduationCap, Code2, ChevronDown, Award, Globe2 } from 'lucide-react'; const App: React.FC = () => { const [lang, setLang] = useState('zh'); const { name, title, summary, contact, skills, experience, projects, education } = RESUME_DATA; // Background images from Unsplash const heroBgImage = "https://images.unsplash.com/photo-1519389950473-47ba0277781c?q=80&w=2670&auto=format&fit=crop"; const footerBgImage = "https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2000&auto=format&fit=crop"; return (
{/* Navigation / Header */}
{name['en'].split(' ')[0][0]}
{lang === 'en' ? 'Resume' : '个人简历'}
{/* Hero Section with Rich Background Image */}
{/* Background Image */}
{/* Overlay - White gradient for clean text readability */}
{lang === 'en' ? 'Available for new opportunities' : '正在寻找新机会'}

{name[lang]}

{title[lang]}

{summary[lang]}

{/* Contact Buttons */}
{/* Scroll Indicator */}
{/* Skills Section (Dark Band) */}
{/* Abstract BG pattern */}

{lang === 'en' ? 'Technical Expertise' : '技能特长'}

{lang === 'en' ? 'Core Competencies' : '核心技术栈'}

{skills.map((skill, idx) => (
{skill[lang]}
))}
{/* Experience Section */}
{/* Projects Section */}
{projects.map((project, index) => ( ))}
{/* Education Section */}
{education.map((edu, index) => (

{edu.school[lang]}

{edu.major[lang]}

{edu.degree[lang]} {edu.period}
))}
{/* Contact / Footer CTA Area */}

{lang === 'en' ? 'Let\'s work together' : '期待与您的合作'}

{lang === 'en' ? 'I am currently open to new opportunities in autonomous driving, simulation, and game development.' : '我目前正在寻找自动驾驶、仿真及游戏开发领域的新机会。'}

{/* Footer */}
); }; export default App;