feat: add customer-owned frontend, device config, pricing (v1.2.0)

- Add frontend/ at root (customer's own React app, all pages)
- Add customers/tianpu/devices.json (17 devices, 375kW PV)
- Add customers/tianpu/pricing.json (Beijing TOU 4-tier)
- Add customers/tianpu/hooks/__init__.py
- Add .githooks/pre-commit to block core/ modifications
- Add CLAUDE.md, .gitignore
- Update docker-compose.override.yml frontend -> ./frontend
- Pin bcrypt==4.0.1 in requirements.txt

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Du Wenbo
2026-04-05 23:42:42 +08:00
parent f19e30e84e
commit fe53bf6319
121 changed files with 21699 additions and 1 deletions

13
frontend/index.html Normal file
View File

@@ -0,0 +1,13 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>天普智慧能源管理平台</title>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>