openvibers/openvibe.coupons Commits

Home: the "Part of OpenVibe" section (Shared 4.13) (#96)

OP OpenVibers committed 18 days ago · 9c24048342 · 2 files, +2 −1

* Home: the "Part of OpenVibe" section (Shared 4.13 showcase.network)

* Budget: htmlRawKB 37.3 with the Part of OpenVibe section (Shared 4.13, 2026-10-26)

Changes

ddiff --git a/server/render/home.js b/server/render/home.js
iindex ab9b168..826ceee 100644
---- a/server/render/home.js
++++ b/server/render/home.js
@@@ -119,6 +119,7 @@ ${raw(showcase.features({
}))}
<section class="cp-sec" aria-labelledby="cp-faq"><div class="cp-head"><h2 id="cp-faq">Questions and answers</h2></div>
<div class="cp-faq">${d.faq.map((x) => h`<details><summary>${x.q}</summary><p>${x.a}</p></details>`)}</div></section>
++${raw(showcase.network({ service: 'coupons' }))}
${raw(showcase.cta({ title: 'Have a code?', text: 'Share it with a link to where it was published. People report whether it works, and everyone sees what they said.', actions: [{ label: 'Submit a code', href: '/submit', primary: true }, { label: 'Find deals on OpenVibe.Deals', href: 'https://openvibe.deals/' }] }))}
<p class="meta"><a href="/about">How statuses and confidence work</a> · <a href="/feed.xml">RSS</a> · <a href="/atom.xml">Atom</a> · <a href="/feed.json">JSON Feed</a></p>`;
}
ddiff --git a/test/perf-budget.test.js b/test/perf-budget.test.js
iindex f1c14cc..068472b 100644
---- a/test/perf-budget.test.js
++++ b/test/perf-budget.test.js
@@@ -12,7 +12,7 @@ const { spawn } = require('child_process');
const { measure, check, format } = require('openvibe-shared/perf-budget');
const BUDGETS = {
-- htmlRawKB: 37, // 33.7 with the curated front page (numbers, code tickets, the Companion, six questions and their JSON-LD; 2026-10-22); 24.1 with the showcase (17.4 before it; fresh database)
++ htmlRawKB: 42, // 37.3 with the Part of OpenVibe section (Shared 4.13, 2026-10-26); 33.7 with the curated front page (numbers, code tickets, the Companion, six questions and their JSON-LD; 2026-10-22); 24.1 with the showcase (17.4 before it; fresh database)
htmlBrotliKB: 9, // 7.9 with the curated front page; 6.2 (4.5 before the showcase)
jsFiles: 5, // 5 (openvibe-shared 2.9 shell: web-runtime.js)
jsRawKB: 268, // 263.4 with shared 4.11.0's seasonal navbar; 254.1 with openvibe-shared 4.9.0 (status text twins in every theme, 2026-10-23); 246.2 with openvibe-shared 4.2.x (Ask Actor in the navbar, 2026-10-15); 239.1 (212.2 before the shell's web-runtime.js)