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): accent-lit paste-prompt — the page's one visually distinct CTA

xerj-org8d9981a3ae5a
diff --git a/landing/index.html b/landing/index.html
index 8d9ce3523..9fa4e4358 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=if1">
+<link rel="stylesheet" href="/style.css?v=if2">
</head>
<body>
@@ -53,7 +53,7 @@
<div class="hero-install">
<div class="hero-install-agent" style="margin-top:0;">
<span class="hero-install-label">PASTE THIS TO YOUR AI AGENT · THE WHOLE SETUP</span>
- <div class="hero-install-cmd">
+ <div class="hero-install-cmd agent-prompt">
<code>Install XERJ (docs: https://xerj.org/llms.txt), index this project's sources, and set up reference coding: clone and index the open-source repos closest to what we're building, and search how they solved a problem before writing code.</code>
<button type="button" class="hero-install-copy" data-copy="Install XERJ (docs: https://xerj.org/llms.txt), index this project's sources, and set up reference coding: clone and index the open-source repos closest to what we're building, and search how they solved a problem before writing code.">COPY</button>
</div>
diff --git a/landing/style.css b/landing/style.css
index 44f95392d..7a02bdcae 100644
--- a/landing/style.css
+++ b/landing/style.css
@@ -453,6 +453,31 @@ section.hero-split .lead { margin-bottom: 0; }
border-color: var(--z-accent);
}
.hero-install-agent { margin-top: var(--sp-4); }
+/* The agent paste-prompt is the page's primary CTA — boxed and accent-lit,
+ unlike every other command on the page. */
+.hero-install-cmd.agent-prompt {
+ border: 1px solid var(--z-accent);
+ background: color-mix(in srgb, var(--z-accent) 9%, transparent);
+ padding: var(--sp-3) var(--sp-4);
+}
+.hero-install-cmd.agent-prompt code {
+ color: var(--z-accent);
+ font-size: clamp(var(--fs-13), 1.15vw, 17px);
+ line-height: 1.55;
+}
+.hero-install-cmd.agent-prompt .hero-install-copy {
+ background: var(--z-accent);
+ border-color: var(--z-accent);
+ color: var(--z-bg);
+ font-weight: 700;
+ align-self: center;
+}
+.hero-install-cmd.agent-prompt .hero-install-copy:hover,
+.hero-install-cmd.agent-prompt .hero-install-copy:focus-visible {
+ background: var(--z-ink);
+ border-color: var(--z-ink);
+ color: var(--z-bg);
+}
.hero-install-agent-line {
font-family: var(--font-prose);
font-size: var(--fs-13);