From 42fef1d5d2f07414a4fe45103948f89b47e4193f Mon Sep 17 00:00:00 2001 From: wanghaoran Date: Sat, 28 Jun 2025 23:57:01 +0800 Subject: [PATCH 1/5] chore: support lucien deeplink in registry page --- pages/_includes/lucien-servers.js | 5 ++ pages/registry/index.html | 109 ++++++++++++++++++++++++++++++ 2 files changed, 114 insertions(+) create mode 100644 pages/_includes/lucien-servers.js diff --git a/pages/_includes/lucien-servers.js b/pages/_includes/lucien-servers.js new file mode 100644 index 00000000..9c81aab2 --- /dev/null +++ b/pages/_includes/lucien-servers.js @@ -0,0 +1,5 @@ +const lucienSpecifiedServers = [ + 'materials-project', + 'web-fetch' +] + \ No newline at end of file diff --git a/pages/registry/index.html b/pages/registry/index.html index e7b0ea2e..34d1930b 100644 --- a/pages/registry/index.html +++ b/pages/registry/index.html @@ -284,6 +284,7 @@ flex-direction: column; border: 1px solid var(--border); cursor: pointer; + position: relative; } .server-card:hover { @@ -392,6 +393,35 @@ margin-top: auto; margin-bottom: 0; } + + .install-button { + background-color: var(--button-bg); + color: white; + border: none; + border-radius: 4px; + padding: 6px 12px; + font-size: 0.8rem; + cursor: pointer; + display: flex; + align-items: center; + gap: 4px; + transition: background-color 0.2s; + text-decoration: none; + width: fit-content; + position: absolute; + bottom: 10px; + right: 1.25rem; + z-index: 10; + } + + .install-button:hover { + background-color: var(--button-hover); + } + + .install-button svg { + width: 14px; + height: 14px; + } .server-card .meta .author { color: var(--accent-highlight); @@ -1473,13 +1503,49 @@

Raw Manifest:

+ +