diff --git a/scripts/check.mjs b/scripts/check.mjs index 3287c2b..678bf90 100644 --- a/scripts/check.mjs +++ b/scripts/check.mjs @@ -118,9 +118,18 @@ for (const value of [ ]) { assert(html.includes(value), value); } +assert(html.includes("Search the library")); +assert(html.includes("Search by title, task, or contributor")); +assert(html.includes('class="search-field"')); +assert(html.includes("styles.css?v=20260622-search-prominence")); +assert(css.includes(".search-control-label")); +assert(css.includes(".search-control:hover .search-field")); +assert(css.includes(".search-control:focus-within .search-field")); assert.equal((html.match(/data-here-now-credit/g) || []).length, 2); -for (const page of [html, learnHtml, agentHtml]) { +for (const page of [learnHtml, agentHtml]) { assert(page.includes("styles.css?v=20260622-centered-host-credit")); +} +for (const page of [html, learnHtml, agentHtml]) { const brandPosition = page.indexOf('class="brand-lockup"'); const creditPosition = page.indexOf( 'class="here-now-credit here-now-credit--header"', diff --git a/site/index.html b/site/index.html index b45b977..36af896 100644 --- a/site/index.html +++ b/site/index.html @@ -132,7 +132,7 @@ href="https://signals.forwardfuture.ai/loop-library/agents/" /> - +