Release wave: no data collection, contact by email, deploy from src/

- Remove the request form, consent checkbox, honeypot, success dialog,
  form.js, analytics.js, the Yandex Metrica id and the cookie banner (D23).
- Contact is a mailto card to harveymonsterteam@gmail.com; privacy.html
  rewritten for "no data collected"; Google Fonts replaced by four
  self-hosted WOFF2 files, so the page makes no third-party request.
- Drop `summary` from the case contract: the project dialog shows the case
  body only, the planet plaque uses tagline, and a project without shots
  opens one honest slot instead of three fake ones.
- Restore the original voice and punctuation in 12 cards, strip internal
  wording from published copy, fix stale counts (20 projects, 5 releases).
- Deploy = contents of src/: api/ moved to archive/api/, new release gate
  scripts/check-release.mjs, deploy guide docs/deploy.md.
- Sync docs: AGENTS.md (D23, D8, R4 closed, structure), design/spec.md
  section 10.31, DESIGN.md, PRODUCT.md, INDEX.md, inventory.
This commit is contained in:
FastD committed 2026-11-15 17:34:40 +03:00
1 parent 76e6c2a294
commit 0ac596086a
52 files changed
+475 -660

No files matched your search

+3 -3
View File
@@ -17,7 +17,8 @@ const OUT = join(ROOT, 'src', 'data');
// Supports: scalar `key: value`, inline list `key: [a, b]`,
// block list `key:` + indented `- a` lines, block map `key:` + indented ` sub: v`.
function parseFrontmatter(path) {
const raw = readFileSync(path, 'utf8').replace(/^\uFEFF/, '');
// CRLF → LF on read: смешанные концы строк в content/ иначе уезжают \r в src/data/*.js.
const raw = readFileSync(path, 'utf8').replace(/^\uFEFF/, '').replace(/\r\n/g, '\n');
const m = raw.match(/^---\r?\n([\s\S]*?)\r?\n---\r?\n?([\s\S]*)$/);
const meta = {};
const body = m ? m[2] : raw;
@@ -156,8 +157,7 @@ function loadProjects() {
images: toList(meta.images).map(sitePath),
media: String(meta.media || ''), // 'portrait' — скриншоты 9:16: карточка и окно дают бокс выше
metrics: (meta.metrics && typeof meta.metrics === 'object') ? meta.metrics : '',
summary: coerce(meta.summary),
tagline: coerce(meta.tagline), // одна строка под заголовком карточки; summary живёт в окне
tagline: coerce(meta.tagline), // одна строка карточки + сводка в плашке планеты (D23)
detail: publicDetail(body),
};
out.push(p);