Skip to content

armgit / xerj

Public Imported from GitHub
0

AI search engine and MCP server for bots and agents. One Rust binary indexes code, docs, logs, JSONL/CSV and PDFs for BM25 full-text, vector and hybrid search, code search without grep, agent memory and RAG. Elasticsearch-compatible API; Corpus Hub serves hundreds of reference memory corpora.

feat(landing): prompt owns the hero — double-layer animated gradient, attribution below card, video removed

xerj-org68cc8ac890ec
diff --git a/landing/index.html b/landing/index.html
index d6d234e6e..7cefdca84 100644
--- a/landing/index.html
+++ b/landing/index.html
@@ -13,7 +13,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Big+Shoulders+Display:wght@400;700;800;900&family=Inter:wght@400;500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap" rel="stylesheet">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><rect width='100' height='100' fill='%230b0b0d'/><text x='50' y='68' font-size='60' font-family='Big Shoulders Display,sans-serif' font-weight='900' fill='%23ffc400' text-anchor='middle'>X</text></svg>">
-<link rel="stylesheet" href="/style.css?v=if3">
+<link rel="stylesheet" href="/style.css?v=if4">
</head>
<body>
@@ -49,13 +49,6 @@
<h1 class="hero">ONE PROMPT.<br>WORKING PRODUCT.<br><span class="accent">~5× FEWER TOKENS.</span></h1>
- <p class="hero-sub">That's what users report shipping real products with
- Claude&nbsp;Code&nbsp;+&nbsp;XERJ
- (<a href="https://github.com/xerj-org/xerj/blob/main/user-feedback/11-reference-coding-field-reports/2026-08-11-token-savings-reports.md">field reports</a>).
- Paste the prompt below — your agent installs XERJ, indexes your project and
- the open-source repos closest to it, and looks implementations up instead of
- re-deriving them.</p>
-
<div class="prompt-stage">
<div class="prompt-card">
<span class="prompt-label">PASTE THIS TO YOUR AI AGENT — IT DOES THE REST</span>
@@ -64,6 +57,13 @@
</div>
</div>
+ <p class="hero-sub">That's what users report shipping real products with
+ Claude&nbsp;Code&nbsp;+&nbsp;XERJ
+ (<a href="https://github.com/xerj-org/xerj/blob/main/user-feedback/11-reference-coding-field-reports/2026-08-11-token-savings-reports.md">field reports</a>).
+ One paste — your agent installs XERJ, indexes your project and the
+ open-source repos closest to it, and looks implementations up instead of
+ re-deriving them.</p>
+
<p class="hero-proof">Measured on code the model hadn't seen:
<strong>2.7× fewer output tokens</strong> than grep-driven Claude Code on the
8-task cross-language benchmark · <strong>21/21 solved vs 1/21 from memory</strong>
@@ -78,15 +78,6 @@
<button type="button" class="hero-install-copy" data-copy="irm https://xerj.org/get.ps1 | iex">COPY</button>
</p>
- <div class="hero-demo hero-demo-center">
- <div class="hero-demo-stage" data-demo>
- <video preload="metadata" playsinline src="/xerj-biz-demo.mp4"></video>
- <button class="hero-demo-play" type="button" aria-label="Play the XERJ demo">
- <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M8 5v14l11-7z"/></svg>
- </button>
- <span class="hero-demo-label mono">XERJ · LIVE DEMO · NO CUTS</span>
- </div>
- </div>
</section>
<!-- 01 — REFERENCE CODING ------------------------------------->
diff --git a/landing/style.css b/landing/style.css
index 7bd11e112..edd12530f 100644
--- a/landing/style.css
+++ b/landing/style.css
@@ -2561,7 +2561,7 @@ svg.chart.is-interactive .ser:focus-visible {
line-height: 1.55;
color: var(--z-mute);
max-width: 720px;
- margin: 0 auto;
+ margin: var(--sp-4) auto 0;
}
.prompt-stage {
position: relative;
@@ -2576,15 +2576,15 @@ svg.chart.is-interactive .ser:focus-visible {
background: linear-gradient(115deg,
#ffc400, #ff8a2a, #ff3d81, #8a5cff, #21c6ff, #ffc400);
background-size: 320% 320%;
- filter: blur(44px);
- opacity: 0.45;
- animation: prompt-glow 9s ease-in-out infinite;
+ filter: blur(34px);
+ opacity: 0.7;
+ animation: prompt-glow 7s ease-in-out infinite;
/* -1: without it the ::before joins the root stacking context and
washes over .hero-sub/.hero-proof text at its blurred edges. */
z-index: -1;
pointer-events: none;
}
-html[data-theme='night'] .prompt-stage::before { opacity: 0.32; }
+html[data-theme='night'] .prompt-stage::before { opacity: 0.5; }
@keyframes prompt-glow {
0% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
@@ -2600,12 +2600,22 @@ html[data-theme='night'] .prompt-stage::before { opacity: 0.32; }
flex-direction: column;
gap: var(--sp-3);
text-align: left;
- background: var(--z-bg);
- border: 1px solid var(--z-line);
+ /* animated gradient border: paint the bg twice — flat card fill in the
+ padding-box, moving gradient in the border-box — sharing the halo's
+ keyframes so the two layers sweep together. */
+ border: 3px solid transparent;
+ background:
+ linear-gradient(var(--z-bg), var(--z-bg)) padding-box,
+ linear-gradient(115deg, #ffc400, #ff8a2a, #ff3d81, #8a5cff, #21c6ff, #ffc400) border-box;
+ background-size: 100% 100%, 320% 320%;
+ animation: prompt-glow 7s ease-in-out infinite;
border-radius: 14px;
padding: var(--sp-6) var(--sp-6) var(--sp-4);
box-shadow: 0 8px 40px rgba(0,0,0,0.10);
}
+@media (prefers-reduced-motion: reduce) {
+ .prompt-card { animation: none; }
+}
.prompt-label {
font-family: var(--font-data);
font-size: var(--fs-11);