A content website explaining physics topics in simple, accessible language.
The site contains 200 Markdown articles and exports static files to out/.
The original domain and article URLs remain https://physicsexplained.org/<slug>.
- 上线与更新流程
- 实际上线记录
- Build and validate:
npm run buildthennpm run verify:static - Publish after authorization:
npm run deploy - Check production URLs:
npm run verify:live
The older planning checklist below is historical; use deployment records for current release status.
✅ Completed:
- Project structure setup (Next.js + TypeScript + Tailwind CSS)
- Brand theme and color scheme (Deep Purple + Cyan)
- Physics category system (6 main categories, 24 subcategories)
- Content structure documentation and writing style guide
- All necessary pages and components
npm cinpm run devOpen http://localhost:3000 to view the site.
npm run build
npm run verify:staticProduction uses the exported out/ directory; next start does not serve this static export. Use npm run dev for local development.
PhysicsExplained/
├── app/ # Next.js app directory
│ ├── [slug]/ # Article pages
│ ├── categories/ # Category pages
│ ├── about/ # About page
│ └── ...
├── components/ # React components
│ ├── article/ # Article-related components
│ └── layout/ # Layout components
├── content/ # Content files
│ ├── categories/ # Category metadata (6 categories)
│ ├── subcategories/ # Subcategory metadata (24 subcategories)
│ └── topics/ # Article content (to be generated)
├── lib/ # Utility functions
├── config/ # Configuration files
└── docs/ # Documentation
├── 品牌与定位.md
└── 内容结构/
├── 内容组织规范.md
└── 写作风格指南.md
- Primary: Deep Purple
#2d1b4e - Accent: Cyan
#00d4ff - Text: Dark Gray
#2c3e50
- Classical Mechanics (4 subcategories)
- Thermodynamics & Statistical Physics (4 subcategories)
- Electromagnetism (4 subcategories)
- Optics (4 subcategories)
- Modern Physics (4 subcategories)
- Everyday Physics (4 subcategories)
- Generate first sample article for review
- Generate first 10 articles
- Generate remaining 90 articles (total 100 articles)
See docs/ directory for:
- Brand positioning and guidelines
- Content organization standards
- Writing style guide