feat: intro video + /how-it-works page (spec-v7) — Remotion video/ project (62s explainer, centered scene composition), self-hosted MP4 + poster + EN/VI VTT, lazy page + manifest + UI group 15 + nav entry, spec-v7 + AGENTS updates

This commit is contained in:
dong.nguyen committed 2026-10-28 23:12:44 +07:00
1 parent 9124f569fb
commit 7bb7bd68ae
42 files changed
+4039 -17

No files matched your search

+29
View File
@@ -0,0 +1,29 @@
{
"heading": "How this site works",
"intro": "This portfolio has no CMS admin area. The content lives in a git repository, editing happens on the very pages you are looking at, and every merge to master deploys automatically.",
"videoAria": "Introduction video: how the portfolio stores its content in git, edits it live on the site, and deploys through GitHub Actions",
"stepsTitle": "Three moving parts",
"steps": [
{
"title": "Live editing on the real pages",
"body": "Append ?edit to any URL. After an HTTP Basic prompt at the nginx proxy, the page you are looking at becomes the editor: text, tags, records and settings edit in place. Every save becomes a commit to a branch through the GitHub Contents API; on a conflict a three-way rebase keeps your edit."
},
{
"title": "Git is the content store",
"body": "Content is JSON: language-neutral structure documents, per-language text dictionaries and per-page field manifests. Branches are previews — ?edit=preview lets you edit and view a branch before anything reaches master. No database, no admin panel."
},
{
"title": "Merge to master, go live",
"body": "Pushing master triggers the GitHub Actions pipeline: a type-checked build, bilingual resume PDFs, and an rsync deploy to the VPS. Infrastructure changes redeploy the container through their own guarded workflow. From commit to live in minutes."
}
],
"chaptersTitle": "Chapters",
"chapters": [
{ "time": "0:00", "label": "Intro" },
{ "time": "0:05", "label": "Content as documents" },
{ "time": "0:14", "label": "Live editing" },
{ "time": "0:32", "label": "Git as the content store" },
{ "time": "0:43", "label": "Automatic deployment" },
{ "time": "0:55", "label": "Closing" }
]
}
+1
View File
@@ -5,6 +5,7 @@
"experience": "Experience",
"projects": "Projects",
"philosophy": "Philosophy",
"how-it-works": "How it works",
"contact": "Contact",
"palette": "Theme",
"paletteAria": "Switch theme color",
+29
View File
@@ -0,0 +1,29 @@
{
"heading": "Trang hoạt động như thế nào",
"intro": "Portfolio này không có vùng quản trị CMS. Nội dung nằm trong một repository git, việc chỉnh sửa diễn ra ngay trên trang bạn đang xem, và mỗi lần merge vào master đều tự động triển khai.",
"videoAria": "Video giới thiệu: cách trang lưu nội dung trong git, chỉnh sửa trực tiếp trên site và triển khai tự động qua GitHub Actions",
"stepsTitle": "Ba mảnh ghép",
"steps": [
{
"title": "Chỉnh sửa trực tiếp trên trang thật",
"body": "Thêm ?edit vào bất kỳ URL nào. Sau hộp thoại HTTP Basic ở nginx, chính trang bạn đang xem trở thành trình soạn thảo: văn bản, thẻ, bản ghi và cấu hình chỉnh sửa ngay tại chỗ. Mỗi lần lưu trở thành một commit trên nhánh qua GitHub Contents API; khi có xung đột, bản rebase ba phía giữ lại chỉnh sửa của bạn."
},
{
"title": "Git là kho nội dung",
"body": "Nội dung là các tệp JSON: tài liệu cấu trúc trung lập ngôn ngữ, từ điển văn bản theo từng ngôn ngữ và manifest trường theo từng trang. Nhánh là bản xem trước — ?edit=preview cho phép sửa và xem một nhánh trước khi lên master. Không có database, không có admin panel."
},
{
"title": "Merge vào master, lên site",
"body": "Push vào master kích hoạt pipeline GitHub Actions: build có type-check, tạo resume PDF song ngữ, rsync lên VPS. Thay đổi hạ tầng được tái triển khai bằng workflow riêng có kiểm tra trước. Từ commit đến khi live chỉ vài phút."
}
],
"chaptersTitle": "Các chương",
"chapters": [
{ "time": "0:00", "label": "Giới thiệu" },
{ "time": "0:05", "label": "Nội dung là tài liệu JSON" },
{ "time": "0:14", "label": "Chỉnh sửa trực tiếp" },
{ "time": "0:32", "label": "Git là kho nội dung" },
{ "time": "0:43", "label": "Triển khai tự động" },
{ "time": "0:55", "label": "Kết" }
]
}
+1
View File
@@ -5,6 +5,7 @@
"experience": "Kinh nghiệm",
"projects": "Dự án",
"philosophy": "Triết lý",
"how-it-works": "Cách vận hành",
"contact": "Liên hệ",
"palette": "Giao diện",
"paletteAria": "Đổi màu giao diện",