Landing page for Cuối Tuần Đi Đâu?, a mobile app helping Vietnamese parents in Hanoi and Ho Chi Minh City discover weekend activities for their families.
index.html— Main landing pageprivacy.html— Privacy policyterms.html— Terms of servicecommunity-standards.html— Community standards
- HTML with Tailwind CSS v3 (self-hosted, built from source)
- Inter font (self-hosted woff2)
- Playwright for visual regression tests
- Build system: TailwindCSS CLI + custom HTML partial compiler
- Node.js >= 18
- npm
npm install
npx playwright install --with-deps # for visual testsSource files live in src/ — do not edit the root HTML files directly (they are generated by the build).
src/*.src.html— HTML templates (with<!-- @include -->directives)src/input.css— Tailwind CSS sourcepartials/— Reusable HTML fragments (footer, icons)assets/js/— JavaScript (carousel, menu)assets/css/carousel.css— Hand-authored carousel styles
npm run dev # Watch CSS changes (rebuilds on save)
npm run build # Build CSS + HTML (one-shot)
npm run build:css # Build CSS only
npm run build:html # Build HTML onlyThe build script (scripts/build-html.js) processes src/*.src.html templates:
- Resolves
<!-- @include partials/file.html -->directives - Replaces
{{APK_VERSION}}withappVersionfrompackage.json - Strips HTML comments from output
npm run test:visual # Run visual regression tests
npm run test:visual:update # Update screenshot baselinesTests run across 4 viewports: mobile (375px), tablet (768px), desktop (1280px), wide (1440px).
- Edit files in
src/,partials/, orassets/— not the root HTML files - Run
npm run buildbefore committing - Run
npm run test:visualto check for regressions - Use conventional commit messages:
feat:,fix:,refactor:,docs:
All rights reserved.