No description
Replace the ~60 ad-hoc clamp() paddings with one spacing scale (--space-1..5, --section-y) plus fixed lead-column widths (--index-w, --date-w) and a single 5:7 split (--split) shared by about / commission / contact / services / privacy blocks. Every section now opens the same way: a strong rule, 16px to the index+kicker+title head, 46px to the content. Secondary-page mastheads, filter bars and list rows share those steps too. Home featured works drop the staggered offsets for aligned 2-up / 3-up rows with a uniform 4:3 frame (lightbox and archive keep the uncropped original). Duplicate rules under the hero and the commission status band are gone, and one bottom margin before the footer replaces the per-page padding. |
||
|---|---|---|
| .cache | ||
| .config/google-chrome-for-testing/Crash Reports | ||
| .local/share/pki/nssdb | ||
| cms | ||
| deploy | ||
| docs | ||
| nginx | ||
| screenshots | ||
| scripts | ||
| site | ||
| web | ||
| worker | ||
| .env.example | ||
| .gitignore | ||
| docker-compose.yml | ||
| Makefile | ||
| README.md | ||
| status-report.md | ||
FLOW COLORS STUDIO · 平和川色彩所
Complete, production-oriented website for FLOW COLORS STUDIO, an independent custom painting / art studio run by 海怪 in Huizhou, Guangdong, China.
- Trilingual public site — Simplified Chinese (
/zh), English (/en), Japanese (/ja) - Unified Works archive (Sofubi, PC Mod, Custom, Original, Collaboration) with a masonry gallery, filtering, search and an accessible lightbox
- News / Journal publishing system with per-language publishing, drafts, scheduled publication and rich text with image captions
- Bidirectional Works ⇄ News relationships
- Dynamic homepage with manually featured works, automatic latest content and module toggles
- Commission availability management (open / limited / closed) enforced on the backend
- Inquiry system with private reference uploads, notes, statuses, CSV export and e-mail notifications
- Directus CMS: schema, permissions, service tokens, Insights dashboard, media library
- Image pipeline: original archival, EXIF orientation baking, GPS removal, derivative warm-up
- Docker Compose deployment with PostgreSQL, MinIO, nginx, backups and restore procedures
.
├── docker-compose.yml production stack (postgres · minio · directus · worker · web · nginx)
├── .env.example all configuration, no secrets committed
├── cms/
│ ├── bootstrap/ idempotent schema + permissions + seed (runs as a one-shot container)
│ └── extensions/ Directus endpoint (inquiry intake) + hook (content hygiene, guards)
├── web/ Next.js 15 public website (App Router, TypeScript)
├── worker/ background worker: media, scheduled publishing, e-mail
├── nginx/ bundled edge proxy
├── deploy/host-nginx/ host nginx vhost + TLS snippets for the current VPS
├── scripts/ backup · restore · smoke test
└── docs/ contract · deployment · admin manual · backup & restore
Quick start (local)
cp .env.example .env
# fill in every change-me value (openssl rand -hex 32)
docker compose up -d postgres minio minio-init directus
docker compose --profile setup run --rm cms-setup # schema + tokens + demo content
docker compose up -d worker web nginx
open http://127.0.0.1:8080/zh # public site
open http://127.0.0.1:8080/ # (edge) — CMS: see docs
The bootstrap prints the admin account and creates two static tokens (read-only website
token, write-only intake token). make help lists every operator shortcut.
Documentation
| Document | Contents |
|---|---|
| docs/contract.md | Frozen content API contract (collections, fields, image URLs, intake endpoint) |
| docs/deployment.md | Server requirements, TLS, first deploy, upgrades, migrations, recovery |
| docs/admin-manual.md | Day-to-day CMS manual and the four publishing workflows |
| docs/backup-restore.md | Backup policy, restore drill, disaster recovery |
| docs/verification.md | Integration test log of the running stack (what was verified) |
| docs/network-report.md | Pre-upgrade network measurements for the Singapore server |
Design
Editorial and archival in tone: Warm White #F1EFE9, Ink Black #181818,
Signal Red #D94A36, Concrete #D6CDBB. 70 % contemporary gallery, 20 % Japanese
underground culture, 10 % industrial workshop. No e-commerce, no cart, no prices —
commissions are conversation-first.
Licence / ownership
All artwork, photography and copy belong to 海怪 / FLOW COLORS STUDIO. The existing brand logo is supplied by the owner and must not be modified.