This is the official website for H!NT Lab (Human-Intelligence iNTegration Lab) at Shanghai University. The lab focuses on exploring cutting-edge technologies for the deep integration of human intelligence and machine intelligence, dedicated to building more natural, efficient, and intelligent human-AI collaboration systems.
- Framework: Next.js 14 (Static Site Generation)
- Language: TypeScript
- Styling: CSS with custom properties
- Icons: Lucide React
- Deployment: GitHub Pages
- i18n: Custom JSON-based internationalization
- 🌐 Multilingual Support: Chinese, English, and Japanese
- 📱 Responsive Design: Mobile-friendly layout
- 🎨 Modern UI: Clean and professional interface
- 🚀 Static Export: Fast loading and SEO-friendly
- 🔍 Research Showcase: Display lab projects, publications, and team members
- 📄 Personal Profiles: Detailed pages for lab members
hintlab.cn/
├── app/ # Next.js app directory
│ ├── page.tsx # Homepage (Chinese)
│ ├── en/ # English pages
│ ├── ja/ # Japanese pages
│ ├── people/ # Personal profile pages
│ │ ├── wang_hao/ # Prof. Wang Hao's fixed profile
│ │ └── [id]/ # JSON-driven member profiles
│ ├── projects/ # Project detail pages
│ ├── publication/ # Publications page
│ ├── components/ # Reusable components
│ ├── lib/ # Utility functions
│ └── globals.css # Global styles
├── data/ # Structured content
│ ├── people/ # JSON-driven personal profile data
│ ├── projects.json # Research project cards and detail pages
│ └── publications.json # Publications data
├── i18n/ # Internationalization files
│ ├── zh.json # Chinese translations
│ ├── en.json # English translations
│ └── ja.json # Japanese translations
├── public/ # Static assets
│ ├── projects/ # Project logos
│ └── *.svg # Icons and images
└── .github/workflows/ # CI/CD configuration
-
Clone the repository
git clone https://github.com/hint-lab/hintlab.cn.git cd hintlab.cn -
Install dependencies
npm install
-
Run development server
npm run dev
-
Open browser Navigate to
http://localhost:3000
-
Build for production
npm run build
-
Preview production build
npm run start
-
Deploy to GitHub Pages
- The site automatically deploys when changes are pushed to the
mainbranch - GitHub Actions workflow handles the build and deployment process
- View deployment status at:
https://github.com/hint-lab/hintlab.cn/actions
- The site automatically deploys when changes are pushed to the
Edit data/projects.json. Each project record provides the homepage card, project detail page, links, videos, paper badges, status, and localized content.
{
"slug": "project-slug",
"name": "Project Name",
"label": "PROJECT",
"theme": "green",
"link": "https://project.example",
"video": "",
"statusTone": "ongoing",
"status": {
"zh": "进行中",
"en": "Ongoing",
"ja": "進行中"
},
"description": {
"zh": "Homepage card summary.",
"en": "Homepage card summary.",
"ja": "Homepage card summary."
}
}The generated routes are /projects/<slug>, /en/projects/<slug>, and /ja/projects/<slug>.
Personal profile pages are generated from data/people/*.json. Copy data/people/_template.json or an existing file such as data/people/yang_qi.json, then create data/people/<id>.json.
Generated links:
- Chinese:
/people/<id> - English:
/people/<id>/en - Japanese:
/people/<id>/ja
Existing examples:
- Prof. Wang Hao:
/people/wang_hao,/people/wang_hao/en,/people/wang_hao/ja - Yang Qi:
/people/yang_qi,/people/yang_qi/en,/people/yang_qi/ja
For the full schema and checklist, see data/people/README.md. To link a member from the homepage student table, also add the member href in i18n/zh.json, i18n/en.json, and i18n/ja.json.
Place PDF files in public/publications/ and update the i18n files.
Edit the student/alumni tables in the i18n files under the students or alumni sections.
- Fork the repository
- Create a feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
© 2025 H!NT Lab. All rights reserved.
- Email: wang-hao@shu.edu.cn
- Website: https://www.hintlab.cn/
这是上海大学 H!NT Lab(Human-Intelligence iNTegration Lab,人机智能融合实验室)的官方网站。实验室专注于探索人类智能与机器智能深度融合的前沿技术,致力于构建更加自然、高效、智能的人机协同系统。
- 框架: Next.js 14 (静态站点生成)
- 语言: TypeScript
- 样式: CSS 自定义属性
- 图标: Lucide React
- 部署: GitHub Pages
- 国际化: 基于 JSON 的自定义国际化方案
- 🌐 多语言支持: 中文、英文、日文
- 📱 响应式设计: 移动端友好布局
- 🎨 现代化界面: 简洁专业的设计
- 🚀 静态导出: 快速加载,SEO 友好
- 🔍 研究展示: 展示实验室项目、论文和团队成员
- 📄 个人主页: 详细的成员个人页面
hintlab.cn/
├── app/ # Next.js 应用目录
│ ├── page.tsx # 主页(中文)
│ ├── en/ # 英文页面
│ ├── ja/ # 日文页面
│ ├── people/ # 个人主页
│ │ ├── wang_hao/ # 王昊教授固定主页
│ │ └── [id]/ # JSON 驱动的成员个人主页
│ ├── projects/ # 项目详情页
│ ├── publication/ # 研究成果页面
│ ├── components/ # 可复用组件
│ ├── lib/ # 工具函数
│ └── globals.css # 全局样式
├── data/ # 结构化内容
│ ├── people/ # JSON 驱动的个人主页数据
│ ├── projects.json # 研究项目卡片与详情页数据
│ └── publications.json # 论文数据
├── i18n/ # 国际化文件
│ ├── zh.json # 中文翻译
│ ├── en.json # 英文翻译
│ └── ja.json # 日文翻译
├── public/ # 静态资源
│ ├── projects/ # 项目 logo
│ └── *.svg # 图标和图片
└── .github/workflows/ # CI/CD 配置
-
克隆仓库
git clone https://github.com/hint-lab/hintlab.cn.git cd hintlab.cn -
安装依赖
npm install
-
运行开发服务器
npm run dev
-
打开浏览器 访问
http://localhost:3000
-
生产环境构建
npm run build
-
预览生产构建
npm run start
-
部署到 GitHub Pages
- 当更改推送到
main分支时,网站会自动部署 - GitHub Actions 工作流处理构建和部署过程
- 查看部署状态:
https://github.com/hint-lab/hintlab.cn/actions
- 当更改推送到
编辑 data/projects.json。每个项目记录同时驱动首页卡片、项目详情页、官网/视频/论文链接、状态和多语言内容。
{
"slug": "project-slug",
"name": "项目名称",
"label": "PROJECT",
"theme": "green",
"link": "https://project.example",
"video": "",
"statusTone": "ongoing",
"status": {
"zh": "进行中",
"en": "Ongoing",
"ja": "進行中"
},
"description": {
"zh": "首页卡片短摘要。",
"en": "Homepage card summary.",
"ja": "Homepage card summary."
}
}生成的项目链接为 /projects/<slug>、/en/projects/<slug>、/ja/projects/<slug>。
个人主页由 data/people/*.json 自动生成。复制 data/people/_template.json 或已有示例 data/people/yang_qi.json,创建 data/people/<id>.json。
生成链接:
- 中文:
/people/<id> - 英文:
/people/<id>/en - 日文:
/people/<id>/ja
现有示例:
- 王昊教授:
/people/wang_hao、/people/wang_hao/en、/people/wang_hao/ja - 杨琪:
/people/yang_qi、/people/yang_qi/en、/people/yang_qi/ja
完整 schema 和检查清单见 data/people/README.md。如果需要从首页学生表链接到个人主页,还要在 i18n/zh.json、i18n/en.json、i18n/ja.json 中给对应成员补 href。
将 PDF 文件放在 public/publications/ 目录下,并更新国际化文件。
在国际化文件的 students 或 alumni 部分编辑学生/校友表格。
- Fork 本仓库
- 创建特性分支 (
git checkout -b feature/AmazingFeature) - 提交更改 (
git commit -m 'Add some AmazingFeature') - 推送到分支 (
git push origin feature/AmazingFeature) - 开启 Pull Request
© 2025 H!NT Lab. 保留所有权利。