@@ -204,81 +204,44 @@ export default function ToolCards() {
description="Empower your AI assistants. Expose your Tigris buckets and objects to LLMs via the Model Context Protocol for seamless context integration."
to="/quickstarts/mcp"
>
-
diff --git a/src/components/ToolCards/styles.css b/src/components/ToolCards/styles.css
index 4eacf277..6d33b89a 100644
--- a/src/components/ToolCards/styles.css
+++ b/src/components/ToolCards/styles.css
@@ -156,6 +156,116 @@
gap: 8px;
}
+/* CLI preview: top-align terminal with the SDK card's first terminal,
+ and stretch the terminal box to match the SDK's lower terminal bottom */
+.tool-card-preview:has(> .tool-card-cli-code) {
+ flex: 1;
+ margin-top: 0;
+ display: flex;
+ flex-direction: column;
+}
+
+.tool-card-cli-code {
+ flex: 1;
+}
+
+/* AI buttons: featured top button + 2x2 grid */
+.tool-card-preview:has(> .tool-card-ai-buttons) {
+ flex: 1;
+ margin-top: 0;
+ display: flex;
+ flex-direction: column;
+}
+
+.tool-card-ai-buttons {
+ display: flex;
+ flex-direction: column;
+ gap: 10px;
+ flex: 1;
+}
+
+.tool-card-ai-grid {
+ display: grid;
+ grid-template-columns: repeat(2, minmax(0, 1fr));
+ gap: 10px;
+ flex: 1;
+}
+
+/* Override the shared mcp-btn look for buttons inside the AI card */
+.tool-card-ai-buttons .tool-card-mcp-btn {
+ justify-content: center;
+ text-align: center;
+ font-size: 16px;
+ font-weight: 600;
+ letter-spacing: -0.01em;
+ padding: 0.75rem 1rem;
+ border-radius: 0.625rem;
+ background: rgba(255, 255, 255, 0.04);
+ border: 1px solid rgba(255, 255, 255, 0.14);
+ transition:
+ background-color 0.18s ease,
+ border-color 0.18s ease,
+ transform 0.18s ease;
+}
+
+.tool-card-ai-buttons .tool-card-mcp-btn:hover {
+ background: rgba(98, 254, 181, 0.1);
+ border-color: rgba(98, 254, 181, 0.35);
+ transform: translateY(-1px);
+}
+
+[data-theme="light"] .tool-card-ai-buttons .tool-card-mcp-btn {
+ background: rgba(0, 0, 0, 0.03);
+ border-color: var(--docs-color-border);
+}
+
+[data-theme="light"] .tool-card-ai-buttons .tool-card-mcp-btn:hover {
+ background: rgba(56, 172, 140, 0.08);
+ border-color: rgba(56, 172, 140, 0.4);
+}
+
+.tool-card-ai-btn-featured {
+ font-size: 18px;
+ font-weight: 700;
+ letter-spacing: -0.02em;
+ padding: 0.9rem 1rem !important;
+ background: linear-gradient(
+ 135deg,
+ rgba(98, 254, 181, 0.16) 0%,
+ rgba(98, 254, 181, 0.06) 100%
+ ) !important;
+ border-color: rgba(98, 254, 181, 0.32) !important;
+ color: #fff;
+}
+
+.tool-card-ai-buttons .tool-card-ai-btn-featured:hover {
+ background: linear-gradient(
+ 135deg,
+ rgba(98, 254, 181, 0.24) 0%,
+ rgba(98, 254, 181, 0.12) 100%
+ ) !important;
+ border-color: rgba(98, 254, 181, 0.5) !important;
+}
+
+[data-theme="light"] .tool-card-ai-btn-featured {
+ background: linear-gradient(
+ 135deg,
+ rgba(56, 172, 140, 0.14) 0%,
+ rgba(56, 172, 140, 0.05) 100%
+ ) !important;
+ border-color: rgba(56, 172, 140, 0.4) !important;
+ color: var(--docs-color-text);
+}
+
+[data-theme="light"] .tool-card-ai-buttons .tool-card-ai-btn-featured:hover {
+ background: linear-gradient(
+ 135deg,
+ rgba(56, 172, 140, 0.22) 0%,
+ rgba(56, 172, 140, 0.1) 100%
+ ) !important;
+ border-color: rgba(56, 172, 140, 0.55) !important;
+}
+
.tool-card-mcp-btn {
position: relative;
display: flex;