Qentrah
Projects
Guides

How a page is built

View as Markdown
  1. Scrape — npm run scrape fetches live HTML + /_next/static assets into public/ (same paths, zero rewrites), splits header/body/footer into components/exact/, extracts giant inline base64 PNGs to public/images/, saves telda's stylesheet as public/telda-core.css.
  2. Translate — node scripts/translate-ar.mjs builds the AR landing from the EN home files (61-string EN→AR map, reports leftovers).
  3. Render — components/TeldaPage.tsx injects markup and boots behaviours.

Source captured: 2026-10-11