skillhub/web/LANDING_PAGE_REDESIGN.md
vsxd 78a37e2430 feat(web): redesign homepage with modern landing page
- Add new landing page with particle animation system
- Implement "Tech Weave" aesthetic with cyan/violet gradient theme
- Update fonts to Syne (headings) and IBM Plex Sans (body)
- Create hero section with search bar and CTA buttons
- Add feature showcase with 6 core capabilities
- Include stats display and call-to-action section
- Update routing to use landing page as homepage
- Keep original home page accessible at /skills route

Design highlights:
- Canvas-based particle connection animation (80 nodes)
- Dark theme with gradient effects and glow orbs
- Smooth fade-up animations with staggered delays
- Hover effects on cards and buttons
- Responsive layout for mobile/tablet/desktop
2026-03-12 22:27:58 +08:00

1.8 KiB
Raw Permalink Blame History

SkillHub 落地页重新设计

设计理念

采用"技术编织"Tech Weave美学风格通过以下元素传达 SkillHub 作为企业级技能注册中心的专业性和创新性:

视觉特点

  1. 动态粒子系统

    • Canvas 实现的粒子连接动画
    • 象征技能之间的连接和协作
    • 80个粒子节点动态连线效果
  2. 配色方案

    • 深蓝紫色基调slate-950, indigo-950
    • 霓虹青色点缀cyan-500
    • 紫罗兰色辅助violet-500
    • 营造科技感和未来感
  3. 字体选择

    • 标题Syne几何感强现代
    • 正文IBM Plex Sans技术感易读
    • 代码JetBrains Mono
  4. 动效设计

    • 渐入动画fade-up, fade-in
    • 悬浮卡片效果hover:scale-105
    • 渐变光晕gradient glow
    • 脉冲动画pulse

内容结构

  1. Hero 区域

    • 大标题 + 渐变文字效果
    • 搜索栏(带光晕效果)
    • CTA 按钮(探索技能 / 发布技能)
    • 统计数据展示(技能包、下载量、团队)
  2. 特性展示

    • 6个核心特性卡片
    • 图标 + 标题 + 描述
    • 悬浮交互效果
  3. CTA 区域

    • 快速开始指引
    • 命令行示例
    • 行动按钮
  4. 页脚

    • 版权信息
    • 导航链接

技术实现

  • React + TypeScript
  • TailwindCSS
  • Canvas API粒子动画
  • TanStack Router

文件变更

  • 新增:web/src/pages/landing.tsx - 新的落地页组件
  • 修改:web/src/app/router.tsx - 路由配置,将 landing 设为首页
  • 修改:web/index.html - 更新字体引用
  • 修改:web/src/index.css - 更新字体配置

本地预览

cd web
npm install --legacy-peer-deps
npm run dev

访问 http://localhost:5173 查看新的落地页。