From e3bb7f1914da0a5ec1161f7c0534541f420c44be Mon Sep 17 00:00:00 2001 From: Michael Yuan Date: Tue, 17 Feb 2026 01:41:32 +0000 Subject: [PATCH 1/2] Update docs website with skill and agent toggle buttons Add two independent toggle button groups: "Choose a skill" (Request and receive payments / Make payments) and "For agent" (Claude Code / OpenClaw). Each combination shows the appropriate install instructions. Also adds a second GitHub link for x402-skill, updates description text, uses relative path for logo, and improves mobile responsiveness. Signed-off-by: Michael Yuan Co-Authored-By: Claude Opus 4.6 --- docs/index.html | 218 ++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 181 insertions(+), 37 deletions(-) diff --git a/docs/index.html b/docs/index.html index 058e3b2..e52b6f5 100644 --- a/docs/index.html +++ b/docs/index.html @@ -75,9 +75,21 @@ .hero-tabs { display: flex; gap: 12px; + margin-bottom: 16px; + } + + .hero-tabs:last-of-type { margin-bottom: 40px; } + .tab-label { + color: #a3a3a3; + font-size: 14px; + font-weight: 500; + white-space: nowrap; + align-self: center; + } + .tab { color: #525252; background: #171717; @@ -306,11 +318,12 @@ /* Responsive */ @media (max-width: 640px) { h1 { - font-size: 36px; + font-size: 28px; } .subtitle { - font-size: 18px; + font-size: 16px; + margin-bottom: 40px; } .header-content { @@ -318,6 +331,35 @@ gap: 16px; align-items: flex-start; } + + .hero { + padding: 40px 0; + } + + .hero-tabs { + flex-wrap: wrap; + } + + .tab { + padding: 8px 16px; + font-size: 13px; + } + + .tab-label { + font-size: 13px; + width: 100%; + margin-bottom: -4px; + } + + .code-block { + padding: 16px; + padding-right: 40px; + } + + .code-block code { + font-size: 12px; + word-break: break-all; + } } @@ -326,14 +368,22 @@ @@ -341,19 +391,26 @@

Request, accept, and make payments by your AI agent

-

An agentic skill to handle payments. Enables AI agents to sell services to humans and each other! Built with Rust

+

Agentic skills to handle payments. Enables AI agents to request payments and / or sell services to humans and each other! Built with Rust

+ + -
+ + +
+
+
Installation
+
+ + Read https://raw.githubusercontent.com/second-state/x402-skill/refs/heads/master/claude/skills/x402/install.md and follow the instructions to set up the skill to make payments to x402-gated web or agent services. +
+
+ +
+
+
1
+
+

Send this to your Claude Code

+
+
+ +
+
2
+
+

Tell them to pay for services

+
+
+ +
+
3
+
+

Profit!

+
+
+
+
+ + +
+
+
Installation
+
+ + Read https://raw.githubusercontent.com/second-state/x402-skill/refs/heads/master/openclaw/skills/x402/install.md and follow the instructions to set up the skill to make payments to x402-gated web or agent services. +
+
+ +
+
+
1
+
+

Send this to your OpenClaw bot

+
+
+ +
+
2
+
+

Tell them to pay for services

+
+
+ +
+
3
+
+

Profit!

+
+
+
+
@@ -441,22 +582,25 @@

Request, accept, and make payments by your AI agent