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
hint-lab.github.io/
├── 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 profile
│ ├── publication/ # Publications page
│ ├── components/ # Reusable components
│ ├── lib/ # Utility functions
│ └── globals.css # Global styles
├── 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/hint-lab.github.io.git cd hint-lab.github.io -
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/hint-lab.github.io/actions
- The site automatically deploys when changes are pushed to the
Edit the corresponding i18n file (i18n/zh.json, i18n/en.json, or i18n/ja.json):
{
"projects": {
"cards": [
{
"name": "Project Name",
"description": "Project description",
"logo": "/projects/project-logo.svg",
"link": "https://project-url.com",
"status": "Under Development" // Optional
}
]
}
}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://hint-lab.github.io/
这是上海大学 H!NT Lab(Human-Intelligence iNTegration Lab,人机智能融合实验室)的官方网站。实验室专注于探索人类智能与机器智能深度融合的前沿技术,致力于构建更加自然、高效、智能的人机协同系统。
- 框架: Next.js 14 (静态站点生成)
- 语言: TypeScript
- 样式: CSS 自定义属性
- 图标: Lucide React
- 部署: GitHub Pages
- 国际化: 基于 JSON 的自定义国际化方案
- 🌐 多语言支持: 中文、英文、日文
- 📱 响应式设计: 移动端友好布局
- 🎨 现代化界面: 简洁专业的设计
- 🚀 静态导出: 快速加载,SEO 友好
- 🔍 研究展示: 展示实验室项目、论文和团队成员
- 📄 个人主页: 详细的成员个人页面
hint-lab.github.io/
├── app/ # Next.js 应用目录
│ ├── page.tsx # 主页(中文)
│ ├── en/ # 英文页面
│ ├── ja/ # 日文页面
│ ├── people/ # 个人主页
│ │ └── wang_hao/ # 王昊教授主页
│ ├── publication/ # 研究成果页面
│ ├── components/ # 可复用组件
│ ├── lib/ # 工具函数
│ └── globals.css # 全局样式
├── i18n/ # 国际化文件
│ ├── zh.json # 中文翻译
│ ├── en.json # 英文翻译
│ └── ja.json # 日文翻译
├── public/ # 静态资源
│ ├── projects/ # 项目 logo
│ └── *.svg # 图标和图片
└── .github/workflows/ # CI/CD 配置
-
克隆仓库
git clone https://github.com/hint-lab/hint-lab.github.io.git cd hint-lab.github.io -
安装依赖
npm install
-
运行开发服务器
npm run dev
-
打开浏览器 访问
http://localhost:3000
-
生产环境构建
npm run build
-
预览生产构建
npm run start
-
部署到 GitHub Pages
- 当更改推送到
main分支时,网站会自动部署 - GitHub Actions 工作流处理构建和部署过程
- 查看部署状态:
https://github.com/hint-lab/hint-lab.github.io/actions
- 当更改推送到
编辑相应的国际化文件(i18n/zh.json、i18n/en.json 或 i18n/ja.json):
{
"projects": {
"cards": [
{
"name": "项目名称",
"description": "项目描述",
"logo": "/projects/project-logo.svg",
"link": "https://project-url.com",
"status": "开发中" // 可选
}
]
}
}将 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. 保留所有权利。