这是一个关于开源项目办公室(OSPO)的中文社区网站,旨在为国内的 OSPO 从业者提供学习资源和交流平台。
├── app/ # Next.js 应用页面
│ ├── introduction/ # OSPO 简介
│ ├── organization/ # 组织形式
│ ├── operations/ # 职责与运营
│ ├── cases/ # 国内外案例
│ ├── resources/ # 图书与报告
│ ├── community/ # 社区与组织
│ ├── links/ # 友情链接
│ └── contributors/ # 社区贡献榜
├── data/ # 数据文件(可直接编辑)
│ ├── introduction.ts # 简介页面数据
│ ├── cases.ts # 案例数据
│ ├── resources.ts # 资源数据
│ ├── community.ts # 社区数据
│ ├── links.ts # 链接数据
│ └── contributors.ts # 贡献者数据
└── components/ # React 组件
所有网站内容都存储在 data/ 目录下的 TypeScript 文件中。你可以直接编辑这些文件来更新内容:
- 更新案例研究:编辑
data/cases.ts - 添加资源链接:编辑
data/resources.ts或data/links.ts - 更新社区信息:编辑
data/community.ts - 修改简介内容:编辑
data/introduction.ts
- Fork 本仓库
- 创建你的特性分支 (
git checkout -b feature/AmazingFeature) - 编辑
data/目录下的相关文件 - 提交你的修改 (
git commit -m 'Add some AmazingFeature') - 推送到分支 (
git push origin feature/AmazingFeature) - 开启一个 Pull Request
- TypeScript 类型安全:所有数据文件都使用 TypeScript,提供类型检查
- 易于维护:数据和展示逻辑分离,修改内容无需了解 React
- 版本控制友好:纯文本格式,便于 Git 追踪变更
```bash
npm install
npm run dev
npm run build ```
- 框架:Next.js 16
- 样式:Tailwind CSS v4
- 组件:shadcn/ui
- 语言:TypeScript
MIT License
如有任何问题或建议,欢迎通过 GitHub Issues 联系我们。