← Về thư mục
📄 / / root / ceo / projects / blog / nhi-nhi-vo-blog / APP_CONTEXT.md

APP CONTEXT — Nhi Nhi Vo Blog, Executive Portfolio & Vault CMS

This file provides the master architectural reference and context for any AI agent or developer working on this repository. It covers the application's purpose, Vault CMS blog engine, executive portfolio structure, PDF export system, dynamic reference pages, and content editing maps.


🌟 Overview & Live Endpoints

Nhi Nhi Vo Blog & Portfolio is a unified personal content platform, local-first markdown Vault CMS, executive advisory showcase, and PDF profile. It is part of a multi-project workspace governed by the Advanced Agentic (AG) Framework.

Key Live Domain Endpoints

Endpoint URL Route Type Purpose & Content Description
https://nhivo.io.vn/ Home / Portfolio Executive portfolio, bio quote, core metrics, 7-role career journey timeline, capability lenses, keynote list & gallery
https://nhivo.io.vn/pdf 7-Page A4 PDF Profile Standalone, print-ready 7-page portrait PDF profile (locked 297mm page height) for Cmd+P PDF export
https://nhivo.io.vn/references/ngoc-nguyen Reference Letter 100% verbatim recommendation from Nguyễn Phương Ngọc (Marketing Director, Meliá Serenity Cam Ranh)
https://nhivo.io.vn/references/vojtech-zehnalek Reference Letter 100% verbatim recommendation from Vojtech Zehnalek (Former CEO, InCorp Vietnam)
https://nhivo.io.vn/references/jessica-tran Reference Letter 100% verbatim recommendation from Jessica Tran (Former Senior Associate, Fossil Vietnam)
https://nhivo.io.vn/references/leo-dong-son-lam Reference Letter 100% verbatim recommendation from Leo Dong Son Lam (Associate Lecturer, RMIT University)

🛠️ Tech Stack & Typography


📁 Vault CMS & Content Management Flow

The blog operates as a Vault CMS, where content is written in Markdown/MDX and synchronized from a local Obsidian vault:


📄 PDF Export & Reference Letter Architecture (/pdf & /references/[id])

1. Print Instructions (Google Chrome / Safari)

  1. Open https://nhivo.io.vn/pdf
  2. Press Cmd+P (Mac) or Ctrl+P (Windows)
  3. Print Settings:
  4. Destination: Save as PDF
  5. Margins: None (Không)Crucial: Ensures warm cream paper (#F4F1E2) fills full A4 page edge-to-edge
  6. Options:
    • Uncheck "Headers and footers"
    • Check "Background graphics"

2. Page Sizing Rules (Fixed 297mm A4)

Every .pdf-page card is locked to exact A4 dimensions:

.pdf-page {
  width: 210mm;
  height: 297mm !important;
  max-height: 297mm !important;
  box-sizing: border-box !important;
  overflow: hidden !important;
}

This guarantees that pages never stretch or break unpredictably during print export.

3. 7-Page Architecture Overview

4. Verbatim Reference Data Mapping


5. Quy trình Kiểm thử và Phê duyệt Triển khai (Pre-deployment Testing & Approval)

Mọi thay đổi trên mã nguồn cần được kiểm thử cục bộ và nhận phê duyệt từ CEO trước khi đẩy lên GitHub/Vercel.

  1. Sửa đổi cục bộ: Thực hiện các thay đổi mã nguồn cục bộ.
  2. Biên dịch & Chạy thử Dev Server:
    • Chạy npm run build trong thư mục ./nhi-nhi-vietveda/.
    • Khởi chạy máy chủ phát triển cục bộ (npm run dev) trên một cổng mạng trống.
  3. Xuất bản Dev Test Link: Sử dụng Tailscale Funnel để tạo một URL công khai trỏ tới máy chủ dev cục bộ.
  4. CEO Review & Duyệt: Gửi URL này cho CEO để kiểm tra.
  5. Triển khai: Sau khi nhận được xác nhận đồng ý từ CEO, mới thực hiện git commitgit push để kích hoạt quá trình triển khai tự động trên Vercel.

🧠 Governance (The 4-Doc Rule + DESIGN.md)

This project strictly follows the workspace-standard 4-Doc Rule for persistence, supplemented by a master style specification: 1. README.md: Overview, live domain endpoints, quick start, and developer guides. 2. APP_CONTEXT.md: (This file) Deep architectural context, folder tree, content editing map, Vault CMS flow, and PDF/Reference system specifications. 3. PROJECT_STATUS.md: Current roadmap, session logs, active tasks, and next milestones. 4. CHANGELOG.md: Chronological log of revisions, layout updates, and feature milestones. 5. DESIGN.md: Visual Design System specification (palettes, typography tokens, component primitives).


📂 Directory Structure

nhi-nhi-vo-blog/
├── .obsidian/               # Obsidian vault settings & CMS sync rules
├── public/                  # Static assets (images, logos, open-graph cards)
│   └── images/
│       ├── certificates/    # High-res rotated credential PNGs
│       └── gallery/         # Sequencing portfolio WebP images (1-25)
├── scratch/                 # Source recommendation letters & reference documents
│   └── docs/Recommended letter/
├── src/                     # Core Astro source code
│   ├── components/          # Reusable Astro & React UI components
│   │   └── about/           # Modular About page visual components
│   ├── config/              # Modular template configuration rules & [CONFIG:...] sync
│   ├── content/             # Obsidian Markdown collections (Vault CMS)
│   │   ├── posts/           # Blog posts and articles
│   │   ├── projects/        # Portfolio case studies
│   │   ├── docs/            # Technical documentation
│   │   └── pages/           # Custom markdown-driven pages
│   ├── data/                # Data layers (separating data from layout)
│   │   └── about/           # Timelines, speaking data, referenceLetters.ts, translations.ts
│   ├── layouts/             # Page frameworks (PageLayout, PostLayout, AboutLayout)
│   ├── pages/               # Routing endpoints (index, pdf, references/[id], posts, API)
│   ├── styles/              # Global styles (global.css with custom HSL mappings)
│   └── themes/              # Astro Modular template options
├── tailwind.config.mjs      # Tailwind tokens, typography configs, and keyframes
├── vercel.json              # Vercel routing rules & custom domain configs
├── README.md                # 1 of 4 Governance Docs: Setup & Overview
├── APP_CONTEXT.md           # 2 of 4 Governance Docs: (This file) Architecture & Content Map
├── PROJECT_STATUS.md        # 3 of 4 Governance Docs: Session logs & Roadmap
├── CHANGELOG.md             # 4 of 4 Governance Docs: Revisions & Release notes
└── DESIGN.md                # Reusable master Design System specification

📝 Content Editing Reference (Section-by-Section Map)

To update, edit, or translate specific content on the website or blog, reference the file map below:

1. General, Navigation & Vault CMS

2. Chapter 1: Purpose & Hero

3. Chapter 2: Expertise Lenses

4. Chapter 3: Career Timeline Journey

5. Chapter 4: Thought Leadership & Speaking

6. Chapter 5: Education & Certifications

7. Chapter 6: Values & Philosophy

9. Reference Letters


🚀 Deployment Protocol