From 18e00e16f40022f5e1339b3eb13767a96a48717c Mon Sep 17 00:00:00 2001 From: CahidArda Date: Mon, 13 Jul 2026 15:01:44 +0300 Subject: [PATCH] fix: icons --- snippets/catalog.jsx | 2 +- snippets/landing.jsx | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/snippets/catalog.jsx b/snippets/catalog.jsx index 3bea8f7c..efeaaecd 100644 --- a/snippets/catalog.jsx +++ b/snippets/catalog.jsx @@ -98,7 +98,7 @@ export const Catalog = ({ product, type, featured, search, cols = 3 }) => { {entry.lang ? ( {entry.lang} ) : null} diff --git a/snippets/landing.jsx b/snippets/landing.jsx index 9fed4a5a..937eb922 100644 --- a/snippets/landing.jsx +++ b/snippets/landing.jsx @@ -33,7 +33,9 @@ export const ProductGrid = () => {
{products.map((p) => ( - + {/* absolute URL: Mintlify only rewrites literal src attrs to its CDN, and + the raw /img path 404s under the upstash.com/docs base path */} +
{p.name}
{p.desc}
@@ -50,7 +52,7 @@ export const AgentResources = () => { { name: "MCP Server", desc: "Manage Upstash from AI agents over MCP.", href: "/agent-resources/mcp", paths: ["M7 12l5 5l-1.5 1.5a3.536 3.536 0 1 1 -5 -5l1.5 -1.5", "M17 12l-5 -5l1.5 -1.5a3.536 3.536 0 1 1 5 5l-1.5 1.5", "M3 21l2.5 -2.5", "M18.5 5.5l2.5 -2.5", "M10 11l-2 2", "M13 14l-2 2"] }, { name: "Skills", desc: "Ready-made skills for coding agents.", href: "/agent-resources/skills", paths: ["M16 18a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m0 -12a2 2 0 0 1 2 2a2 2 0 0 1 2 -2a2 2 0 0 1 -2 -2a2 2 0 0 1 -2 2m-7 12a6 6 0 0 1 6 -6a6 6 0 0 1 -6 -6a6 6 0 0 1 -6 6a6 6 0 0 1 6 6"] }, { name: "CLI", desc: "Manage Upstash from your terminal.", href: "/agent-resources/cli", paths: ["M8 9l3 3l-3 3", "M13 15l3 0", "M3 6a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v12a2 2 0 0 1 -2 2h-14a2 2 0 0 1 -2 -2l0 -12"] }, - { name: "Context7", desc: "Up-to-date code docs for LLMs and agents.", href: "https://context7.com", icon: "/img/icons/context7.svg" }, + { name: "Context7", desc: "Up-to-date code docs for LLMs and agents.", href: "https://context7.com", icon: "https://upstash.com/docs/img/icons/context7.svg" }, ]; return (