openvibers/openvibe.deals Commits

Hero: no site name above the title (#290)

OP OpenVibers committed 3 days ago · 46329c3472 · 1 file, +0 −1

The navbar already says OpenVibe.Deals; the hero repeated it as a pill. Remove it; the h1 leads. Hero top padding unchanged (32px) so no empty gap.

Changes

ddiff --git a/server/render/home.js b/server/render/home.js
iindex d56adfa..ad3082d 100644
---- a/server/render/home.js
++++ b/server/render/home.js
@@@ -117,7 +117,6 @@ function faqJsonLd(items) {
*/
function homePage(d, urls) {
const hero = html`<section class="sc-hero sc-split hm-hero"><div class="sc-hero-main">
--<p class="sc-eyebrow">OpenVibe.Deals</p>
<h1>Today's deals,<span class="sc-accent"> with the time every price was seen</span></h1>
<p class="sc-hero-lede">Deals from DealNews' editors and from the OpenVibe community, by shop, category and end date. Every price says when it was seen, and an old one says it may be gone.</p>
<form class="hm-search" action="/search" method="get" role="search"><label class="sr" for="hm-q">Search deals</label><input id="hm-q" name="q" type="search" maxlength="100" placeholder="Search deals, like air fryer or lululemon"><button type="submit">Search</button></form>