From 5c9577a0c826c9b79d93b07cae7a0be3d01261cb Mon Sep 17 00:00:00 2001 From: Matthew Berman <748450+mberman84@users.noreply.github.com> Date: Mon, 22 Jun 2026 18:39:36 -0700 Subject: [PATCH] Make loop search more prominent --- scripts/check.mjs | 11 +++++++++- site/index.html | 26 ++++++++++++----------- site/styles.css | 54 ++++++++++++++++++++++++++++++++++++++--------- 3 files changed, 68 insertions(+), 23 deletions(-) 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/" /> - +