import React, { useState, useEffect, useRef } from 'react'; import { motion, useScroll, useTransform, AnimatePresence, useSpring, useMotionValue } from 'framer-motion'; import { Mail, Phone, MapPin, GraduationCap, Award, ChevronLeft, ChevronRight, X, Globe, Compass, Cpu, Maximize2, ChevronDown } from 'lucide-react'; /** * 最终版设计师 UI 界面 - 黄文曦 (WENXI HUANG) */ // --- 静态资源配置 --- const PROFILE_IMAGE = "https://raw.githubusercontent.com/bidxi/bidxi/7d86ae79b12394ac61b5dbb0ad77af894f723326/3.png"; const COMPANY_IMAGES = [ "https://raw.githubusercontent.com/bidxi/bidxi/fd71a1b0f7aea2c98d7bca796cf543e61d6e78d6/1.jpg", "https://raw.githubusercontent.com/bidxi/bidxi/fd71a1b0f7aea2c98d7bca796cf543e61d6e78d6/2.jpg", "https://raw.githubusercontent.com/bidxi/bidxi/fd71a1b0f7aea2c98d7bca796cf543e61d6e78d6/4.png", ]; const WORK_RESULT_IMAGES = [ "https://raw.githubusercontent.com/bidxi/bidxi/fd71a1b0f7aea2c98d7bca796cf543e61d6e78d6/5.jpg", "https://raw.githubusercontent.com/bidxi/bidxi/fd71a1b0f7aea2c98d7bca796cf543e61d6e78d6/39c125707825417fa043f0cc051ccd6e.jpg", "https://raw.githubusercontent.com/bidxi/bidxi/fd71a1b0f7aea2c98d7bca796cf543e61d6e78d6/6.png", "https://raw.githubusercontent.com/bidxi/bidxi/fd71a1b0f7aea2c98d7bca796cf543e61d6e78d6/7.jpg", "https://raw.githubusercontent.com/bidxi/bidxi/fd71a1b0f7aea2c98d7bca796cf543e61d6e78d6/8.jpg", "https://raw.githubusercontent.com/bidxi/bidxi/fd71a1b0f7aea2c98d7bca796cf543e61d6e78d6/9cdc6f83362385b452388f87376e39a6.jpg", "https://raw.githubusercontent.com/bidxi/bidxi/fd71a1b0f7aea2c98d7bca796cf543e61d6e78d6/f81d7727d8229e6812764edefd96aa2.jpg", "https://raw.githubusercontent.com/bidxi/bidxi/fd71a1b0f7aea2c98d7bca796cf543e61d6e78d6/%E5%9B%BE%E7%89%871.jpg", ]; const AWARDS = [ { id: 1, title: "第六届金芦苇工业设计奖", detail: "提名奖、入围奖", important: true, tag: "Top Honor" }, { id: 2, title: "2025年广东省大学生工业设计大赛", detail: "二等奖", important: true, tag: "Provincial" }, { id: 3, title: "紫金奖·中国(南京)大学生设计展", detail: "最具人气奖三等奖、最佳展品奖优秀奖", important: true, tag: "Creative" }, { id: 4, title: "第六届东方创意之星创新设计大赛", detail: "国赛铜奖、粤港澳赛区金奖" }, { id: 5, title: "第27届“河南之星“设计艺术大赛", detail: "学生组银奖、佳作奖" }, { id: 6, title: "第18届中国好创意暨全国数字艺术设计大赛", detail: "广东赛区一等奖、三等奖" }, { id: 7, title: "第九届两岸新锐设计竞赛·华灿奖", detail: "广东赛区 产品设计组三等奖" }, { id: 8, title: "第八届佛山”市长杯“工业设计大赛", detail: "概念设计组 入围奖" }, { id: 9, title: "第11届未来设计师·全国高校数字艺术设计大赛", detail: "广东赛区 二等奖 * 2" }, { id: 10, title: "第十届东方设计奖·全国高校创新设计大赛", detail: "广东赛区 三等奖 * 2" }, { id: 11, title: "第17届全国三维数字化创新设计大赛", detail: "广东赛区 三等奖" }, { id: 12, title: "第16届全国大学生广告艺术大赛", detail: "广东赛区 三等奖" }, { id: 13, title: "第七届中华设计奖设计大赛", detail: "概念组 入围奖" }, { id: 14, title: "第六届”憧憬·美丽中国“艺术设计大赛", detail: "优秀奖" }, ]; // --- 常用子组件 --- const ImageSlider = ({ images, onImageClick }) => { const [index, setIndex] = useState(0); const next = (e) => { e.stopPropagation(); setIndex((i) => (i + 1) % images.length); }; const prev = (e) => { e.stopPropagation(); setIndex((i) => (i - 1 + images.length) % images.length); }; return (
onImageClick(images[index])}>
全屏预览
); }; const ContactItem = ({ icon, label, value }) => (
{icon}
{label}
{value}
); const WorkBullet = ({ num, text }) => (
  • {num} {text}
  • ); export default function App() { const [highlightedAward, setHighlightedAward] = useState(null); const [isScanning, setIsScanning] = useState(true); const [selectedImage, setSelectedImage] = useState(null); const { scrollYProgress } = useScroll(); const smoothScroll = useSpring(scrollYProgress, { stiffness: 45, damping: 25, restDelta: 0.001 }); const mouseX = useMotionValue(0); const mouseY = useMotionValue(0); const handleMouseMove = (e) => { const { clientX, clientY } = e; mouseX.set(clientX / window.innerWidth - 0.5); mouseY.set(clientY / window.innerHeight - 0.5); }; const heroY = useTransform(smoothScroll, [0, 0.3], [0, -120]); const heroOpacity = useTransform(smoothScroll, [0, 0.15], [1, 0]); const awardBgRotate = useTransform(smoothScroll, [0.3, 0.6], [0, 15]); useEffect(() => { let interval; if (isScanning) { interval = setInterval(() => { setHighlightedAward(Math.floor(Math.random() * AWARDS.length)); }, 900); const timer = setTimeout(() => { setIsScanning(false); setHighlightedAward(Math.floor(Math.random() * 4)); setTimeout(() => setIsScanning(true), 7000); }, 4500); return () => { clearInterval(interval); clearTimeout(timer); }; } }, [isScanning]); return (
    {/* 导航栏 */} {/* Hero Section */}
    WENXI HUANG
    Industrial Design Portfolio 2026
    {/* About Section - 比例与大气感核心优化 */}
    {/* 核心标题与头像并置布局 */}
    Section 02 / Vision

    跨越边界,
    以逻辑驱动美学。

    {/* 适中比例的头像 */}
    setSelectedImage(PROFILE_IMAGE)} >
    Huang Wenxi / Studio Portrait
    {/* 正文排版 */}

    我是黄文曦,专注于工业设计与项目整合的研究者。 坚信优秀的设计不仅是视觉的愉悦,更是对复杂问题的深刻洞察与精准平衡。

    具备从概念构思、用户研究到量产落地的全链路执行能力。善于在跨部门协作中寻找最优解,以抗压与创新的双重特质应对行业挑战。致力于通过设计连接技术与生活美学,创造具有持久价值的产品体验。

    } label="教育背景" value="岭南师范学院 · 工业设计" /> } label="专业特长" value="产品语义 / 结构创新 / 整合研发" /> } label="电子邮箱" value="13211053092@163.com" /> } label="联络电话" value="+86 13211053092" />
    {/* Awards Section - 暗黑扫描风格 */}
    Archive of Honors

    荣获奖项

    {isScanning ? '正在同步获奖数据库...' : '扫描已完成'}
    {AWARDS.map((award, idx) => (
    {award.tag && ({award.tag})}

    {award.title}

    {award.detail}

    {String(idx + 1).padStart(2, '0')}
    ))}
    {/* Archive Section - 工作经历 */}

    经验归档

    2025 - 2026 Professional Archive

    2025.03 — 2026.03

    广东凌丰家居用品
    股份有限公司

    担任职位:项目经理 (国家级工业设计中心)

    Background专注于餐厨制品领域持续深耕, 构建规模化, 专业化, 国际化新发展格局。

    Core Missions

    “成功主导完成14款新品落地, 累计开发产值突破 ¥4,000,000+。”

    视觉成果展示图

    {/* Footer */} {/* 高清图片灯箱 */} {selectedImage && ( setSelectedImage(null)} > 作品高清大图 e.stopPropagation()} /> )}
    ); }